place the os nametag after the version (#3465)

When i added the appended os nametags I didn't account for the dots inside the version, this will place the nametag before the last dot instead of after the first dot.
This commit is contained in:
ebbit1q 2018-12-06 01:34:56 +01:00 committed by Gavin Bisesi
parent 952f13dec4
commit e921cf88f9

View file

@ -137,6 +137,6 @@ if [[ $MAKE_PACKAGE ]]; then
echo "could not find package" >&2
exit 1
fi
mv "$path/$file" "$path/${file%%.*}-$PACKAGE_NAME.${file#*.}"
mv "$path/$file" "$path/${file%.*}-$PACKAGE_NAME.${file##*.}"
fi
fi