changeset 5483:3cc4f9ac707f

tools::bash: do not look in /dev/tty. Fixes stat restriction.
author Jan Nieuwenhuizen <janneke@gnu.org>
date Thu, 20 Aug 2009 14:38:24 +0200
parents 6b5f592edd98
children 430898c7fda2
files gub/specs/bash.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gub/specs/bash.py	Thu Aug 20 14:36:05 2009 +0200
+++ b/gub/specs/bash.py	Thu Aug 20 14:38:24 2009 +0200
@@ -18,11 +18,15 @@
         return str
  
 class Bash__tools (tools.AutoBuild, Bash):
+    patches = ['bash-3.2-librestrict.patch']
     def force_sequential_build (self):
         return True
     @context.subst_method
     def LDFLAGS (self):
         return '%(rpath)'
+    def install (self):
+        tools.AutoBuild.install (self)
+        self.system ('cd %(install_prefix)s/bin && ln -s bash sh')
     def wrap_executables (self):
         # using rpath
         pass