pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/bulk - Ignore the return value of the "unset" comma...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6c3259617823
branches: trunk
changeset: 503807:6c3259617823
user: rillig <rillig%pkgsrc.org@localhost>
date: Wed Nov 30 18:00:16 2005 +0000
description:
- Ignore the return value of the "unset" command. This would terminate the
program if the program would be run in "set -e" mode.
diffstat:
mk/bulk/build | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r 03515a83a531 -r 6c3259617823 mk/bulk/build
--- a/mk/bulk/build Wed Nov 30 17:49:51 2005 +0000
+++ b/mk/bulk/build Wed Nov 30 18:00:16 2005 +0000
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: build,v 1.89 2005/11/28 21:50:01 rillig Exp $
+# $NetBSD: build,v 1.90 2005/11/30 18:00:16 rillig Exp $
#
# Copyright (c) 1999, 2000 Hubert Feyrer <hubertf%NetBSD.org@localhost>
@@ -201,9 +201,9 @@
#
# Unset some environment variables that could disturbe the build.
#
-unset CDPATH # ensure cd does not print new cwd to stdout, which
+unset CDPATH || true # ensure cd does not print new cwd to stdout, which
# confuses the printindex script.
-unset DISPLAY # allow sane failure for gimp, xlispstat
+unset DISPLAY || true # allow sane failure for gimp, xlispstat
#
# It starts ...
Home |
Main Index |
Thread Index |
Old Index