svn commit: r450616 - svnadmin/hooks/scripts
Mathieu Arnold
mat at FreeBSD.org
Mon Sep 25 16:22:05 UTC 2017
Le 25/09/2017 à 17:47, Kubilay Kocak a écrit :
> On 9/26/17 1:37 AM, Mathieu Arnold wrote:
>> Author: mat
>> Date: Mon Sep 25 15:37:17 2017
>> New Revision: 450616
>> URL: https://svnweb.freebsd.org/changeset/ports/450616
>>
>> Log:
>> Flavors are coming soon, but first, forbid anyone from using it.
>>
>> With hat: portmgr
>> Sponsored by: Absolight
>>
>> Modified:
>> svnadmin/hooks/scripts/stage-only.sh
>>
>> Modified: svnadmin/hooks/scripts/stage-only.sh
>> ==============================================================================
>> --- svnadmin/hooks/scripts/stage-only.sh Mon Sep 25 15:19:43 2017 (r450615)
>> +++ svnadmin/hooks/scripts/stage-only.sh Mon Sep 25 15:37:17 2017 (r450616)
>> @@ -34,6 +34,11 @@ for line in $(svnlook changed -t $TXN $REPO) ; do
>> echo "NOPORTDATA is nonsense as a variable affecting all ports." 1>&2
>> exit 1
>> fi
>> + if svnlook cat -t ${TXN} ${REPO} $fpath | grep -q "^FLAVORS" ; then
>> + echo "Do not commit a port with FLAVORS without first" > 1>&2
>> + echo "getting approval from portmgr." 1>&2
>> + exit 1
>> + fi
>> ;;
>> head/*/*/pkg-plist*)
>> if svnlook cat -t ${TXN} ${REPO} $fpath | grep -q "%%PORTDATA%%" ; then
>>
> I just saw this on commit:
>
> svn: E165001: Commit failed (details follow):
> svn: E165001: Commit blocked by pre-commit hook (exit code 1) with output:
> /s/svn/ports/hooks/scripts/stage-only.sh: 38: Syntax error: redirection
> unexpected (expecting word)
Should be fixed.
--
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20170925/18e4ae30/attachment.sig>
More information about the svn-ports-all
mailing list