Date: Sun, 12 May 2013 16:17:22 +0000 (UTC) From: Chris Rees <crees@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r317968 - head/Tools/scripts Message-ID: <201305121617.r4CGHMdB074540@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: crees Date: Sun May 12 16:17:21 2013 New Revision: 317968 URL: http://svnweb.freebsd.org/changeset/ports/317968 Log: Fix -c option PR: ports/178193 Submitted by: tota Modified: head/Tools/scripts/addport Modified: head/Tools/scripts/addport ============================================================================== --- head/Tools/scripts/addport Sun May 12 16:16:56 2013 (r317967) +++ head/Tools/scripts/addport Sun May 12 16:17:21 2013 (r317968) @@ -251,10 +251,11 @@ foreach my $thisdir (@dirs) { # Do commitfile checking but only if the user did not request automatic filling. if (!$autofill) { if (-f $c) { - system("$mv $c $tmpdir/commitfile") or errx(1, "Oops, can't move commitfile!"); + system("$mv $c $tmpdir/commitfile") && errx(1, "Oops, can't move commitfile!"); print "\nRemember, you asked to use a commit file to read for the commit log.\n"; print "This means you'll get a message saying the log message was unchanged or\n"; print "not specified. Just tell it to continue and it will be committed.\n\n"; + $commitfile = "--file $tmpdir/commitfile"; } } else { ## Set up the autofill file.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305121617.r4CGHMdB074540>