From 72d6f8650b3d06ae67332cdfb6f933ec54c50978 Mon Sep 17 00:00:00 2001 From: James Chen Date: Fri, 1 Nov 2013 11:50:43 +0800 Subject: [PATCH] Regular expression fix for generate-jsbindings.sh. --- tools/travis-scripts/generate-jsbindings.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/travis-scripts/generate-jsbindings.sh b/tools/travis-scripts/generate-jsbindings.sh index dcb2b9bd0f..cd7f897e20 100755 --- a/tools/travis-scripts/generate-jsbindings.sh +++ b/tools/travis-scripts/generate-jsbindings.sh @@ -78,7 +78,7 @@ git config user.name ${GH_USER} git remote add upstream https://${GH_USER}:${GH_PASSWORD}@github.com/cocos2d-x/bindings-auto-generated.git 2> /dev/null > /dev/null echo "Delete all directories and files except '.git' and 'README.md'." -ls -a | grep -E -v ^\[.\]\{1,2\}$ | grep -E -v ^\.git$ | grep -E -v ^README.md$ | xargs -I{} rm -rf {} +ls -a | grep -E -v ^\[.\]\{1,2\}$ | grep -E -v ^\.git$ | grep -E -v ^README\.md$ | xargs -I{} rm -rf {} echo "Show files in ${GENERATED_WORKTREE} folder." ls -a popd