aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Triplett <[email protected]>2013-11-27 17:25:58 -0800
committerJosh Triplett <[email protected]>2013-11-27 17:25:58 -0800
commit19b9adda520daaec0a87f8d7c061e08cdf82fe6b (patch)
tree6d628719e831768e257cc00597ac6ff643f51d25
parentautogen.sh: Use set -e to fail if any command fails (diff)
downloaddiscoin-19b9adda520daaec0a87f8d7c061e08cdf82fe6b.tar.xz
discoin-19b9adda520daaec0a87f8d7c061e08cdf82fe6b.zip
autogen.sh: Support running from outside the source directory
Initial steps towards supporting out-of-tree builds.
-rwxr-xr-xautogen.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 3aa140188..1e68a774a 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,3 +1,5 @@
#!/bin/sh
set -e
+srcdir="$(dirname $0)"
+cd "$srcdir"
autoreconf -vif