From: Filipe MS B. (UA) <fs...@ua...> - 2012-11-26 12:57:59
|
Actually, if VuFind is installed in the default "/usr/local/vufind" directory, it shouldn't be necessary to include the full path or define/export $VUFIND_HOME environment variable, as import-marc.sh script checks if all the necessary VuFind related environment variables are set and if they aren't (string length = 0 > "-z" in the if clause bellow) it defines them to the default value. Sample from VuFind 1.x: ------ ################################################## # Set VUFIND_HOME ################################################## if [ -z "$VUFIND_HOME" ] then VUFIND_HOME="/usr/local/vufind" fi ----- Sample from VF2: -------------- if not "!%VUFIND_HOME%!"=="!!" goto vufindhomefound rem VUFIND_HOME not set -- try to call vufind.bat to rem fix the problem before we give up completely if exist vufind.bat goto usevufindbat --------------- So, Tim (et al.) I guess the problem lies somewhere else but like Jonathan suggested and Luke has ( > /var/log/vufind/update_ifind.log 2>&1 ), redirecting the output of the script to a log file, checking should give some insight of what's going on (or not). -- Filipe -------------------------- Filipe Manuel S. Bento | http://about.filipebento.pt/ |