From: "Simon Matter" Date: Date: Tue, 13 Jun 2023 15:01:11 +0200 Subject: [PATCH] Separating "set -e" and "set -x" calls See https://github.com/ArcticaProject/nx-libs/issues/1058 diff -Naup nx-libs-3.5.99.26.orig/nx-X11/config/cf/lnxLib.rules nx-libs-3.5.99.26/nx-X11/config/cf/lnxLib.rules --- nx-libs-3.5.99.26.orig/nx-X11/config/cf/lnxLib.rules 2023-04-28 14:39:57.000000000 +0200 +++ nx-libs-3.5.99.26/nx-X11/config/cf/lnxLib.rules 2023-05-26 14:39:53.339786537 +0200 @@ -136,7 +136,8 @@ install:: Concat(lib,libname.so.rev) install:: Concat(lib,libname.so) @@\ MakeDir($(DESTDIR)dest) @@\ @set +e; SetRevisions(rev); \ @@\ - test -n "${VERBOSE}" && set -xe; \ @@\ + set -e; \ @@\ + test -n "${VERBOSE}" && set -x; \ @@\ $(INSTALL) $(INSTALLFLAGS) $(INSTBINFLAGS) Concat(lib,libname.so.$$MAJ.$$MIN) $(DESTDIR)dest; \ @@\ $(RM) Concat($(DESTDIR)dest/lib,libname.so.$$MAJ); \ @@\ $(LN) Concat(lib,libname.so.$$MAJ.$$MIN) Concat($(DESTDIR)dest/lib,libname.so.$$MAJ); \ @@\ @@ -207,7 +208,8 @@ Concat(lib,libname.so): solist $(EXTRAL @@\ clean:: @@\ @set +e; SetRevisions(rev); \ @@\ - test -n "${VERBOSE}" && set -xe; \ @@\ + set -e; \ @@\ + test -n "${VERBOSE}" && set -x; \ @@\ $(RM) Concat(lib,libname.so.$$MAJ); \ @@\ $(RM) Concat(lib,libname.so.$$MAJ.$$MIN) @@\ $(RM) Concat(lib,libname.so)