Signed-off-by: Denis 'GNUtoo' Carikli <[email protected]>
---
 networking/modem/setup.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/networking/modem/setup.sh b/networking/modem/setup.sh
index 693f4aa..0f4ce0b 100755
--- a/networking/modem/setup.sh
+++ b/networking/modem/setup.sh
@@ -1,4 +1,5 @@
 #!/bin/sh
+topdir=$(dirname $0)
 adb root
 sleep 3
-adb push ./device-files/modem.sh "/system/bin/"
+adb push "${topdir}/device-files/modem.sh" /system/bin/
-- 
2.27.0

_______________________________________________
Replicant mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/replicant

Reply via email to