diff options
Diffstat (limited to 'generate_mac_address.sh')
| -rwxr-xr-x | generate_mac_address.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/generate_mac_address.sh b/generate_mac_address.sh index 51675c4..0e66e3d 100755 --- a/generate_mac_address.sh +++ b/generate_mac_address.sh @@ -12,9 +12,7 @@ set -o nounset set -o errexit set -o pipefail -readonly PROGNAME="$(basename "${0}")"; -readonly PROGDIR="$(readlink -f "$(dirname "${0}")")"; -readonly ARGS="${@}"; +readonly ARGS=( "${@}" ); main() { @@ -24,5 +22,5 @@ main() | xargs printf ":%02x:%02x\n" } -main ${ARGS} +main "${ARGS[@]}" exit 0 |
