diff options
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 |