]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
gamepacks: avoid readlink for useless things
authorThomas Debesse <dev@illwieckz.net>
Sat, 1 Jun 2019 17:52:45 +0000 (19:52 +0200)
committerThomas Debesse <dev@illwieckz.net>
Sat, 1 Jun 2019 17:52:45 +0000 (19:52 +0200)
gamepack-manager

index 14d8ceb23d057da8e1a791a6210bdd0db44497b4..199edf6ef4264af047c18c126a4c3a861fa551b7 100755 (executable)
@@ -487,7 +487,7 @@ printHelp () {
        local prog_name
 
        tab="$(printf '\t')"
-       prog_name="$(basename "$(readlink -f "${0}")")"
+       prog_name='gamepack-manager'
 
        cat <<-EOF
        Usage: ${prog_name} [OPTION] [SELECTION <ARGUMENTS>] [ACTION]