No, we're not looking for a directory named /config.status.
authorReid Spencer <rspencer@reidspencer.com>
Mon, 16 Jul 2007 22:54:42 +0000 (22:54 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Mon, 16 Jul 2007 22:54:42 +0000 (22:54 +0000)
Sigh .. fix copy & paste error.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39939 91177308-0d34-0410-b5e6-96231b3b80d8

build-for-llvm-top.sh

index 3e4a4807cfc2ce415feb1696f9083d304c44df35..0f87faef78965dff6607151cf0442300e5530ebb 100644 (file)
@@ -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"