summaryrefslogtreecommitdiffstats
path: root/build_tools
diff options
context:
space:
mode:
Diffstat (limited to 'build_tools')
-rwxr-xr-xbuild_tools/bin/execheck.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/build_tools/bin/execheck.sh b/build_tools/bin/execheck.sh
index 3c0fe30..4764047 100755
--- a/build_tools/bin/execheck.sh
+++ b/build_tools/bin/execheck.sh
@@ -2,9 +2,9 @@
if [ -z "$*" ]
then
- files="/lib/* /usr/lib/* /usr/local/lib/* \
- /bin/* /usr/bin/* /usr/local/bin/* \
- /sbin/* /usr/sbin/*"
+ files="$(find /lib) $(find /usr/lib) $(find /usr/local/lib) \
+ $(find /bin) $(find /usr/bin) $(find /usr/local/bin) \
+ $(find /sbin) $(find /usr/sbin)"
else
files="$*"
fi