summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/finish-swig-Python-LLDB.sh
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2012-05-24 18:14:18 +0000
committerJohnny Chen <johnny.chen@apple.com>2012-05-24 18:14:18 +0000
commita0d4b5da35d32d6523ffc403d4ffaea2ba3320df (patch)
tree9804dc3c86eb0f308b1e8fa6acdff5b3bd7e53ce /lldb/scripts/Python/finish-swig-Python-LLDB.sh
parentbb2be0dca306cb1e13958575055fda81828ae0b4 (diff)
downloadbcm5719-llvm-a0d4b5da35d32d6523ffc403d4ffaea2ba3320df.tar.gz
bcm5719-llvm-a0d4b5da35d32d6523ffc403d4ffaea2ba3320df.zip
Fix missing Resources/Python directory for macosx build.
llvm-svn: 157405
Diffstat (limited to 'lldb/scripts/Python/finish-swig-Python-LLDB.sh')
-rwxr-xr-xlldb/scripts/Python/finish-swig-Python-LLDB.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/scripts/Python/finish-swig-Python-LLDB.sh b/lldb/scripts/Python/finish-swig-Python-LLDB.sh
index 9a9ef052602..e7347fabd46 100755
--- a/lldb/scripts/Python/finish-swig-Python-LLDB.sh
+++ b/lldb/scripts/Python/finish-swig-Python-LLDB.sh
@@ -33,9 +33,9 @@ CONFIG_BUILD_DIR=$3
PYTHON_INSTALL_DIR=$4
debug_flag=$5
-# Make sure SDKROOT is not set, since if it is this is an iOS build where python
+# Make sure LLDB_DISABLE_PYTHON is not set, since if it is this is an iOS build where python
# is disabled
-if [ "x$SDKROOT" = "x" ] ; then
+if [ ! $LLDB_DISABLE_PYTHON = "1" ] ; then
if [ -n "$debug_flag" -a "$debug_flag" == "-debug" ]
then
OpenPOWER on IntegriCloud