changeset 6466:9b78222774a7

schikkers-list: massage .scm script to run in Linux and Wine.
author Jan Nieuwenhuizen <janneke@gnu.org>
date Tue, 01 Feb 2011 15:20:20 +0100
parents 45335e3c7ffd
children a4af49dd321e
files gub/specs/schikkers-list.py
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gub/specs/schikkers-list.py	Tue Feb 01 15:19:56 2011 +0100
+++ b/gub/specs/schikkers-list.py	Tue Feb 01 15:20:20 2011 +0100
@@ -39,7 +39,10 @@
 ''',
                    '%(install_prefix)s/etc/relocate/schikkers-list.reloc',
                    env=locals ())
-        self.file_sub ([(' guile-gnome-2 ', ' guile ')], '%(install_prefix)s/bin/ikli', must_succeed=True)
+        self.file_sub ([(' guile-gnome-2 ', ' $(dirname $0)/guile '),
+                        (' -L [$][(]dirname [$]0[)]', ''),
+                        ],
+                       '%(install_prefix)s/bin/ikli', must_succeed=True)
         self.system ('cd %(install_prefix)s/bin && cp -pv ikli schikkers-list')
 
 class Schikkers_list__mingw (Schikkers_list):