diff options
Diffstat (limited to 'usr.sbin/pkg_install/updating/pathnames.h')
-rw-r--r-- | usr.sbin/pkg_install/updating/pathnames.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/usr.sbin/pkg_install/updating/pathnames.h b/usr.sbin/pkg_install/updating/pathnames.h new file mode 100644 index 0000000..b9a94ed --- /dev/null +++ b/usr.sbin/pkg_install/updating/pathnames.h @@ -0,0 +1,17 @@ +/*- + * ---------------------------------------------------------------------------- + * "THE BEER-WARE LICENSE" (Revision 42): + * <beat@chruetertee.ch> wrote this file. As long as you retain this notice you + * can do whatever you want with this stuff. If we meet some day, and you think + * this stuff is worth it, you can buy me a beer in return. Beat Gätzi + * ---------------------------------------------------------------------------- + * + * $FreeBSD$ + * + */ + +/* Where the updating file lives by default */ +#define DEF_UPDATING "/usr/ports/UPDATING" +/* macro to define location of the UPDATING file */ +#define UPDATING (getenv(PORTSDIR) ? strcat(getenv(PORTSDIR), \ + "/UPDATING") : DEF_UPDATING) |