diff options
author | Josh Triplett <josh@joshtriplett.org> | 2013-11-27 17:25:58 -0800 |
---|---|---|
committer | Josh Triplett <josh@joshtriplett.org> | 2013-11-27 17:25:58 -0800 |
commit | 19b9adda520daaec0a87f8d7c061e08cdf82fe6b (patch) | |
tree | 6d628719e831768e257cc00597ac6ff643f51d25 /autogen.sh | |
parent | 97d285ab513abb6d823e97e835a79a516fcced92 (diff) |
autogen.sh: Support running from outside the source directory
Initial steps towards supporting out-of-tree builds.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh index 3aa1401886..1e68a774ad 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,3 +1,5 @@ #!/bin/sh set -e +srcdir="$(dirname $0)" +cd "$srcdir" autoreconf -vif |