8000 use perl instead because sed was throwing a weird error · github/ruby@62adaaa · GitHub
[go: up one dir, main page]

Skip to content

Commit 62adaaa

Browse files
author
Charlie Somerville
committed
use perl instead because sed was throwing a weird error
1 parent b7fd1f9 commit 62adaaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/deploy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ cd "$(dirname "$0")/.."
1414
branch_name="$1"
1515
commit="$(git rev-parse --short HEAD)"
1616

17-
sed -i '' -e "s/development/$branch_name $commit/" version.h
17+
perl -pi -e "s/development/$branch_name $commit/" version.h
1818

1919
try autoconf
2020
try ./configure --prefix=/data/ruby --disable-install-doc

0 commit comments

Comments
 (0)
0