Commit 96c4b7e4 authored by David Goulet's avatar David Goulet 🔆
Browse files

Only remove build/ if exists

Signed-off-by: David Goulet's avatarDavid Goulet <>
parent 973bc767
......@@ -78,7 +78,9 @@ SIGS_DIRPATH="$(pwd)/sigs"
# Cleanup previous build directory since we need to start from scratch. Prompt
# before removal just in case since rm -rf are scary.
runcmd rm -rf -I "$BUILD"
if [ -d "$BUILD" ]; then
runcmd rm -rf -I "$BUILD"
# Create the directory hierarchy we need.
runcmd mkdir -p "$BUILD"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment