We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4adc25 commit 1f1fa4fCopy full SHA for 1f1fa4f
configure_wrapper
@@ -1,4 +1,13 @@
1
#! /bin/sh
2
+
3
+# Note: ./configure will remove all conftest* files, including the
4
+# pytest conftest.py. We work around this by making a copy and
5
+# restoring when we are done, regardless of whether configure succeeds
6
+# or fails.
7
8
+set -e
9
10
+trap 'mv bak_conftest.py conftest.py; trap - EXIT; exit' EXIT INT HUP TERM
11
12
cp conftest.py bak_conftest.py
13
./real_configure $@
-mv bak_conftest.py conftest.py
0 commit comments