changeset 2506:26438226e986

Libtool update fix.
author Jan Nieuwenhuizen <janneke@gnu.org>
date Wed, 25 Oct 2006 07:16:13 +0100
parents b59a6e64f612
children ae0186adb327
files lib/gub.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lib/gub.py	Wed Oct 25 07:14:40 2006 +0100
+++ b/lib/gub.py	Wed Oct 25 07:16:13 2006 +0100
@@ -353,11 +353,11 @@
         lst = self.locate_files ('%(builddir)s', 'libtool')
         if lst:
             new = self.expand ('%(system_root)s/usr/bin/libtool')
-            if not os.path.exists (newt):
+            if not os.path.exists (new):
                 self.log_command ("Cannot update libtool: no such file: %(new)s" % locals ())
                 raise 'barf'
             for i in lst:
-                self.system ('cp %(newt)s %(i)s', locals ())
+                self.system ('cp %(new)s %(i)s', locals ())
                 self.kill_libtool_installation_test (i)
                 self.system ('chmod 755  %(i)s', locals ())