From: Robert Sesek Date: Sat, 28 Mar 2020 17:40:30 +0000 (-0400) Subject: Sed inplace is not great across GNU vs BSD... X-Git-Tag: 1.1.0~3 X-Git-Url: https://src.bluestatic.org/?a=commitdiff_plain;h=58acf45ad333abfbe829f1ae4932321f8dd0d3f5;p=ustaxlib.git Sed inplace is not great across GNU vs BSD... --- diff --git a/build.sh b/build.sh index d2a7115..8d7d254 100755 --- a/build.sh +++ b/build.sh @@ -23,4 +23,5 @@ cp LICENSE.txt $OUTDIR # "Preprocess" the dist package.json. cp ./package.json $OUTDIR -sed -i='' -e s@\"dist/@\"@ $OUTDIR/package.json +sed -i.bak -e s@\"dist/@\"@ $OUTDIR/package.json +rm $OUTDIR/package.json.bak