Use xattr in cryptest-autotools.sh
parent
6afa6fc213
commit
ae04195d1f
|
|
@ -122,8 +122,9 @@ chmod +w config.sub
|
|||
mv config.sub.new config.sub
|
||||
chmod +x config.sub
|
||||
|
||||
if [[ "$IS_DARWIN" -ne 0 ]]; then
|
||||
xattrib -r com.apple.quarantine config.sub &>/dev/null
|
||||
if [[ "$IS_DARWIN" -ne 0 ]] && [[ -n $(command -v xattr) ]]; then
|
||||
echo "Removing config.sub quarantine"
|
||||
xattr -d "com.apple.quarantine" config.sub &>/dev/null
|
||||
fi
|
||||
|
||||
echo "Updating config.guess"
|
||||
|
|
@ -134,8 +135,9 @@ chmod +w config.guess
|
|||
mv config.guess.new config.guess
|
||||
chmod +x config.guess
|
||||
|
||||
if [[ "$IS_DARWIN" -ne 0 ]]; then
|
||||
xattrib -r com.apple.quarantine config.guess &>/dev/null
|
||||
if [[ "$IS_DARWIN" -ne 0 ]] && [[ -n $(command -v xattr) ]]; then
|
||||
echo "Removing config.guess quarantine"
|
||||
xattr -d "com.apple.quarantine" config.guess &>/dev/null
|
||||
fi
|
||||
|
||||
#############################################################################
|
||||
|
|
|
|||
Loading…
Reference in New Issue