summaryrefslogtreecommitdiff
path: root/install_with_python.sh
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 /install_with_python.sh
parent8e84c33a6094288ec2c8964588c679a71742e855 (diff)
downloadsamba-5a1deec38a7ff7287b31a47ae61769c66e10de17.tar.gz
build: Make install_with_python.sh more portable
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'install_with_python.sh')
-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 5d3beaa9626..47ff7801800 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