summaryrefslogtreecommitdiffstats
path: root/bootstrap-configure
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap-configure')
-rwxr-xr-xbootstrap-configure6
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 \