File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed
Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 11name := " codepropertygraph"
22
33// parsed by project/Versions.scala, updated by updateDependencies.sh
4- val flatgraphVersion = " 0.0.87 "
4+ val flatgraphVersion = " 0.0.88 "
55
66inThisBuild(
77 List (
Original file line number Diff line number Diff line change @@ -9,6 +9,16 @@ check_installed() {
99 fi
1010}
1111
12+ function sedi() {
13+ if sed --version 2> /dev/null | grep -q ' GNU' ; then
14+ # GNU sed does not like a second argument for -i
15+ sed -i " $@ "
16+ else
17+ # but macOS (FreeBSD) sed needs it
18+ sed -i ' ' " $@ "
19+ fi
20+ }
21+
1222check_installed curl
1323
1424# check if xmllint is installed
@@ -57,13 +67,13 @@ function update {
5767 if [ " $NON_INTERACTIVE_OPTION " == " --non-interactive" ]
5868 then
5969 echo " non-interactive mode, auto-updating $NAME : $OLD_VERSION -> $VERSION "
60- sed -i " s/$SEARCH /$REPLACE /" build.sbt
70+ sedi " s/$SEARCH /$REPLACE /" build.sbt
6171 else
6272 echo " update $NAME : $OLD_VERSION -> $VERSION ? [Y/n]"
6373 read ANSWER
6474 if [ -z $ANSWER ] || [ " y" == $ANSWER ] || [ " Y" == $ANSWER ]
6575 then
66- sed -i " s/$SEARCH /$REPLACE /" build.sbt
76+ sedi " s/$SEARCH /$REPLACE /" build.sbt
6777 fi
6878 fi
6979 fi
You can’t perform that action at this time.
0 commit comments