mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
autoPatchelfHook: fix turning [ "*" ]
into bash array
Previously globs were incorrectly handled and expanded by bash into the files in the temporary build directory.
This commit is contained in:
parent
e92f9b319a
commit
41c09640e7
@ -53,7 +53,7 @@ autoPatchelf() {
|
||||
esac
|
||||
done
|
||||
|
||||
local ignoreMissingDepsArray=($autoPatchelfIgnoreMissingDeps)
|
||||
readarray -td' ' ignoreMissingDepsArray < <(echo -n "$autoPatchelfIgnoreMissingDeps")
|
||||
if [ "$autoPatchelfIgnoreMissingDeps" == "1" ]; then
|
||||
echo "autoPatchelf: WARNING: setting 'autoPatchelfIgnoreMissingDeps" \
|
||||
"= true;' is deprecated and will be removed in a future release." \
|
||||
|
Loading…
Reference in New Issue
Block a user