diff --git a/install/upgrade_check.sh b/install/upgrade_check.sh index 144170c6..f32ebc6c 100755 --- a/install/upgrade_check.sh +++ b/install/upgrade_check.sh @@ -13,7 +13,7 @@ # remove version from filename by stripping the extension strip_ext() { - echo $1 | sed 's/\.[^.]*$//'| sed 's/[a-z_]*$//' + echo $1 | sed -e 's/\.[^.]*$//' -e 's/[a-z_]*$//' } # find the version from a filename by stripping everything but the extension