summaryrefslogtreecommitdiff
path: root/packaging/linux/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/linux/build.sh')
-rwxr-xr-xpackaging/linux/build.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/packaging/linux/build.sh b/packaging/linux/build.sh
index 5c30f10..3101001 100755
--- a/packaging/linux/build.sh
+++ b/packaging/linux/build.sh
@@ -109,7 +109,8 @@ cd "${DEST_DEB}"/
`which strip` --strip-unneeded usr/games/lib/${APPNAME}-${Y}-${VERSION}/* usr/games/bin/* >> "${LOG}"
md5sum `find . -type f | awk '/.\// { print substr($0, 3) }'` > DEBIAN/md5sums
cd "${BUNDLE_PREFIX}"
-dpkg-deb -b "${DEST_DEB}" ${APPNAME}_${Y}_${VERSION}-1_${ARCH}.deb
+Y_N=$(echo ${Y} |tr s S |tr c C)
+dpkg-deb -b "${DEST_DEB}" ${APPNAME}${Y_N}_${VERSION}-1_${ARCH}.deb
rm -rf "${DEST_DEB}"
done
CMAKE_PARAMS="-DBundle=1 -DNLS=1 -DTUXANCI_VERSION=${VERSION} -DCMAKE_BUILD_TYPE=Release" # duplicating due to override