diff options
author | wtc%netscape.com <devnull@localhost> | 1998-11-23 21:20:38 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 1998-11-23 21:20:38 +0000 |
commit | 1fafb7e6cee1937cfcb6cc4949ba188ee774bf38 (patch) | |
tree | e0122acc7e61616480e36db3ce98570de665a320 | |
parent | d976305902688512ed8a651effbe7f2a3171f8af (diff) | |
download | nspr-hg-1fafb7e6cee1937cfcb6cc4949ba188ee774bf38.tar.gz |
Added 'else true;" to the if statement in our shell scripts because
QNX's shell doesn't work correctly without it.
-rw-r--r-- | lib/libc/src/Makefile | 2 | ||||
-rw-r--r-- | pr/src/Makefile | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/src/Makefile b/lib/libc/src/Makefile index a5b74d31..e798782f 100644 --- a/lib/libc/src/Makefile +++ b/lib/libc/src/Makefile @@ -131,6 +131,8 @@ $(TINC): @$(ECHO) '#define _BUILD_STRING "$(SH_DATE)"' > $(TINC) @if test ! -z "$(SH_NOW)"; then \ $(ECHO) '#define _BUILD_TIME $(SH_NOW)$(SUF)' >> $(TINC); \ + else \ + true; \ fi @$(ECHO) '#define _PRODUCTION "$(PROD)"' >> $(TINC) diff --git a/pr/src/Makefile b/pr/src/Makefile index c424ac58..613a020c 100644 --- a/pr/src/Makefile +++ b/pr/src/Makefile @@ -335,6 +335,8 @@ $(TINC): @$(ECHO) '#define _BUILD_STRING "$(SH_DATE)"' > $(TINC) @if test ! -z "$(SH_NOW)"; then \ $(ECHO) '#define _BUILD_TIME $(SH_NOW)$(SUF)' >> $(TINC); \ + else \ + true; \ fi @$(ECHO) '#define _PRODUCTION "$(PROD)"' >> $(TINC) |