From 90dc8c5235214ee9ab22a55dedcdbed59bd15486 Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Sat, 24 Sep 2016 16:36:42 +0300 Subject: [PATCH] [project] minor fixes in update scripts --- build/update.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build/update.sh b/build/update.sh index 0c00c97d44ed..ba75073ff0c2 100755 --- a/build/update.sh +++ b/build/update.sh @@ -36,7 +36,7 @@ echo "Updating $WORK_IDEA_HOME from compiled classes in $DEV_IDEA_HOME" ANT_HOME="$DEV_IDEA_HOME/lib/ant" ANT_CLASSPATH="$DEV_IDEA_HOME/build/lib/gant/lib/jps.jar" "$JAVA_BIN" -Xms64m -Xmx512m -Dant.home="$ANT_HOME" -classpath "$ANT_HOME/lib/ant-launcher.jar" org.apache.tools.ant.launch.Launcher \ - -lib "$ANT_CLASSPATH" -f "$DEV_IDEA_HOME/build/update.xml" -Dwork.idea.home="$WORK_IDEA_HOME" $TARGET + -lib "$ANT_CLASSPATH" -f "$DEV_IDEA_HOME/build/update.xml" -Dwork.idea.home="$WORK_IDEA_HOME" ${TARGET} if [ "$?" != "0" ]; then echo "Update failed; work IDEA build not modified." @@ -51,8 +51,8 @@ cp -R "$DEV_IDEA_HOME/out/deploy/"* "$WORK_IDEA_HOME" OS_TYPE=`uname -s` if [ "$OS_TYPE" = "Linux" ]; then - cp -a $DEV_IDEA_HOME/bin/linux/*.so $WORK_IDEA_HOME/bin - cp -a $DEV_IDEA_HOME/bin/linux/fsnotifier* $WORK_IDEA_HOME/bin + cp -a "$DEV_IDEA_HOME/bin/linux/"*.so "$WORK_IDEA_HOME/bin" + cp -a "$DEV_IDEA_HOME/bin/linux/"fsnotifier* "$WORK_IDEA_HOME/bin" elif [ "$OS_TYPE" = "Darwin" ]; then cp -a "$DEV_IDEA_HOME/bin/mac/"*.jnilib "$WORK_IDEA_HOME/bin" cp -a "$DEV_IDEA_HOME/bin/mac/fsnotifier" "$WORK_IDEA_HOME/bin"