From b23e4b94d6dc6deaf13562d31b75f7201936ea6f Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 7 Feb 2022 15:52:39 -0500 Subject: 15.0 misc fixes --- mkslackinfo | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'mkslackinfo') diff --git a/mkslackinfo b/mkslackinfo index 4c0effc..75e1f3f 100755 --- a/mkslackinfo +++ b/mkslackinfo @@ -296,7 +296,6 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then exit 0 fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -344,10 +343,10 @@ find $PKG -name perllocal.pod \ -o -name "*.bs" \ | xargs rm -f -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC +cp -a $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -- cgit v1.2.3