diff options
Diffstat (limited to 'scripts/gen_build_files.sh')
-rwxr-xr-x | scripts/gen_build_files.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/gen_build_files.sh b/scripts/gen_build_files.sh index 64e4bffa9..362632df3 100755 --- a/scripts/gen_build_files.sh +++ b/scripts/gen_build_files.sh | |||
@@ -23,9 +23,9 @@ custom_scripts() | |||
23 | custom_loc="$1" | 23 | custom_loc="$1" |
24 | if [ -d "$custom_loc" ] | 24 | if [ -d "$custom_loc" ] |
25 | then | 25 | then |
26 | for i in $(cd "$custom_loc"; ls *) | 26 | for i in $(cd "$custom_loc"; ls * 2>/dev/null) |
27 | do | 27 | do |
28 | printf "APPLET_SCRIPTED(%s, scripted, BB_DIR_USR_BIN, BB_SUID_DROP, dummy)\n" $i; | 28 | printf "APPLET_SCRIPTED(%s, scripted, BB_DIR_USR_BIN, BB_SUID_DROP, scripted)\n" $i; |
29 | done | 29 | done |
30 | fi | 30 | fi |
31 | } | 31 | } |