mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-19 02:48:49 +00:00
Add -p to mkdir (#971)
This commit is contained in:
parent
48c34699af
commit
3c78586438
4
build.sh
4
build.sh
@ -55,14 +55,14 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Build
|
# Build
|
||||||
mkdir "$BUILD"
|
mkdir -p "$BUILD"
|
||||||
cd "$BUILD" || exit 1
|
cd "$BUILD" || exit 1
|
||||||
"$qmakepath" ../src/Cutter.pro $QMAKE_CONF
|
"$qmakepath" ../src/Cutter.pro $QMAKE_CONF
|
||||||
make -j4
|
make -j4
|
||||||
ERR=$((ERR+$?))
|
ERR=$((ERR+$?))
|
||||||
|
|
||||||
# Move translations
|
# 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
|
find "$ROOT_DIR/src/translations" -maxdepth 1 -type f | grep "cutter_..\.qm" | while read SRC_FILE; do
|
||||||
mv $SRC_FILE "`pwd`/translations"
|
mv $SRC_FILE "`pwd`/translations"
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user