grml-live: drop useless of of ls(1).
authorMichael Prokop <mika@grml.org>
Thu, 2 Dec 2010 13:39:27 +0000 (14:39 +0100)
committerMichael Prokop <mika@grml.org>
Thu, 2 Dec 2010 13:39:27 +0000 (14:39 +0100)
grml-live

index 8a37c17..4dfbef9 100755 (executable)
--- a/grml-live
+++ b/grml-live
@@ -779,7 +779,7 @@ if [ "$ARCH" = i386 ] || [ "$ARCH" = amd64 ] ; then
 
       # generate addon list
       rm "${BUILD_OUTPUT}/${ADDONS_LIST_FILE}"
-      for name in $(ls "${BUILD_OUTPUT}"/boot/isolinux/addon_*.cfg) ; do
+      for name in "${BUILD_OUTPUT}"/boot/isolinux/addon_*.cfg ; do
         include_name=$(basename "$name")
         echo "include $include_name"  >> "${BUILD_OUTPUT}/${ADDONS_LIST_FILE}"
       done