mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
another fixup: stripFlags
This commit is contained in:
parent
6eb7e42b5b
commit
a835b282fe
@ -283,7 +283,7 @@ stripDir() {
|
||||
|
||||
if [ -e "$dir" ]; then
|
||||
header "stripping (with flags $stripFlags) in $dir"
|
||||
find "$dir" -type f -print0 | xargs -0 ${xargsFlags:--r} strip $stripFlags || true
|
||||
find "$dir" -type f -print0 | xargs -0 ${xargsFlags:--r} strip "$commonStripFlags" "$stripFlags" || true
|
||||
stopNest
|
||||
fi
|
||||
}
|
||||
@ -296,7 +296,7 @@ stripDirs() {
|
||||
|
||||
for d in $subdirs; do
|
||||
if [ -d "$prefix/$d" ]; then
|
||||
stripDir "$prefix/$d" "$commonStripFlags" "$stripFlags"
|
||||
stripDir "$prefix/$d" "$stripFlags"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user