diff options
Diffstat (limited to 'source/a/btrfs-progs/btrfs-progs.SlackBuild')
-rwxr-xr-x | source/a/btrfs-progs/btrfs-progs.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/a/btrfs-progs/btrfs-progs.SlackBuild b/source/a/btrfs-progs/btrfs-progs.SlackBuild index 2de9fe6a..60f7eb37 100755 --- a/source/a/btrfs-progs/btrfs-progs.SlackBuild +++ b/source/a/btrfs-progs/btrfs-progs.SlackBuild @@ -51,7 +51,7 @@ fi # the name of the created package would be, and then exit. This information # could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz" + echo "$PKGNAM-$(echo $VERSION | tr -d v)-$ARCH-$BUILD.txz" exit 0 fi @@ -150,14 +150,14 @@ if [ -d $PKG/usr/man ]; then fi # Add a documentation directory: -mkdir -p $PKG/usr/doc/${PKGNAM}-$VERSION +mkdir -p $PKG/usr/doc/${PKGNAM}-$(echo $VERSION | tr -d v) cp -a \ COPYING* INSTALL README* \ - $PKG/usr/doc/${PKGNAM}-$VERSION + $PKG/usr/doc/${PKGNAM}-$(echo $VERSION | tr -d v) mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $TMP/package-${PKGNAM} -/sbin/makepkg -l y -c n $TMP/${PKGNAM}-$VERSION-$ARCH-$BUILD.txz +/sbin/makepkg -l y -c n $TMP/${PKGNAM}-$(echo $VERSION | tr -d v)-$ARCH-$BUILD.txz |