summaryrefslogtreecommitdiffstats
path: root/rt2500/build/rt2500.SlackBuild
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2006-01-17 14:32:15 +0000
committer Eric Hameleers <alien@slackware.com>2006-01-17 14:32:15 +0000
commitc173649c92326478522a89f34189c987ceafeb1a (patch)
tree4c6d53359d3cd52d4d9a821c96bf1e4a743ab7fc /rt2500/build/rt2500.SlackBuild
parent2b10557eb92c8b3ba282d3e50ea9ed311592077b (diff)
downloadasb-c173649c92326478522a89f34189c987ceafeb1a.tar.gz
asb-c173649c92326478522a89f34189c987ceafeb1a.tar.xz
Better man page handling.
Diffstat (limited to 'rt2500/build/rt2500.SlackBuild')
-rwxr-xr-xrt2500/build/rt2500.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/rt2500/build/rt2500.SlackBuild b/rt2500/build/rt2500.SlackBuild
index 9c531d3a..844c083e 100755
--- a/rt2500/build/rt2500.SlackBuild
+++ b/rt2500/build/rt2500.SlackBuild
@@ -214,7 +214,7 @@ cp -a $DOCS \
chmod -R a-w $PKG/usr/doc/$PRGNAM-$VERSION/*
# Compress the man page(s)
-find $PKG/usr/man -type f -exec gzip -9f {} \;
+[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -exec gzip -9f {} \;
# Strip binaries
( cd $PKG
@@ -246,7 +246,7 @@ cd $PKG
makepkg --linkadd y --chown n $TMP/$PRGNAM-${VERSION}_${KVER}-$ARCH-$BUILD.tgz \
2>&1 | tee $CWD/makepkg-${PRGNAM}.log
(cd $TMP && md5sum $PRGNAM-${VERSION}_${KVER}-$ARCH-$BUILD.tgz > $PRGNAM-${VERSION}_${KVER}-$ARCH-$BUILD.tgz.md5)
-cat $CWD/${PRGNAM}.slack-desc | grep "^${PRGNAM}" > $TMP/$PRGNAM-${VERSION}_${KVER}-$ARCH-$BUILD.txt
+cat $PKG/install/slack-desc | grep "^${PRGNAM}" > $TMP/$PRGNAM-${VERSION}_${KVER}-$ARCH-$BUILD.txt
# --- CLEANUP ---