diff options
author | Lennart Poettering <lennart@poettering.net> | 2007-10-30 00:28:17 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2007-10-30 00:28:17 +0000 |
commit | 1b5dba2542a8007d2aadf79771cc0682f83385b7 (patch) | |
tree | 9212d9499ddb97f772c423cf9cd8b0bbab8f127d /bootstrap.sh | |
parent | 6295cd95c95b29c17c34cae47e0e212f7e6e54d3 (diff) |
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
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-x | bootstrap.sh | 11 |
1 files 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 |