summaryrefslogtreecommitdiff
path: root/bin/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'bin/pkg')
-rwxr-xr-xbin/pkg3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/pkg b/bin/pkg
index b23c346..e777be6 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -154,6 +154,9 @@ vcs_to_list () {
} elif [[ -d $1/.git ]] {
echo -n "$1 git "
git --git-dir=$1/.git log | fgrep commit | head -n 1 | cut -d ' ' -f 2
+ } else {
+ echo -n "$i plain " >> .list
+ ls -ablR $i | md5sum | cut -d ' ' -f 1 >> .list
}
}