From 304ff76836b4444c8af2a9d6ae88538330a4eb5d Mon Sep 17 00:00:00 2001 From: luis Date: Wed, 5 Dec 2007 05:49:23 +0000 Subject: Syncing with generic.SlackBuild v0.9.3 git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1505 370017ae-e619-0410-ac65-c121f96126d4 --- net/analyzer/nagios-plugins/nagios-plugins.SlackBuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net/analyzer/nagios-plugins/nagios-plugins.SlackBuild') diff --git a/net/analyzer/nagios-plugins/nagios-plugins.SlackBuild b/net/analyzer/nagios-plugins/nagios-plugins.SlackBuild index bdb6a722..e88bd4db 100755 --- a/net/analyzer/nagios-plugins/nagios-plugins.SlackBuild +++ b/net/analyzer/nagios-plugins/nagios-plugins.SlackBuild @@ -112,7 +112,7 @@ make install-root DESTDIR="$PKG" || exit $ERROR_INSTALL DOCS="ABOUT-NLS ACKNOWLEDGEMENTS AUTHORS BUGS CODING COPYING ChangeLog FAQ INSTALL LEGAL NEWS README REQUIREMENTS SUPPORT THANKS" mkdir -p "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" || exit $ERROR_MKDIR -cp -a $DOCS "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" +cp -a $DOCS "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" 2> /dev/null # Add package description (slack-desc) mkdir -p "$PKG/install" || exit $ERROR_MKDIR @@ -144,6 +144,6 @@ makepkg -l y -c n "$REPOS/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD.tgz" || exit $ERRO # Delete source and build directories if requested if [ "$CLEANUP" == "yes" ]; then - rm -rf "$PKG_SRC" "$PKG" + rm -rf "$PKG_WORK" "$PKG" fi -- cgit v1.2.3