summaryrefslogtreecommitdiff
path: root/bin/pkg
diff options
context:
space:
mode:
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 ab4c5f9..119114c 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -144,7 +144,7 @@ progress () {
vcs_to_list () {
if [[ -d $1/.git ]] {
echo -n "$1 git "
- git --git-dir=$1/.git log -n 1 | fgrep commit | cut -d ' ' -f 2
+ echo ${$(git --git-dir=$1/.git log -n 1)[2]}
} else {
warn "Unsupported or no repository: $1\n"
}