mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
xfig: Fix build failure now visible due to #7524
The first 'find' command in postUnpack that attempts to add +x permissions fails, because the +x permission is needed by the find itself, and with the xargs method it's added too late.
This commit is contained in:
parent
e6ca18e9bf
commit
3dafe7a466
@ -5,8 +5,7 @@ makeFlags="XAWLIB=-lXaw3d BINDIR=$out/bin XAPPLOADDIR=$out/etc/X11/app-defaults
|
|||||||
# We need chmod +wx on dirs, not just chmod +w
|
# We need chmod +wx on dirs, not just chmod +w
|
||||||
dontMakeSourcesWritable=1
|
dontMakeSourcesWritable=1
|
||||||
postUnpack() {
|
postUnpack() {
|
||||||
find . -type d | xargs -n1 chmod +x
|
find . -type d -exec chmod +x '{}' \;
|
||||||
find . -type d | xargs -n1 chmod +x
|
|
||||||
}
|
}
|
||||||
|
|
||||||
preBuild() {
|
preBuild() {
|
||||||
|
Loading…
Reference in New Issue
Block a user