summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDenys Vlasenko2017-01-24 20:52:42 +0100
committerDenys Vlasenko2017-01-24 20:52:42 +0100
commitbca4ea8b68403e6f751341b82c65937f14590679 (patch)
tree21c637e653ceaa259599cecf8fb57a9de8ad6172 /examples
parent89193f985bf50af702e0f98a3c86573277c03287 (diff)
downloadbusybox-bca4ea8b68403e6f751341b82c65937f14590679.zip
busybox-bca4ea8b68403e6f751341b82c65937f14590679.tar.gz
remove "local" bashism from a few scripts
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/depmod2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/depmod b/examples/depmod
index d769590..8d421c6 100755
--- a/examples/depmod
+++ b/examples/depmod
@@ -7,7 +7,7 @@
# Licensed under GPLv2, see file LICENSE in this source tree.
#
-local BASE="${1:-/usr/lib/modules}"
+BASE="${1:-/usr/lib/modules}"
find "$BASE" -name '*.ko.gz' | while read I ; do
N=`basename "$I" '.ko.gz'`