8000 autoconf: Force overwrite the `--install` files · python/cpython-devcontainers@2c5c030 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2c5c030

Browse files
committed
autoconf: Force overwrite the --install files
Also, use `set -x` to make troubleshooting easier.
1 parent 94ad2a7 commit 2c5c030

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

autoconf/entry.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@ if [ "$#" = "0" ]; then
2222
fi
2323

2424
echo "Rebuilding configure script using $($AUTOCONF --version | head -n 1)"
25+
set -x
26+
# autoreconf's '--force' option doesn't affect any of the files installed
27+
# by the '--install' option. Remove the files to truly force them to be
28+
# updated so that the CPython repo doesn't drift from this repo.
29+
rm -f /src/aclocal.m4
30+
rm -f /src/config.guess
31+
rm -f /src/config.sub
32+
rm -f /src/install-sh
2533
exec $AUTORECONF -ivf -Werror $@
2634
fi
2735

0 commit comments

Comments
 (0)
0