diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-06 01:07:03 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-06 01:07:03 +0000 |
commit | 755b7410a2f4807828f8ea358d3ba70d285d2e00 (patch) | |
tree | d8ff37febf9acb01a772fb53dc4caab1950a6dff /trunk | |
parent | d2209645ba26fc154b91c22def5d64519abf2c5a (diff) | |
download | simplepkg-755b7410a2f4807828f8ea358d3ba70d285d2e00.tar.gz simplepkg-755b7410a2f4807828f8ea358d3ba70d285d2e00.tar.bz2 |
templatepkg: --list small change
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@275 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk')
-rwxr-xr-x | trunk/src/templatepkg | 2 |
1 files changed, 1 insertions, 1 deletions
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`" |