krion 2006-01-07 22:10:58 UTC FreeBSD src repository
Modified files: usr.sbin/pkg_install/add extract.c usr.sbin/pkg_install/create perform.c pkg_create.1 pl.c usr.sbin/pkg_install/info show.c usr.sbin/pkg_install/lib plist.c Log: 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 Revision Changes Path 1.44 +11 -2 src/usr.sbin/pkg_install/add/extract.c 1.82 +7 -0 src/usr.sbin/pkg_install/create/perform.c 1.70 +5 -1 src/usr.sbin/pkg_install/create/pkg_create.1 1.28 +10 -3 src/usr.sbin/pkg_install/create/pl.c 1.40 +4 -1 src/usr.sbin/pkg_install/info/show.c 1.51 +5 -2 src/usr.sbin/pkg_install/lib/plist.c _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"