Add -p to mkdir (#971)

This commit is contained in:
Itay Cohen 2018-11-29 11:16:52 +02:00 committed by xarkes
parent 48c34699af
commit 3c78586438

View File

@ -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