summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Müller2007-01-09 01:01:15 +0100
committerLars Müller2007-01-09 01:01:15 +0100
commit97b6afb440e570884d4ca32b0d0fcbaff50d0d72 (patch)
tree37adff93b95db92f263f00b3440596a267952da7
parentAdd missing '1' char. (diff)
downloadcore-97b6afb440e570884d4ca32b0d0fcbaff50d0d72.tar.gz
core-97b6afb440e570884d4ca32b0d0fcbaff50d0d72.tar.xz
core-97b6afb440e570884d4ca32b0d0fcbaff50d0d72.zip
Ensure that we don't add a superfluous space and later do not detect if
the packagelist is empty. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@603 95ad53e4-c205-0410-b2fa-d234c58c8868
-rwxr-xr-xinstaller/slxossetup3
1 files changed, 2 insertions, 1 deletions
diff --git a/installer/slxossetup b/installer/slxossetup
index 584cadc6..829ef491 100755
--- a/installer/slxossetup
+++ b/installer/slxossetup
@@ -340,7 +340,8 @@ function install_slxselection()
local packagelist variable
for variable in ${!SLX_INSTALL_PACKAGES_*}; do
- packagelist="${packagelist} $( eval echo \$$variable)"
+ packages=$( eval echo \$$variable)
+ packagelist="${packagelist:+$packagelist }$( eval echo \$$variable)"
done
test -z "${packagelist}" && \
return