Skip to content

Commit

Permalink
修复升级脚本中一处不符合demo目录树的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
terrencehan committed Dec 16, 2014
1 parent 661faf1 commit 4c42ad7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/upgrade.sh
Expand Up @@ -37,7 +37,6 @@ fi
RUNNER_SCRIPT_DIR=$(cd ${0%/*} && pwd)
ROOT=$(echo $RUNNER_SCRIPT_DIR | sed -e "s/\(.*${RELEASE_NAME}\).*$/\1/")
REL_ROOT=$ROOT/rel
SRC_DIR=$ROOT/apps/$RELEASE_NAME/src
RELEASES_DIR=$REL_ROOT/$RELEASE_NAME/releases
RELEASE_BIN_DIR=$REL_ROOT/$RELEASE_NAME/bin
REBAR=$ROOT/rebar
Expand All @@ -55,7 +54,7 @@ fi

REL_CONFIG_FILE=$REL_ROOT/reltool.config

for FILE_PATH in `find ${ROOT}/apps -name '*.app.src'` $REL_CONFIG_FILE
for FILE_PATH in `find ${ROOT} -name '*.app.src'` $REL_CONFIG_FILE
do
change_version $FILE_PATH
done
Expand Down

0 comments on commit 4c42ad7

Please sign in to comment.