summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-01-10 09:00:37 +1100
committerStefan Metzmacher <metze@samba.org>2013-01-10 12:07:08 +0100
commit5a1deec38a7ff7287b31a47ae61769c66e10de17 (patch)
treeb7ac42c5ebfd11d3a8a857fb788872005d4488c5
parent8e84c33a6094288ec2c8964588c679a71742e855 (diff)
downloadsamba-5a1deec38a7ff7287b31a47ae61769c66e10de17.tar.gz
samba-5a1deec38a7ff7287b31a47ae61769c66e10de17.tar.bz2
samba-5a1deec38a7ff7287b31a47ae61769c66e10de17.zip
build: Make install_with_python.sh more portable
Reviewed-by: Stefan Metzmacher <metze@samba.org>
-rwxr-xr-xinstall_with_python.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/install_with_python.sh b/install_with_python.sh
index 5d3beaa962..47ff780180 100755
--- a/install_with_python.sh
+++ b/install_with_python.sh
@@ -31,7 +31,7 @@ do_install_python() {
rm -rf python_install || exit 1
}
-if ! test -d $PREFIX/python; then
+if [ ! -d $PREFIX/python ]; then
# needs to be installed
do_install_python
fi