From e35536c7e947df1e2bae70ad746e31648e6d002b Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 8 Jun 2020 16:45:17 -0400 Subject: Fix bugs --- bzip2/build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bzip2') diff --git a/bzip2/build.sh b/bzip2/build.sh index 7428421..0c43630 100644 --- a/bzip2/build.sh +++ b/bzip2/build.sh @@ -48,8 +48,8 @@ function package() { rm -f libbz2.${lib_type}* # Reconstruct symlinks - ln -s libbz2.${lib_format_darwin} libbz2.${lib_format_darwin_short} - ln -s libbz2.${lib_format_darwin} libbz2.${lib_type} + ln -s -f libbz2.${lib_format_darwin} libbz2.${lib_format_darwin_short} + ln -s -f libbz2.${lib_format_darwin} libbz2.${lib_type} # Reset LC_ID_DYLIB to use expected naming conventions install_name_tool -id libbz2.${lib_format_darwin_short} \ @@ -68,7 +68,7 @@ function package() { # Install binaries cp -a bzip2-shared "${_pkgdir}${_prefix}"/bin/bzip2 - ln -s libbz2.${lib_format} libbz2.${lib_type} + ln -s -f libbz2.${lib_format} libbz2.${lib_type} cp -a libbz2.${lib_format} "${_pkgdir}${_prefix}"/lib cp -a libbz2.${lib_format_short} "${_pkgdir}${_prefix}"/lib cp -a libbz2.${lib_type} "${_pkgdir}${_prefix}"/lib -- cgit