summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-07-05 22:07:00 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-07-05 22:07:00 +0200
commit5174d08a34755ced72f2daae2b563ac3f3fbc17b (patch)
tree3d4ebb8e30fee9c48dd711af46348826d87b9af6
parent35e7c17f89bc42dca186840392bf272f8c0eda88 (diff)
pkg: --debug: Use PKG_DIR when showing pkg version
-rwxr-xr-xbin/pkg2
1 files changed, 1 insertions, 1 deletions
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"