pkgsrc-ng/x11/xscreensaver/patches/patch-hacks_m6502.sh
2016-11-18 22:39:22 +01:00

16 lines
421 B
Bash

$NetBSD: patch-hacks_m6502.sh,v 1.1 2016/06/06 12:41:42 wiz Exp $
NetBSD's sh(1) does not recognize the ERR signal.
--- hacks/m6502.sh.orig 2016-04-08 03:58:51.000000000 +0000
+++ hacks/m6502.sh
@@ -7,7 +7,7 @@ SRCS=$*
TMP1=m6502.h.1.$$
TMP2=m6502.h.2.$$
rm -f $TMP1 $TMP2
-trap "rm -f $TMP1 $TMP2" 1 2 3 15 ERR EXIT
+trap "rm -f $TMP1 $TMP2" 1 2 3 15 EXIT
if [ -z "$UTILS_SRC" ]; then UTILS_SRC="../utils"; fi