summaryrefslogtreecommitdiff
path: root/bin/pkg
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-05-01 15:52:02 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-05-01 15:52:02 +0200
commit6c1454a29852874cfde380fd0ade74472c89619a (patch)
tree5fb2496a7d44e993b8c7c6f64eabf04dd8bd4fb8 /bin/pkg
parent5308e0c916784dd89a517b293f2d4f4c437b545a (diff)
pkg --debug: Display pkg version (as in commit hash)
Diffstat (limited to 'bin/pkg')
-rwxr-xr-xbin/pkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pkg b/bin/pkg
index 878e71c..17eb300 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -171,7 +171,7 @@ if ((DEBUG)) {
echo "--- running ---"
echo " zsh $ZSH_VERSION"
echo " git ${${(z)$(git --version)}[3]}"
- echo " pkg ?"
+ echo " pkg ${${(z)$(git --git-dir=$HOME/packages/core/.git/ log -n 1)}[2]}"
echo "--- settings ---"
echo " PKG_ROOT $PKG_ROOT"
echo " PKG_PROTO $PKG_PROTO"