sanitize $VERSION

This commit is contained in:
Gwenhael Le Moine 2010-11-05 19:19:19 +07:00
parent 5632b13e6a
commit ffb1f4c799

View file

@ -82,5 +82,5 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
VERSION=${VERSION}_$(echo $BRANCH | sed 's|latest-||')_$(date +"%Y.%m.%d_%H.%M")
cd $PKG
makepkg -l y -c n $TMP/mozilla-firefox-$VERSION-$ARCH-$BUILD$PACKAGER.txz
makepkg -l y -c n $TMP/mozilla-firefox-$(echo $VERSION | tr - _)-$ARCH-$BUILD$PACKAGER.txz