summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgit-amb/git-amb.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-amb/git-amb.in b/git-amb/git-amb.in
index 5753cd4..75a1c5b 100755
--- a/git-amb/git-amb.in
+++ b/git-amb/git-amb.in
@@ -23,6 +23,8 @@
# Known to work and tested with
# - git 1.5.3.4
+self="$(basename "$0")"
+
case "$1" in
-V|--version)
echo "$self (@PACKAGE_NAME@) @PACKAGE_VERSION@"
@@ -39,8 +41,6 @@ For more details, see the git-amb(1) man page."
require_work_tree
-self="$(basename "$0")"
-
amb_detect_configure() {
for configure_ac in \
"${top_srcdir}/configure.ac" \