summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 1d0c5b2ec..d9d99c655 100755
--- a/configure
+++ b/configure
@@ -3,4 +3,4 @@
# This is just a stub for the Unix configure script, to provide support for
# doing "./configure" in the top Vim directory.
-cd src && exec ./configure "$@"
+cd "${SRCDIR:-src}" && exec ./configure "$@"