diff options
Diffstat (limited to 'trunk')
-rwxr-xr-x | trunk/src/templatepkg | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/trunk/src/templatepkg b/trunk/src/templatepkg index 0680612..e4f3f2d 100755 --- a/trunk/src/templatepkg +++ b/trunk/src/templatepkg @@ -474,14 +474,14 @@ function template_list { ls="`ls $BASE_CONF/defaults/templates/$1 2> /dev/null`" if [ "$?" == "0" ]; then - echo Default templates: - echo "$ls" + ls="`echo $ls | xargs`" + echo "Default templates: $ls" fi ls="`ls $BASE_CONF/templates/$1 2> /dev/null`" if [ "$?" == "0" ]; then - echo Custom templates: - echo "$ls" + ls="`echo $ls | xargs`" + echo "Custom templates: $ls" fi } |