aboutsummaryrefslogtreecommitdiff
path: root/trunk/src
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-06 01:07:03 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-06 01:07:03 +0000
commit755b7410a2f4807828f8ea358d3ba70d285d2e00 (patch)
treed8ff37febf9acb01a772fb53dc4caab1950a6dff /trunk/src
parentd2209645ba26fc154b91c22def5d64519abf2c5a (diff)
downloadsimplepkg-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/src')
-rwxr-xr-xtrunk/src/templatepkg2
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`"