commit 3857a383dbd95e666d1200342012c76d0d3db9d5
parent 54d8cb2b6f4dbf70c4c50f6d18bd0435c704124b
Author: Mark Feller <mfeller@recurly.com>
Date: Wed, 15 Jan 2020 14:42:25 -0700
simple debug
Signed-off-by: Mark Feller <mfeller@recurly.com>
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/install b/install
@@ -107,8 +107,7 @@ main() {
pkgfile=${RICE_PKG:-"https://gitlab.com/mark.feller/rice/raw/master/packages"}
# Setup debug mode
- debug="/dev/null"
- [ "$RICE_DEBUG" != 1 ] || debug="/dev/stdout"
+ if [ "$RICE_DEBUG" == 1 ]; then debug="/dev/stdout"; else debug="/dev/null"; fi
trap cleanup INT