mirror of
https://github.com/richb-hanover/OpenWrtScripts.git
synced 2026-03-30 10:44:32 +02:00
Move [ "$VERBOSE" = true ] && set -x to be managed by debug trace instead.
This commit is contained in:
parent
f0cb22206c
commit
b388f2214a
1 changed files with 3 additions and 1 deletions
|
|
@ -30,6 +30,8 @@ PREQLIST=$(mktemp) # List of prerequisite packa
|
|||
UPDATE=false # Update the package database
|
||||
OPKGOPT="" # Options for opkg calls
|
||||
VERBOSE=false # Be verbose
|
||||
DEBUG_TRACE=false # Set to true to enable shell debug tracing (set -x)
|
||||
|
||||
|
||||
cleanup () {
|
||||
rm -f $INSTLIST $PREQLIST
|
||||
|
|
@ -109,7 +111,7 @@ while getopts "htuv" OPTS; do
|
|||
done
|
||||
shift $(($OPTIND - 1))
|
||||
|
||||
[ "$VERBOSE" = true ] && set -x
|
||||
[ "$DEBUG_TRACE" = true ] && set -x
|
||||
|
||||
# Set the command
|
||||
COMMAND=$1
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue