Skip to content

Commit 7949a9b

Browse files
committed
runalltests.sh: remove dirs only if they exist
1 parent 95452c0 commit 7949a9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/runalltests.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
workdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
44
#Clean the previous build
55
cd $workdir
6-
rm -r cpp-ethereum
7-
rm -r tests
6+
rm -r cpp-ethereum 2>/dev/null || true
7+
rm -r tests 2>/dev/null || true
88
exec &> $workdir/buildlog.txt
99
ETHEREUM_TEST_PATH=$workdir/tests
1010

0 commit comments

Comments
 (0)