From: Pascal Stumpf Date: Sun, 12 Aug 2012 19:27:19 +0000 (+0200) Subject: sym2num: add path to cpp on OpenBSD. X-Git-Tag: 2.2.0b~83^2~8 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=72c954e5b30ba058df88864cfe0a31b9468e3a23;p=oweals%2Fcde.git sym2num: add path to cpp on OpenBSD. --- diff --git a/cde/programs/dtprintinfo/sym2num b/cde/programs/dtprintinfo/sym2num index 8799eb37..ba22f7e8 100755 --- a/cde/programs/dtprintinfo/sym2num +++ b/cde/programs/dtprintinfo/sym2num @@ -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