Revision: 77105
http://sourceforge.net/p/brlcad/code/77105
Author: brlcad
Date: 2020-09-11 19:05:03 +0000 (Fri, 11 Sep 2020)
Log Message:
-----------
/dev/null is a special device and -f is only for regular files, so we really
just want to check for existence here.
Modified Paths:
--------------
brlcad/trunk/bench/run.sh
Modified: brlcad/trunk/bench/run.sh
===================================================================
--- brlcad/trunk/bench/run.sh 2020-09-11 18:58:14 UTC (rev 77104)
+++ brlcad/trunk/bench/run.sh 2020-09-11 19:05:03 UTC (rev 77105)
@@ -69,7 +69,7 @@
LC_ALL=C
# Windows has a special NUL device instead of /dev/null
-if test -f /dev/null ; then
+if test -e /dev/null ; then
export NUL=/dev/null
else
export NUL=NUL
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits