Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Oct 2013 18:36:15 +0100
From:      =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= <fernando.apesteguia@gmail.com>
To:        Alex Laurie <alex.r.laurie@gmail.com>
Cc:        FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: updating my first port
Message-ID:  <CAGwOe2ZR8eiu3vkxYZ6R0wbEhOUSgY-ZwamybKKUQ18=WbN%2BYA@mail.gmail.com>
In-Reply-To: <CAJ33AJUua=0sHj8q5a_V0oy2XUMt1n3RX-Npv%2BUbfkJ2JTqMNg@mail.gmail.com>
References:  <CAJ33AJUua=0sHj8q5a_V0oy2XUMt1n3RX-Npv%2BUbfkJ2JTqMNg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 30, 2013 at 5:56 PM, Alex Laurie <alex.r.laurie@gmail.com>wrote:

> Hi all,
>
> I'm updating a port for the first time. I've made the changes and done all
> the tests and it works fine. I'm using the SVN option in the handbook and
> I've updated the files and got
>
> root@test:/usr/local/ports_update/taskjuggler # svn status
> M       Makefile
> M       distinfo
>
> I'm trying to create a diff as per the last part but I'm not quite sure
> what they mean by basename
>
> The last step is to make a unified
> diff(1)<http://www.freebsd.org/cgi/man.cgi?query=diff&sektion=1>; of
> the files against SVN:
> % *svn diff > ../`basename ${PWD}`.diff*
>

${PWD} contains the directory you are working on, for instance
~/my_ports/my_thirdparty_application.
basename ${PWD} strips everything from that path up to (and including) the
slash, this is, it gives you "my_thirdparty_application" (without the
quotes).

The whole command is just to create a diff of your files against the repo
and calling the diff file with the same name as the directory you are in.
Notice that it adds the .diff to the file name.

HTH


>
>
> Any pointers?
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGwOe2ZR8eiu3vkxYZ6R0wbEhOUSgY-ZwamybKKUQ18=WbN%2BYA>