summaryrefslogtreecommitdiff
path: root/bin/pkg
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-01-12 21:17:39 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-01-12 21:17:39 +0100
commitecc6118f0c79701e0acd01b11be0b57a82fb6ac8 (patch)
tree1d16f777ff22f6e619aa65cc5a2969db40416ba1 /bin/pkg
parentec173b864148f38f12ba6349f0128ce40a54dcb0 (diff)
pkg: silent mode: Run make in silent mode as well
Diffstat (limited to 'bin/pkg')
-rwxr-xr-xbin/pkg6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/pkg b/bin/pkg
index cc06494..32cd2f6 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -114,6 +114,12 @@ if (( !DEBUG )) {
function debug {}
}
+if (( SILENT )) {
+ # The goal is not to override anything set by the user...
+ # So, an alias should be safer than fiddling with $MAKEFLAGS
+ alias make='make -s'
+}
+
##
## Make sure everything's sane
## Warn otherwise