Jenkins: Bug in deleting CXX directory on rebuild
authorKevin Klues <klueska@cs.berkeley.edu>
Tue, 6 May 2014 23:31:05 +0000 (16:31 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Wed, 7 May 2014 00:15:58 +0000 (17:15 -0700)
tools/jenkins/launcher.sh

index 5a30753..8697c6f 100755 (executable)
@@ -135,8 +135,7 @@ X86_64_INSTDIR        := $WORKSPACE/install/${ARCH_SUBDIRS["X86_64"]}/
 
        # Create / clean directory where the cross compiler will be installed.
        CROSS_COMP_DIR=$WORKSPACE/install/${ARCH_SUBDIRS["$COMPILATION_ARCH"]}/
-       mkdir -p CROSS_COMP_DIR
-       rm -rf CROSS_COMP_DIR*
+       rm -rf $CROSS_COMP_DIR
 
        # Compile cross compiler.
        case "$COMPILATION_ARCH" in