OSDN Git Service

Remove double paren use in system() function so that the command line can
authorReid Spencer <rspencer@reidspencer.com>
Sun, 5 Sep 2004 20:57:22 +0000 (20:57 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sun, 5 Sep 2004 20:57:22 +0000 (20:57 +0000)
be correctly interpreted by non-bash shells.

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

utils/NightlyTest.pl

index 5be93b3..8137d3e 100755 (executable)
@@ -340,8 +340,8 @@ $CVSOPT = "";
 $CVSOPT = "-z3" if $CVSRootDir =~ /^:ext:/; # Use compression if going over ssh.
 if (!$NOCHECKOUT) {
   if ( $VERBOSE ) { print "CHECKOUT STAGE\n"; }
-  system "(time -p ($NICE cvs $CVSOPT -d $CVSRootDir co -APR llvm; cd llvm/projects ; " .
-     "$NICE cvs $CVSOPT -d $CVSRootDir co -APR llvm-test ) > $CVSLog 2>&1";
+  system "( time -p $NICE cvs $CVSOPT -d $CVSRootDir co -APR llvm; cd llvm/projects ; " .
+     "$NICE cvs $CVSOPT -d $CVSRootDir co -APR llvm-test ) > $CVSLog 2>&1";
   ChangeDir( $BuildDir , "CVS Checkout directory") ;
 }