Browse files

bug fix

  • Loading branch information...
1 parent d1d3e3b commit a9dec74cc30515ced28d86db0165701f172051d5 @mmasaki mmasaki committed Oct 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 git_switch_head.sh
View
2 git_switch_head.sh
@@ -10,4 +10,4 @@ if [ $# -lt 1 ]; then
echo 'missing operand. specify a git refspec'
exit 1
fi
-find . -name "rebar.config" -print0 |xargs -0 grep leo-project|awk -F ":" '{print $1}'|uniq|xargs sed -i -s "s/{git,\([^,]\+leo-project[^,]\+\),\\s\+[\"{]\([^\"]\+\)[\"}]/{git,\1, $branch_or_tag/g"
+find . -name "rebar.config" -print0 |xargs -0 grep leo-project|awk -F ":" '{print $1}'|uniq|xargs sed -i -s "s/{git,\([^,]\+leo-project[^,]\+\),\\s\+[\"{]\([^\"]\+\)[\"}]}}/{git,\1, $branch_or_tag}}/g"

0 comments on commit a9dec74

Please sign in to comment.