freebsd-skq/usr.sbin/pkg_install/create
krion 62a303f1e1 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
..
create.h Introduce 3 new options for pkg_create(1), -x for using basic 2005-11-08 20:48:26 +00:00
main.c Introduce 3 new options for pkg_create(1), -x for using basic 2005-11-08 20:48:26 +00:00
Makefile Don't put DEBUG to CFLAGS, we have the standard DEBUG_FLAGS for this. 2004-08-12 20:06:01 +00:00
perform.c When using @cwd %%FOO%%, we must ensure to return in the original 2006-01-07 22:10:58 +00:00
pkg_create.1 When using @cwd %%FOO%%, we must ensure to return in the original 2006-01-07 22:10:58 +00:00
pl.c When using @cwd %%FOO%%, we must ensure to return in the original 2006-01-07 22:10:58 +00:00