From 1b5dba2542a8007d2aadf79771cc0682f83385b7 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 30 Oct 2007 00:28:17 +0000 Subject: add an evil, evil hack to make boostraph.sh run without interaction git-svn-id: file:///home/lennart/svn/public/paprefs/trunk@31 54a58c19-9419-0410-9bbb-d8fa3e5d54ff --- bootstrap.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index 2c2ea37..32bee79 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -24,12 +24,12 @@ run_versioned() { local V V=$(echo "$2" | sed -e 's,\.,,g') - + if [ -e "`which $1$V`" ] ; then - P="$1$V" + P="$1$V" else if [ -e "`which $1-$2`" ] ; then - P="$1-$2" + P="$1-$2" else P="$1" fi @@ -44,12 +44,13 @@ set -ex if [ "x$1" = "xam" ] ; then run_versioned automake "$VERSION" -a -c --foreign ./config.status -else +else rm -rf autom4te.cache rm -f config.cache rm -f Makefile.am~ configure.ac~ - echo "no" | gettextize --copy --force + # Evil, evil, evil, evil hack + sed 's/read dummy/\#/' `which gettextize` | sh -s -- --copy --force test -f Makefile.am~ && mv Makefile.am~ Makefile.am test -f configure.ac~ && mv configure.ac~ configure.ac -- cgit