From 260a864337ced92bce0caadb4070e6071dcc3091 Mon Sep 17 00:00:00 2001 From: David Durieux Date: Wed, 28 Nov 2018 11:58:55 +0100 Subject: [PATCH] Fix problem to FreeBSD compatibility --- tools/make_release.sh | 2 +- tools/update_mo.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/make_release.sh b/tools/make_release.sh index 810fad2829..adbfb083ea 100755 --- a/tools/make_release.sh +++ b/tools/make_release.sh @@ -99,7 +99,7 @@ echo "Set version and official release" sed \ -e 's/"PLUGIN_FUSIONINVENTORY_OFFICIAL_RELEASE", "0"/"PLUGIN_FUSIONINVENTORY_OFFICIAL_RELEASE", "1"/' \ -e 's/ SNAPSHOT//' \ - -i setup.php + -i '' setup.php echo "Minify stylesheets and javascripts" $INIT_PWD/vendor/bin/robo minify diff --git a/tools/update_mo.pl b/tools/update_mo.pl index 160b566189..7d662d16fb 100755 --- a/tools/update_mo.pl +++ b/tools/update_mo.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl #!/usr/bin/perl -w # /** # * ---------------------------------------------------------------------