summaryrefslogtreecommitdiff
path: root/parabolaweb-update.in
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-04-13 19:28:58 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-04-13 19:28:58 -0400
commitd1e3c585e99796c0864b7dd55c0786665f7ad07e (patch)
tree256fc5434fb1620a6e68135ffbfa4c3020d57402 /parabolaweb-update.in
parent8c9db937b42e819ab604069f0f883762a3b6d4bf (diff)
Default configuration: detect RUNMAKE
Diffstat (limited to 'parabolaweb-update.in')
-rw-r--r--parabolaweb-update.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/parabolaweb-update.in b/parabolaweb-update.in
index 6a2ad02..2fed114 100644
--- a/parabolaweb-update.in
+++ b/parabolaweb-update.in
@@ -22,7 +22,7 @@ clean() {
cd "$WEBDIR"
msg "Purging old .pyc files..."
find . -name '*.pyc' -delete
- if $RUNMAKE; then
+ if $RUNMAKE &>/dev/null; then
msg "Purging old GNU Make generated files..."
make clean
fi
@@ -67,7 +67,7 @@ update-database() {
update-filesystem() {
cd "$WEBDIR"
msg "Updating filesystem..."
- if $RUNMAKE; then
+ if $RUNMAKE &>/dev/null; then
msg2 "Re-creating GNU Make generated files..."
make
fi