1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

CI: Only run autogen.sh if it has not already run.

This commit is contained in:
Jia Tan 2023-01-12 23:02:20 +08:00
parent 32287dc8de
commit 0dec634e70

View file

@ -102,12 +102,17 @@ if [ "$PHASE" = "all" ] || [ "$PHASE" = "build" ]; then
mkdir -p "$DEST_DIR"
case $BUILD_SYSTEM in
autotools)
# Run autogen.sh script
cd "$SRC_DIR"
"./autogen.sh"
cd "$DEST_DIR"
# Generate configure option values
# Run autogen.sh script if not already run
if [ ! -f configure ]
then
"./autogen.sh"
fi
cd "$DEST_DIR"
# Generate configure option values
EXTRA_OPTIONS=""
FILTER_LIST="lzma1,lzma2"