From: Thomas Debesse Date: Sat, 1 Jun 2019 17:52:45 +0000 (+0200) Subject: gamepacks: avoid readlink for useless things X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=adbacb20e979cf8284008d77b33e31cb8a001f2d;p=xonotic%2Fnetradiant.git gamepacks: avoid readlink for useless things --- diff --git a/gamepack-manager b/gamepack-manager index 14d8ceb2..199edf6e 100755 --- a/gamepack-manager +++ b/gamepack-manager @@ -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 ] [ACTION]