Przeglądaj źródła

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

Alexander Freytag 11 lat temu
rodzic
commit
a3907c68c1
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      setenv.sh

+ 3 - 0
setenv.sh

@@ -24,6 +24,9 @@ for MYNICEDIR in $POSSIBLE_NICE_DIRECTORIES; do
 done
 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
 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/