Skip to content

Commit 7ebcece

Browse files
committed
Update install-automake.sh
1 parent fa53e1b commit 7ebcece

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docker/build_scripts/install-automake.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ if automake --version > /dev/null 2>&1; then
3030
fi
3131
fi
3232

33-
# keep system aclocal files with local automake
34-
aclocal --print-ac-dir >> "/usr/local/share/aclocal/dirlist"
33+
SYSTEM_ACLOCAL="$(which aclocal)"
3534

3635
fetch_source "${AUTOMAKE_ROOT}.tar.gz" "${AUTOMAKE_DOWNLOAD_URL}"
3736
check_sha256sum "${AUTOMAKE_ROOT}.tar.gz" "${AUTOMAKE_HASH}"
@@ -50,5 +49,8 @@ cp -rlf /manylinux-rootfs/* /
5049
# Remove temporary rootfs
5150
rm -rf /manylinux-rootfs
5251

52+
# keep system aclocal files with local automake
53+
"${SYSTEM_ACLOCAL}" --print-ac-dir >> "/usr/local/share/aclocal/dirlist"
54+
5355
hash -r
5456
automake --version

0 commit comments

Comments
 (0)