summaryrefslogtreecommitdiff
path: root/build-for-llvm-top.sh
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-07-16 22:54:42 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-07-16 22:54:42 +0000
commit3b52308476c6a31c734fd7d66791d556ea42cd13 (patch)
tree5f12858981a8936d477cf3f2ed954486601aeb12 /build-for-llvm-top.sh
parent8c88b6de6270de28169ffbdef25894d21e22b235 (diff)
No, we're not looking for a directory named /config.status.
Sigh .. fix copy & paste error. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39939 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'build-for-llvm-top.sh')
-rw-r--r--build-for-llvm-top.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/build-for-llvm-top.sh b/build-for-llvm-top.sh
index 3e4a4807cfc..0f87faef789 100644
--- a/build-for-llvm-top.sh
+++ b/build-for-llvm-top.sh
@@ -20,8 +20,7 @@ done
# See if we have previously been configured by sensing the presense
# of the config.status scripts
-config_status="$build_dir/config.status"
-if test ! -d "$config_status" ; then
+if test ! -x "config.status" ; then
# We must configure so build a list of configure options
config_options="--prefix=$PREFIX --with-llvmgccdir=$PREFIX"
config_options="$config_options $config_opts"