We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1077e41 commit e81fcceCopy full SHA for e81fcce
udroid/src/udroid.sh
@@ -448,8 +448,8 @@ login() {
448
if [ -f "$script" ]; then
449
LOG "login() => run-script defined as '$run_script' at '$script'"
450
chmod +x "$script"
451
- cp "$script" "${root_fs_path}/tmp/"
452
- run_script="/tmp/$(basename "$run_script")"
+ cp "$script" "${root_fs_path}/"
+ run_script="/$(basename "$run_script")"
453
set -- "/bin/su" "-l" "$login_user" "-c" "$run_script"
454
else
455
ELOG "ERROR: run-script '$run_script' not found!"
0 commit comments