Kirill Ponomarev ce036f4091 When using @cwd %%FOO%%, we must ensure to return in the original
prefix later, but doing so with @cwd %%OLDPREFIX%% (having
PLIST_SUB+="OLDPREFIX=${PREFIX}") hardcodes the value in the packing
list. That's not really a problem when dealing with ports but that's
a problem with packages since pkg_add -p option only overrides the
first @cwd occurrence.

This patch allow us to use @cwd without any argument. If no
directory argument is given, it will set current working directory
to the first prefix given by the @cwd command.

PR:		bin/77212
Submitted by:	flz
2006-01-07 22:10:58 +00:00
..
2005-01-18 20:02:45 +00:00
2005-08-06 16:52:30 +00:00
2005-02-13 22:25:33 +00:00
2005-03-24 01:26:40 +00:00
2005-05-20 12:44:04 +00:00
2005-09-21 05:33:46 +00:00
2005-02-09 18:07:17 +00:00
2005-05-04 08:57:12 +00:00
2005-07-15 15:32:52 +00:00
2005-02-09 12:17:52 +00:00
2005-02-13 22:25:33 +00:00
2005-01-18 20:02:45 +00:00
2005-12-23 15:33:31 +00:00
2005-02-13 22:25:33 +00:00
2005-03-11 14:20:09 +00:00
2005-01-18 20:02:45 +00:00
2005-01-18 20:02:45 +00:00
2005-01-18 20:02:45 +00:00
2005-01-11 11:47:22 +00:00
2005-01-18 20:02:45 +00:00
2005-02-09 18:07:17 +00:00
2005-02-13 22:25:33 +00:00
2005-02-09 18:07:17 +00:00
2005-01-18 20:02:45 +00:00
2005-01-18 20:02:45 +00:00
2005-02-09 18:07:17 +00:00
2005-01-18 20:02:45 +00:00
2005-02-13 22:25:33 +00:00
2005-06-14 12:26:36 +00:00
2005-02-13 22:25:33 +00:00
2005-11-18 10:56:28 +00:00
2005-01-18 20:02:45 +00:00
2005-10-17 15:28:25 +00:00
2005-01-18 20:02:45 +00:00
2005-09-22 11:18:30 +00:00
2005-02-13 22:25:33 +00:00
2005-06-03 15:25:13 +00:00
2005-04-09 14:59:10 +00:00
2005-02-09 18:07:17 +00:00
2005-02-13 22:25:33 +00:00
2005-01-18 20:02:45 +00:00
2005-02-09 18:07:17 +00:00
2005-01-18 20:02:45 +00:00
2005-02-13 22:25:33 +00:00
2005-01-18 20:02:45 +00:00
2005-02-15 09:27:00 +00:00
2005-11-17 02:34:50 +00:00
2005-01-18 20:02:45 +00:00
2005-06-09 09:28:35 +00:00
2005-02-13 23:45:54 +00:00
2005-01-18 20:02:45 +00:00
2005-10-17 16:51:06 +00:00
2004-12-21 10:49:29 +00:00
2004-12-21 10:49:29 +00:00
2005-07-11 04:14:42 +00:00
2005-01-18 20:02:45 +00:00
2004-12-21 12:44:20 +00:00
2005-02-13 22:25:33 +00:00
2005-01-18 20:02:45 +00:00
2005-08-22 09:59:13 +00:00
2005-12-25 22:09:17 +00:00
2005-02-13 22:25:33 +00:00
2005-02-13 22:25:33 +00:00
2005-02-13 23:45:54 +00:00