diff options
Diffstat (limited to 'scripts/keygeneration/common.sh')
-rw-r--r-- | scripts/keygeneration/common.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/keygeneration/common.sh b/scripts/keygeneration/common.sh index c3c1c25d..aa955dd8 100644 --- a/scripts/keygeneration/common.sh +++ b/scripts/keygeneration/common.sh @@ -117,9 +117,9 @@ function make_keyblock { # File to read current versions from. VERSION_FILE="key.versions" -# ARGS: <VERSION_TYPE> +# ARGS: <VERSION_TYPE> [VERSION_FILE] get_version() { - awk -F= '/^'$1'\>/ { print $NF }' ${2:-${VERSION_FILE}} + awk -F= '/^'$1'\>/ { print $NF }' "${2:-${VERSION_FILE}}" } # Loads the current versions prints them to stdout and sets the global version |