From 5174d08a34755ced72f2daae2b563ac3f3fbc17b Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 5 Jul 2009 22:07:00 +0200 Subject: pkg: --debug: Use PKG_DIR when showing pkg version --- bin/pkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/pkg b/bin/pkg index d504044..864fe17 100755 --- a/bin/pkg +++ b/bin/pkg @@ -149,7 +149,7 @@ if ((DEBUG)) { echo "--- running ---" echo " zsh $ZSH_VERSION" echo " git ${${(z)$(git --version)}[3]}" - echo " pkg ${${(z)$(git --git-dir=$HOME/packages/core/.git/ log -n 1)}[2]}" + echo " pkg ${${(z)$(git --git-dir=$PKG_DIR/core/.git/ log -n 1)}[2]}" echo "--- settings ---" echo " PKG_ROOT $PKG_ROOT" echo " PKG_PROTO $PKG_PROTO" -- cgit v1.2.3