Skip to content
Permalink
Browse files

fixed bug running these scripts on darwin11.0 machines

  • Loading branch information
Jesse Eichar
Jesse Eichar committed Jun 21, 2012
1 parent d62437b commit 820c8366406ed632c671baa110e83f825efb1330
Showing with 2 additions and 2 deletions.
  1. +1 −1 updateBranchVersions.sh
  2. +1 −1 updateReleaseVersions.sh
@@ -47,7 +47,7 @@ if [[ $2 != [0-9].[0-9].[0-9] ]]; then
fi

# Note: In MacOS (darwin10.0) sed requires -i .bak as option to work properly
if [[ $OSTYPE == 'darwin10.0' ]]; then
if grep -q "darwin" <<< $OSTYPE ; then
sedopt='-i .bak'
else
sedopt='-i'
@@ -37,7 +37,7 @@ if [[ $1 != [0-9].[0-9].[0-9] ]]; then
fi

# Note: In MacOS (darwin10.0) sed requires -i .bak as option to work properly
if [[ $OSTYPE == 'darwin10.0' ]]; then
if grep -q "darwin" <<< $OSTYPE ; then
sedopt='-i .bak'
else
sedopt='-i'

0 comments on commit 820c836

Please sign in to comment.
You can’t perform that action at this time.