Skip to content

Commit

Permalink
fixed bug running these scripts on darwin11.0 machines
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse Eichar committed Jun 21, 2012
1 parent 4e30372 commit 220a15a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion updateBranchVersions.sh
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion updateReleaseVersions.sh
Expand Up @@ -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'
Expand Down

0 comments on commit 220a15a

Please sign in to comment.