diff options
author | RĂ©mi Denis-Courmont <remi.denis-courmont@nokia.com> | 2009-06-25 14:49:32 +0300 |
---|---|---|
committer | Aki Niemi <aki.niemi@nokia.com> | 2009-06-29 20:59:01 +0300 |
commit | 99a425cca7993711eec6bc0f4d1a785d164e09a9 (patch) | |
tree | 0ff64bd7cd1633859f4dae3835493e4b1b03cc5a /bootstrap-configure | |
parent | 74bbdea02df251d18c9ea2cf68b0644080eee064 (diff) | |
download | ofono-99a425cca7993711eec6bc0f4d1a785d164e09a9.tar.bz2 |
Fix bootstrap-configure when building from subdir
Diffstat (limited to 'bootstrap-configure')
-rwxr-xr-x | bootstrap-configure | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bootstrap-configure b/bootstrap-configure index 2519f22f..cc82e1a9 100755 --- a/bootstrap-configure +++ b/bootstrap-configure @@ -1,11 +1,13 @@ #!/bin/sh +DIR="$(dirname "$0")" + if [ -f config.status ]; then make maintainer-clean fi -./bootstrap && \ - ./configure --enable-maintainer-mode \ +(cd "$DIR" && ./bootstrap) && \ + "$DIR/configure" --enable-maintainer-mode \ --enable-debug \ --prefix=/usr \ --mandir=/usr/share/man \ |