aboutsummaryrefslogtreecommitdiff
path: root/sys/apps/microcode_ctl/microcode_ctl.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'sys/apps/microcode_ctl/microcode_ctl.SlackBuild')
-rwxr-xr-xsys/apps/microcode_ctl/microcode_ctl.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/apps/microcode_ctl/microcode_ctl.SlackBuild b/sys/apps/microcode_ctl/microcode_ctl.SlackBuild
index 44c1e3a5..b6d2b2b1 100755
--- a/sys/apps/microcode_ctl/microcode_ctl.SlackBuild
+++ b/sys/apps/microcode_ctl/microcode_ctl.SlackBuild
@@ -110,7 +110,7 @@ fi
# Install documentation
DOCS="Changelog README intel-*.txt"
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
# Move the initialization script to /etc/rc.d/, renaming it to rc.*
( cd "$PKG/etc/rc.d"
@@ -171,5 +171,5 @@ 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