summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-03-31 03:47:10 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-03-31 03:47:10 +0200
commit0e77bea165d6db9ca8a138e78f5051234b069789 (patch)
treec73c71994bc0e0910ae601f30752c469043b696a /source4
parent62ed8a68cd30037f73536c32c7293bc9a3ab88d4 (diff)
downloadsamba-0e77bea165d6db9ca8a138e78f5051234b069789.tar.gz
samba-0e77bea165d6db9ca8a138e78f5051234b069789.tar.bz2
samba-0e77bea165d6db9ca8a138e78f5051234b069789.zip
installmisc: Support DESTDIR for Python directories.
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/script/installmisc.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/script/installmisc.sh b/source4/script/installmisc.sh
index eba5996e13..ddc25d3edc 100755
--- a/source4/script/installmisc.sh
+++ b/source4/script/installmisc.sh
@@ -82,12 +82,12 @@ cp setup/provision.smb.conf.member $SETUPDIR || exit 1
cp setup/provision.smb.conf.standalone $SETUPDIR || exit 1
echo "Installing external python libraries"
-mkdir -p $PYTHONDIR/samba_external || exit 1
+mkdir -p $DESTDIR$PYTHONDIR/samba_external || exit 1
for p in $($PYTHON scripting/python/samba_external/missing.py);
do
echo "Installing missing python library $p"
- mkdir -p $PYTHONDIR/samba_external/$p
- cp -r ../lib/$p/* $PYTHONDIR/samba_external/$p/ || exit 1
+ mkdir -p $DESTDIR$PYTHONDIR/samba_external/$p
+ cp -r ../lib/$p/* $DESTDIR$PYTHONDIR/samba_external/$p/ || exit 1
done
echo "Installing stuff in $PRIVATEDIR"