aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2014-01-20 21:50:52 -0800
committerSteven Fackler <[email protected]>2014-01-20 21:50:52 -0800
commit22e687d80163def8a7cec28a9fd23a522105272a (patch)
tree65602258a39ed638083c5a741629ce1dc9de96f9
parentRun configure on travis (diff)
downloadrust-openssl-22e687d80163def8a7cec28a9fd23a522105272a.tar.xz
rust-openssl-22e687d80163def8a7cec28a9fd23a522105272a.zip
Always run configure from the right directory
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 55cf6a0b..7fe7f2bb 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,7 @@
#!/bin/bash
+cd $(dirname $0)
+
TEMP=`getopt -o "" --long prefix: -n "$0" -- "$@"`
if [ $? != 0 ]; then exit 1; fi