mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03: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