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:
Tuomas Tynkkynen 2015-06-27 18:44:06 +03:00
parent e6ca18e9bf
commit 3dafe7a466

View File

@ -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
dontMakeSourcesWritable=1
postUnpack() {
find . -type d | xargs -n1 chmod +x
find . -type d | xargs -n1 chmod +x
find . -type d -exec chmod +x '{}' \;
}
preBuild() {