fix externals
[oota-llvm.git] / utils / NewNightlyTest.pl
index 97a5a8b63028bc29b1ab6fea585e3c160dbf8d14..491083c9a73f85c1697653f9647c3b41e19f2ab7 100755 (executable)
@@ -138,8 +138,8 @@ while (scalar(@ARGV) and ($_ = $ARGV[0], /^[-+]/)) {
     if (/^-f2c$/)            {
        $CONFIGUREARGS .= " --with-f2c=$ARGV[0]"; shift; next;
     }
-    if (/^-with-externals/)  {
-       $CONFIGUREARGS .= "--with-externals=$ARGV[0]"; shift; next;
+    if (/^-with-externals$/)  {
+       $CONFIGUREARGS .= " --with-externals=$ARGV[0]"; shift; next;
     }
     if (/^-nickname$/)         { $nickname = "$ARGV[0]"; shift; next; }
     if (/^-gccpath/)         { $CONFIGUREARGS .=