mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
Fix expanding shell script position parameters with nounset enabled
This commit is contained in:
parent
1f3181a156
commit
0d8cd5edbf
1 changed files with 3 additions and 3 deletions
|
@ -21,8 +21,8 @@ set -o nounset # Treat unset variables as an error
|
|||
__ScriptVersion="2016.06.27"
|
||||
__ScriptName="bootstrap-salt.sh"
|
||||
|
||||
__ScriptFullName="${0}"
|
||||
__ScriptArgs="${*}"
|
||||
__ScriptFullName="$0"
|
||||
__ScriptArgs="$*"
|
||||
|
||||
#======================================================================================================================
|
||||
# Environment variables taken into account.
|
||||
|
@ -630,7 +630,7 @@ fi
|
|||
|
||||
echoinfo "Running version: ${__ScriptVersion}"
|
||||
echoinfo "Executed by: ${CALLER}"
|
||||
echoinfo "Command line: \"${__ScriptFullName} ${__ScriptArgs}\""
|
||||
echoinfo "Command line: '${__ScriptFullName} ${__ScriptArgs}'"
|
||||
echowarn "Running the unstable version of ${__ScriptName}"
|
||||
|
||||
#--- FUNCTION -------------------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Reference in a new issue