From 3c78586438c60828322495863df2c73593e8c534 Mon Sep 17 00:00:00 2001 From: Itay Cohen Date: Thu, 29 Nov 2018 11:16:52 +0200 Subject: [PATCH] Add -p to mkdir (#971) --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index b00d11cd..b3f0d69b 100755 --- a/build.sh +++ b/build.sh @@ -55,14 +55,14 @@ else fi # Build -mkdir "$BUILD" +mkdir -p "$BUILD" cd "$BUILD" || exit 1 "$qmakepath" ../src/Cutter.pro $QMAKE_CONF make -j4 ERR=$((ERR+$?)) # Move translations -mkdir "`pwd`/translations" +mkdir -p "`pwd`/translations" find "$ROOT_DIR/src/translations" -maxdepth 1 -type f | grep "cutter_..\.qm" | while read SRC_FILE; do mv $SRC_FILE "`pwd`/translations" done