summaryrefslogtreecommitdiff
path: root/cmds/sm
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-05-09 22:01:14 -0700
committerElliott Hughes <enh@google.com>2019-05-09 22:01:14 -0700
commit5a03b69fc8723a2e4dcfb5ffe420cad9c8bff85c (patch)
treea254280735fae2424ffd70694724aaa9dc6484db /cmds/sm
parent8e63c9cc01ffaa1c0929c45569dabbd6b788f0da (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/sm')
-rwxr-xr-xcmds/sm/sm8
1 files changed, 2 insertions, 6 deletions
diff --git a/cmds/sm/sm b/cmds/sm/sm
index 4bc859e0c374..30eae00a990d 100755
--- a/cmds/sm/sm
+++ b/cmds/sm/sm
@@ -1,7 +1,3 @@
#!/system/bin/sh
-# Script to start "sm" on the device, which has a very rudimentary
-# shell.
-#
-base=/system
-export CLASSPATH=$base/framework/sm.jar
-exec app_process $base/bin com.android.commands.sm.Sm "$@"
+export CLASSPATH=/system/framework/sm.jar
+exec app_process /system/bin com.android.commands.sm.Sm "$@"