[PATCH 2 of 2] (issue68) Write into the correct filelists

Wald Commits scm-commit at wald.intevation.org
Mon Sep 29 10:03:55 CEST 2014


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1411977818 -7200
# Node ID 46b598e0dfc628909aeee9bfe9c9bfda9936e453
# Parent  3594192641996084e869933f9cfe1a7681f13f28
(issue68) Write into the correct filelists

diff -r 359419264199 -r 46b598e0dfc6 packaging/create-dist-package.sh.in
--- a/packaging/create-dist-package.sh.in	Mon Sep 29 10:03:04 2014 +0200
+++ b/packaging/create-dist-package.sh.in	Mon Sep 29 10:03:38 2014 +0200
@@ -68,12 +68,12 @@
 done
 
 cd $TMPDIR/windows/licenses
-echo SetOutPath \"\$INSTDIR\\licenses\" >> @CMAKE_CURRENT_BINARY_DIR@/filelist_in.nsh
+echo SetOutPath \"\$INSTDIR\\licenses\" >> $TMPDIR/resources/filelist_in.nsh
 for file in `find * -type f`; do
-    echo File \"\${files_dir}\${path_sep}licenses\${path_sep}$file\" >> @CMAKE_CURRENT_BINARY_DIR@/filelist_in.nsh
-    echo Delete \"\$INSTDIR\\licenses\\$file\" >> @CMAKE_CURRENT_BINARY_DIR@/filelist_un.nsh
+    echo File \"\${files_dir}\${path_sep}licenses\${path_sep}$file\" >> $TMPDIR/resources/filelist_in.nsh
+    echo Delete \"\$INSTDIR\\licenses\\$file\" >> $TMPDIR/resources/filelist_un.nsh
 done
-echo RmDir \"\$INSTDIR\\licenses\" >> @CMAKE_CURRENT_BINARY_DIR@/filelist_un.nsh
+echo RmDir \"\$INSTDIR\\licenses\" >> $TMPDIR/resources/filelist_un.nsh
 
 cd $TMPDIR/windows/doc
 


More information about the Trustbridge-commits mailing list