diff options
author | B. Watson <yalhcru@gmail.com> | 2022-02-07 15:52:39 -0500 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2022-02-07 15:52:39 -0500 |
commit | b23e4b94d6dc6deaf13562d31b75f7201936ea6f (patch) | |
tree | 339a30fce2be1cd56a16e25063adc56b7a28823c /mkslackinfo | |
parent | d0452ca21a267561bc051015d524db9948c215b6 (diff) | |
download | sbostuff-b23e4b94d6dc6deaf13562d31b75f7201936ea6f.tar.gz |
15.0 misc fixes
Diffstat (limited to 'mkslackinfo')
-rwxr-xr-x | mkslackinfo | 9 |
1 files changed, 4 insertions, 5 deletions
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 <documentation> \ - $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 <documentation> $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |