--- cernlib-2006/cernlib.in.fedora_script 2007-04-21 13:39:02.000000000 +0200
+++ cernlib-2006/cernlib.in 2007-04-24 08:54:58.000000000 +0200
@@ -491,7 +491,7 @@
}
-[ -z "$CERN" ] && CERN="@PREFIX@"
+[ -z "$CERN" ] && CERN="@CERN@"
_ver="$CERN_LEVEL"
_u="" ; _arch="`sysname`" ; _driver="default"
_argsdone=false
@@ -524,6 +524,10 @@
shift
done
+if [ -z "$_ver" ]; then
+ _ver="@VERSION@"
+fi
+
if [ -z "$CERN_ROOT" ] ; then
if [ "$CERN" = "@PREFIX@" ] ; then
CERN_ROOT="@PREFIX@"