aboutsummaryrefslogtreecommitdiff
path: root/scripts/mkinstall2
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mkinstall2')
-rwxr-xr-xscripts/mkinstall22
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mkinstall2 b/scripts/mkinstall2
index ee98736..e23e446 100755
--- a/scripts/mkinstall2
+++ b/scripts/mkinstall2
@@ -1136,7 +1136,7 @@ while [ -n "$action" ] ; do
#fi
menu_pkg_dir
list=( ); idx=0
- for pack in $(cd $PKGDIR && echo *.{prf,tgz}); do
+ for pack in $(shopt -s nullglob ; cd $PKGDIR && echo *.{prf,tgz}); do
list[idx++]=$pack
list[idx++]=""
if [ -z "${pack##[0-9][0-9][0-9]_*}" ]; then