sym2num: add path to cpp on OpenBSD.
authorPascal Stumpf <Pascal.Stumpf@cubes.de>
Sun, 12 Aug 2012 19:27:19 +0000 (21:27 +0200)
committerJon Trulson <jon@radscan.com>
Sun, 12 Aug 2012 20:20:58 +0000 (14:20 -0600)
cde/programs/dtprintinfo/sym2num

index 8799eb372a73538fcdc38efd308b25e7cb210e70..ba22f7e80e40de3464d147aaf9de37b83863dba3 100755 (executable)
@@ -58,6 +58,9 @@ awk '/^\$set/ { SET_NAME=$2; SET_COUNT++; MES_COUNT=0;
 if [[ -f /usr/ccs/lib/cpp ]]   #IBM & SUN
 then
    cpp_path=/usr/ccs/lib       
+elif [[ -f /usr/libexec/cpp ]] #BSD
+then
+   cpp_path=/usr/libexec
 elif [[ -f /lib/cpp ]]         #HP
 then
    cpp_path=/lib