1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

installmisc: Support DESTDIR for Python directories.

This commit is contained in:
Jelmer Vernooij 2010-03-31 03:47:10 +02:00
parent 62ed8a68cd
commit 0e77bea165

View File

@ -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"