From 755b7410a2f4807828f8ea358d3ba70d285d2e00 Mon Sep 17 00:00:00 2001 From: rhatto Date: Fri, 6 Apr 2007 01:07:03 +0000 Subject: templatepkg: --list small change git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@275 04377dda-e619-0410-9926-eae83683ac58 --- trunk/src/templatepkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'trunk/src') diff --git a/trunk/src/templatepkg b/trunk/src/templatepkg index 4521fef..c8e02c7 100755 --- a/trunk/src/templatepkg +++ b/trunk/src/templatepkg @@ -528,7 +528,7 @@ function template_list { local list basedir template - if echo $1 | grep -q "/"; then + if echo $1 | grep -q "/" || [ ! -z "$1" ]; then template="`echo $1 | cut -d "/" -f 1`" -- cgit v1.2.3