summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/script/installswat.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/script/installswat.sh b/source4/script/installswat.sh
index 403abc310d..ce0e962bab 100644
--- a/source4/script/installswat.sh
+++ b/source4/script/installswat.sh
@@ -11,7 +11,7 @@ installdir() {
dir=$1
ext=$2
mkdir -p $SWATDIR/$dir || exit 1
- for f in $dir/*.$ext; do
+ for f in `ls $dir/*.$ext`; do
echo Installing $f
cp $f $SWATDIR/$dir/ || exit 1
chmod 0644 $SWATDIR/$f || exit 1