summaryrefslogtreecommitdiff
path: root/cmds/appwidget
diff options
context:
space:
mode:
authorGeorge Burgess IV <gbiv@google.com>2017-11-04 15:58:58 -0700
committerGeorge Burgess IV <gbiv@google.com>2017-11-05 01:07:30 -0700
commit6c1688850eb7b3ada9cd9e191bf31c4153ea01fd (patch)
treec441779f39476523ca38538a249ef8791daa531e /cmds/appwidget
parent8f380ab29c8606bca861ba21eee52cedfbc99f46 (diff)
cmds: add #!s
Without this, exec()ing these fails. Found with `grep -L bin/sh $(grep -Rl Script)` Bug: None Test: exec()ed each of these scripts; I no longer get "exec format error" for any of them. Change-Id: I47db5007e5cc14ab91eb846b7bffecb925d37874
Diffstat (limited to 'cmds/appwidget')
-rwxr-xr-xcmds/appwidget/appwidget1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmds/appwidget/appwidget b/cmds/appwidget/appwidget
index 610500929519..26ab1730250f 100755
--- a/cmds/appwidget/appwidget
+++ b/cmds/appwidget/appwidget
@@ -1,3 +1,4 @@
+#!/system/bin/sh
# Script to start "appwidget" on the device, which has a very rudimentary shell.
base=/system
export CLASSPATH=$base/framework/appwidget.jar