Эх сурвалжийг харах

export of NICEHOME in setenv-file for proper relative filenames etc

Alexander Freytag 11 жил өмнө
parent
commit
a3907c68c1
1 өөрчлөгдсөн 3 нэмэгдсэн , 0 устгасан
  1. 3 0
      setenv.sh

+ 3 - 0
setenv.sh

@@ -24,6 +24,9 @@ for MYNICEDIR in $POSSIBLE_NICE_DIRECTORIES; do
 done
 done
 echo Configuring NICE framework in $NICEHOME
 echo Configuring NICE framework in $NICEHOME
 
 
+#export NICEHOME to have it accessible in child processes, e.g., in programs started on this shell aiming to read local settings, relative file names, or stuff like that
+export NICEHOME
+
 # Set the PKG_CONFIG_PATH to include the nice-core pc-files
 # Set the PKG_CONFIG_PATH to include the nice-core pc-files
 export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib64/pkgconfig/:/usr/lib/pkgconfig/:/usr/lib/pkgconfig/:/usr/local/lib/pkgconfig/:$NICEHOME/BUILD_`uname -m`$NICE_BUILD/pkgconfig/
 export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib64/pkgconfig/:/usr/lib/pkgconfig/:/usr/lib/pkgconfig/:/usr/local/lib/pkgconfig/:$NICEHOME/BUILD_`uname -m`$NICE_BUILD/pkgconfig/