aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedrich W. H. Kossebau <kossebau@kde.org>2006-08-05 10:08:13 +0000
committerFriedrich W. H. Kossebau <kossebau@kde.org>2006-08-05 10:08:13 +0000
commitb1a4908e3e615227c707629c19915d129be81549 (patch)
tree1692ecd48984b6fe49a6d9fbf0f2d16304c1bd8e
parenta1de59281e740bb0db157102f3d10187d55cbb07 (diff)
downloadextra-cmake-modules-b1a4908e3e615227c707629c19915d129be81549.tar.gz
extra-cmake-modules-b1a4908e3e615227c707629c19915d129be81549.tar.bz2
if appending the old content to the paths it needs to be prefixed with the separator : of course
svn path=/trunk/KDE/kdelibs/; revision=569946
-rwxr-xr-xmodules/kde4_exec_via_sh.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/kde4_exec_via_sh.cmake b/modules/kde4_exec_via_sh.cmake
index 86e8fd06..a256403e 100755
--- a/modules/kde4_exec_via_sh.cmake
+++ b/modules/kde4_exec_via_sh.cmake
@@ -5,7 +5,7 @@ file(WRITE "${_filename}"
"#!/bin/sh
# created by cmake, don't edit, changes will be lost
-${_library_path_variable}=${_ld_library_path}\${${_library_path_variable}+:\$${_library_path_variable}} \"${_executable}\" \"$@\"
+${_library_path_variable}=${_ld_library_path}\${${_library_path_variable}:+:\$${_library_path_variable}} \"${_executable}\" \"$@\"
")
# make it executable