From 2a2af1cc4b522c1c58dff472b7fa9b51dbbb85ed Mon Sep 17 00:00:00 2001 From: rhatto Date: Thu, 27 Nov 2008 20:29:45 +0000 Subject: fixes git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@553 04377dda-e619-0410-9926-eae83683ac58 --- trunk/lib/common.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'trunk/lib/common.sh') diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh index a531037..5538668 100644 --- a/trunk/lib/common.sh +++ b/trunk/lib/common.sh @@ -812,14 +812,13 @@ function gen_meta { # usage: gen_meta if [ ! -f $1 ]; then - echo "File not found: $1" - exit 1; + return 1 else - echo "Processing $1" + echo "Creating metafile for $1" fi if [ "`echo $1|grep -E '(.*{1,})\-(.*[\.\-].*[\.\-].*).tgz[ ]{0,}$'`" == "" ]; then - return; + return fi NAME=$(echo $1 | sed -re "s/(.*\/)(.*.tgz)$/\2/") -- cgit v1.2.3