summaryrefslogtreecommitdiff
path: root/source4/script
diff options
context:
space:
mode:
Diffstat (limited to 'source4/script')
-rwxr-xr-xsource4/script/installmisc.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/source4/script/installmisc.sh b/source4/script/installmisc.sh
index 6a53b988f5..5538681c52 100755
--- a/source4/script/installmisc.sh
+++ b/source4/script/installmisc.sh
@@ -83,12 +83,13 @@ cp setup/provision.smb.conf.standalone $SETUPDIR || exit 1
echo "Installing external python libraries"
mkdir -p $DESTDIR$PYTHONDIR || exit 1
-for p in $($PYTHON scripting/python/samba_external/missing.py);
+MISSING="$($PYTHON scripting/python/samba_external/missing.py)"
+for p in $MISSING
do
package=`basename $p`
echo "Installing missing python package $package"
- mkdir -p $DESTDIR$PYTHONDIR/$package
- cp -r ../lib/$p/* $DESTDIR$PYTHONDIR/$package/ || exit 1
+ mkdir -p $DESTDIR$PYTHONDIR/samba/external/$package
+ cp -r ../lib/$p/* $DESTDIR$PYTHONDIR/samba/external/$package/ || exit 1
done
echo "Installing stuff in $PRIVATEDIR"