Gentoo Archives: gentoo-pms

From: "Michał Górny" <mgorny@g.o>
To: "Ulrich Müller" <ulm@g.o>
Cc: gentoo-pms@l.g.o
Subject: Re: [gentoo-pms] [PATCH 11/22] EAPI 6: Explain eapply behavior.
Date: Fri, 16 Oct 2015 10:08:45
Message-Id: 20151016120814.2fcc4ab8.mgorny@gentoo.org
In Reply to: [gentoo-pms] [PATCH 11/22] EAPI 6: Explain eapply behavior. by "Ulrich Müller"
1 Dnia 2015-10-15, o godz. 12:50:10
2 Ulrich Müller <ulm@g.o> napisał(a):
3
4 > +\FORALL{\t{x} in the \t{files} array}
5 > + \IF{\t{\$x} is a directory}
6 > + \FORALL{files \t{f} matching \t{\$x/*.diff} or \t{\$x/*.patch}, sorted in POSIX locale}
7 > + \STATE call \t{patch -p1 -f -g0 -{}-no-backup-if-mismatch "\$\{options[@]\}" < "\$f"}
8 > + \IF{child process returned with non-zero exit status}
9 > + \STATE return immediately with an error
10 > + \ENDIF
11 > + \ENDFOR
12
13 After updating the implementation in Portage, I noticed that we
14 probably should somehow specify here that it is an error to specify
15 directory that does not contain any *.patch/*.diff files.
16
17 --
18 Best regards,
19 Michał Górny
20 <http://dev.gentoo.org/~mgorny/>

Replies

Subject Author
Re: [gentoo-pms] [PATCH 11/22] EAPI 6: Explain eapply behavior. Ulrich Mueller <ulm@g.o>