From 4d01ea7a6930a99a46c7e8472eb98d51264e2449 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 7 Oct 2008 22:11:32 +0200 Subject: include/pkglist: Give error message for non-git/-hg packages --- include/pkglist | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include/pkglist') diff --git a/include/pkglist b/include/pkglist index 95beb9c..f3d15e0 100755 --- a/include/pkglist +++ b/include/pkglist @@ -2,7 +2,7 @@ cd $1 || exit 100 -rm .list +rm -f .list for i in *(/,@); { if [[ -d $i/.hg ]] { @@ -12,7 +12,6 @@ for i in *(/,@); { echo -n "$i git " >> .list git --git-dir=$i/.git log | fgrep commit | head -n 1 | cut -d ' ' -f 2 >> .list } else { - echo -n "$i plain " >> .list - ls -ablR $i | md5sum | cut -d ' ' -f 1 >> .list + echo "Unsupported package: $i" >&2 } } -- cgit v1.2.3