Skip to content

Commit

Permalink
make sed compatible with gnu sed
Browse files Browse the repository at this point in the history
  • Loading branch information
yukuku committed Apr 24, 2019
1 parent 4ba6bb6 commit 672b5d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ybuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ get_attr() {
write_last_commit_hash() {
FILE="$1"
echo 'Setting last commit hash: '$LAST_COMMIT_HASH' to '$FILE
sed -i '' "s/0000000/$LAST_COMMIT_HASH/g" "$FILE"
sed --in-place='' "s/0000000/$LAST_COMMIT_HASH/g" "$FILE"
}

overlay() {
Expand Down

0 comments on commit 672b5d1

Please sign in to comment.