lib.h (172723) | lib.h (173514) |
---|---|
1/* $FreeBSD: head/usr.sbin/pkg_install/lib/lib.h 172723 2007-10-17 13:47:10Z krion $ */ | 1/* $FreeBSD: head/usr.sbin/pkg_install/lib/lib.h 173514 2007-11-10 10:21:29Z krion $ */ |
2 3/* 4 * FreeBSD install - a package for the installation and maintainance 5 * of non-core utilities. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions 9 * are met: --- 42 unchanged lines hidden (view full) --- 52#define NO 1 53 54/* Usually "rm", but often "echo" during debugging! */ 55#define REMOVE_CMD "/bin/rm" 56 57/* Usually "rm", but often "echo" during debugging! */ 58#define RMDIR_CMD "/bin/rmdir" 59 | 2 3/* 4 * FreeBSD install - a package for the installation and maintainance 5 * of non-core utilities. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions 9 * are met: --- 42 unchanged lines hidden (view full) --- 52#define NO 1 53 54/* Usually "rm", but often "echo" during debugging! */ 55#define REMOVE_CMD "/bin/rm" 56 57/* Usually "rm", but often "echo" during debugging! */ 58#define RMDIR_CMD "/bin/rmdir" 59 |
60/* Where the ports lives by default */ 61#define DEF_PORTS_DIR "/usr/ports" 62/* just in case we change the environment variable name */ 63#define PORTSDIR "PORTSDIR" 64/* macro to get name of directory where the ports lives */ 65#define PORTS_DIR (getenv(PORTSDIR) ? getenv(PORTSDIR) : DEF_PORTS_DIR) 66 |
|
60/* Where we put logging information by default, else ${PKG_DBDIR} if set */ 61#define DEF_LOG_DIR "/var/db/pkg" 62/* just in case we change the environment variable name */ 63#define PKG_DBDIR "PKG_DBDIR" 64/* macro to get name of directory where we put logging information */ 65#define LOG_DIR (getenv(PKG_DBDIR) ? getenv(PKG_DBDIR) : DEF_LOG_DIR) 66 67/* The names of our "special" files */ --- 173 unchanged lines hidden --- | 67/* Where we put logging information by default, else ${PKG_DBDIR} if set */ 68#define DEF_LOG_DIR "/var/db/pkg" 69/* just in case we change the environment variable name */ 70#define PKG_DBDIR "PKG_DBDIR" 71/* macro to get name of directory where we put logging information */ 72#define LOG_DIR (getenv(PKG_DBDIR) ? getenv(PKG_DBDIR) : DEF_LOG_DIR) 73 74/* The names of our "special" files */ --- 173 unchanged lines hidden --- |