One more fix for tools/sync-projects.sh

Syncing fails since mkdir for several directories fails, add -p
parameter so that it succeeds.

Change-Id: I2b75e8341e67b142f270b2a525102bb202294155
This commit is contained in:
Andreas Jaeger 2015-07-27 16:06:26 +02:00
parent c1633a1e49
commit 1c0e5f1027

View File

@ -25,7 +25,7 @@ function copy_rst_trans {
mkdir -p $PROJECT_DIR/$target/source/locale
for lang in ja ; do
TARGET=$PROJECT_DIR/$target/source/locale/$lang/LC_MESSAGES
mkdir $TARGET
mkdir -p $TARGET
cp doc/common-rst/source/locale/$lang/LC_MESSAGES/common-rst.po \
$TARGET
done