aboutsummaryrefslogtreecommitdiff
path: root/trunk/src
diff options
context:
space:
mode:
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`"