summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-01-24 20:52:42 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2017-01-24 20:52:42 +0100
commitbca4ea8b68403e6f751341b82c65937f14590679 (patch)
tree21c637e653ceaa259599cecf8fb57a9de8ad6172 /examples
parent89193f985bf50af702e0f98a3c86573277c03287 (diff)
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 d769590d0..8d421c6ab 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'`