diff options
author | Elliott Hughes <enh@google.com> | 2019-05-09 22:01:14 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2019-05-09 22:01:14 -0700 |
commit | 5a03b69fc8723a2e4dcfb5ffe420cad9c8bff85c (patch) | |
tree | a254280735fae2424ffd70694724aaa9dc6484db /cmds/svc | |
parent | 8e63c9cc01ffaa1c0929c45569dabbd6b788f0da (diff) |
Clean up some shell script copy & paste.
Remove apparently meaningless comment that's been copy & pasted all over.
Remove trailing whitespace.
Consistently use "$@".
Inline single-use constant.
Test: treehugger
Change-Id: Ie3b3e285cd35ecff9e6fdb7144fe4bbd04e42452
Diffstat (limited to 'cmds/svc')
-rwxr-xr-x | cmds/svc/svc | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/cmds/svc/svc b/cmds/svc/svc index 07b50fe6c7b5..c122e981e4c7 100755 --- a/cmds/svc/svc +++ b/cmds/svc/svc @@ -1,8 +1,3 @@ #!/system/bin/sh -# Script to start "am" on the device, which has a very rudimentary -# shell. -# -base=/system -export CLASSPATH=$base/framework/svc.jar -exec app_process $base/bin com.android.commands.svc.Svc $* - +export CLASSPATH=/system/framework/svc.jar +exec app_process /system/bin com.android.commands.svc.Svc "$@" |