소스 검색

contrib: update tarball script to delete previous build directory

Nathalie Furmento 7 년 전
부모
커밋
0fc18e3b38
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      contrib/ci.inria.fr/job-0-tarball.sh

+ 2 - 1
contrib/ci.inria.fr/job-0-tarball.sh

@@ -4,7 +4,8 @@ export PKG_CONFIG_PATH=/home/ci/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
 export LD_LIBRARY_PATH=/home/ci/usr/local/lib:$LD_LIBRARY_PATH
 
 ./autogen.sh
-rm -rf build && mkdir build && cd build
+if test -d build ; then chmod -R 777 build && rm -rf build ; fi
+mkdir build && cd build
 ../configure
 make V=1
 make dist