autogen.sh: Change to source directory first
Change to the source tree's top directory before doing anything else.
This commit is contained in:
parent
9e943442d9
commit
b55774c0e0
|
@ -1,5 +1,9 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Change to source tree
|
||||||
|
srcdir=`dirname "$0"`
|
||||||
|
[ -z "$srcdir" ] || cd "$srcdir"
|
||||||
|
|
||||||
echo "Generating configure files... may take a while."
|
echo "Generating configure files... may take a while."
|
||||||
|
|
||||||
autoreconf --install --force && \
|
autoreconf --install --force && \
|
||||||
|
|
Loading…
Reference in New Issue