mirror of git://git.code.sf.net/p/zsh/code
26315: define ZSH_PATCHLEVEL to "unknown" if not found
This commit is contained in:
parent
45bee14fec
commit
fe3fb64472
|
@ -1,3 +1,8 @@
|
|||
2009-01-15 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* 26315: Src/params.c: define ZSH_PATCHLEVEL to "unknown" if
|
||||
revision not found.
|
||||
|
||||
2009-01-15 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* 26313: INSTALL, configure.ac, Src/params.c: add
|
||||
|
@ -10919,5 +10924,5 @@
|
|||
|
||||
*****************************************************
|
||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||
* $Revision: 1.4510 $
|
||||
* $Revision: 1.4511 $
|
||||
*****************************************************
|
||||
|
|
|
@ -35,6 +35,11 @@
|
|||
#define ZSH_PATCHLEVEL CUSTOM_PATCHLEVEL
|
||||
#else
|
||||
#include "patchlevel.h"
|
||||
|
||||
/* If removed from the ChangeLog for some reason */
|
||||
#ifndef ZSH_PATCHLEVEL
|
||||
#define ZSH_PATCHLEVEL "unknown"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* what level of localness we are at */
|
||||
|
|
Loading…
Reference in New Issue