silencing stderr unless --verbose the easy way
This commit is contained in:
parent
000755e27a
commit
b2c760a1a2
4 changed files with 21 additions and 4 deletions
7
dist/saturn40g
vendored
7
dist/saturn40g
vendored
|
@ -33,4 +33,9 @@ if [ ! -e "$CONFIGDIR"/ram ]; then
|
|||
RESET=--reset
|
||||
fi
|
||||
|
||||
./saturn --40g --state-dir "$CONFIGDIR" "$RESET" "$@"
|
||||
|
||||
if echo "$@" | grep -q "\-\-verbose"; then
|
||||
./saturn --40g --state-dir "$CONFIGDIR" "$RESET" "$@"
|
||||
else
|
||||
./saturn --40g --state-dir "$CONFIGDIR" "$RESET" "$@" 2> /dev/null
|
||||
fi
|
||||
|
|
6
dist/saturn48gx
vendored
6
dist/saturn48gx
vendored
|
@ -36,4 +36,8 @@ if [ ! -e "$CONFIGDIR"/ram ]; then
|
|||
RESET=--reset
|
||||
fi
|
||||
|
||||
./saturn --48gx --state-dir "$CONFIGDIR" "$RESET" "$@"
|
||||
if echo "$@" | grep -q "\-\-verbose"; then
|
||||
./saturn --48gx --state-dir "$CONFIGDIR" "$RESET" "$@"
|
||||
else
|
||||
./saturn --48gx --state-dir "$CONFIGDIR" "$RESET" "$@" 2> /dev/null
|
||||
fi
|
||||
|
|
6
dist/saturn48sx
vendored
6
dist/saturn48sx
vendored
|
@ -36,4 +36,8 @@ if [ ! -e "$CONFIGDIR"/ram ]; then
|
|||
RESET=--reset
|
||||
fi
|
||||
|
||||
./saturn --48sx --state-dir "$CONFIGDIR" "$RESET" "$@"
|
||||
if echo "$@" | grep -q "\-\-verbose"; then
|
||||
./saturn --48sx --state-dir "$CONFIGDIR" "$RESET" "$@"
|
||||
else
|
||||
./saturn --48sx --state-dir "$CONFIGDIR" "$RESET" "$@" 2> /dev/null
|
||||
fi
|
||||
|
|
6
dist/saturn49g
vendored
6
dist/saturn49g
vendored
|
@ -33,4 +33,8 @@ if [ ! -e "$CONFIGDIR"/ram ]; then
|
|||
RESET=-reset
|
||||
fi
|
||||
|
||||
./saturn --49g --state-dir "$CONFIGDIR" "$RESET" "$@"
|
||||
if echo "$@" | grep -q "\-\-verbose"; then
|
||||
./saturn --49g --state-dir "$CONFIGDIR" "$RESET" "$@"
|
||||
else
|
||||
./saturn --49g --state-dir "$CONFIGDIR" "$RESET" "$@" 2> /dev/null
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue