--- chewbacca/Makefile 2009/12/15 09:58:23 1.12 +++ chewbacca/Makefile 2010/02/11 09:02:06 1.15 @@ -96,8 +96,10 @@ @if [ ! -d $(FEV_PLUGIN) ]&&[ "$(FEV_PLUGIN)" != "" ]; then mkdir $(FEV_PLUGIN); fi @(${EGREEN} " Installing: library "${WHITE}"libyoda.so "; ${RESET}) @cp -f $(BASEDIR)/event/libyoda.so.0.0.0 $(PAM_LIB)/ - @ln -sf $(PAM_LIB)/libyoda.so.0.0.0 $(PAM_LIB)/libyoda.so - @ln -sf $(PAM_LIB)/libyoda.so.0.0.0 $(PAM_LIB)/libyoda.so.0 + @(cd $(PAM_LIB) &>/dev/null && ln -sf libyoda.so.0.0.0 libyoda.so && cd - &>/dev/null) + @(cd $(PAM_LIB) &>/dev/null && ln -sf libyoda.so.0.0.0 libyoda.so.0 && cd - &>/dev/null) +# @ln -sf $(PAM_LIB)/libyoda.so.0.0.0 $(PAM_LIB)/libyoda.so +# @ln -sf $(PAM_LIB)/libyoda.so.0.0.0 $(PAM_LIB)/libyoda.so.0 @(${EGREEN} " Installing: exec file "${WHITE}"chewbacca"; ${RESET}) @cp -f $(BASEDIR)/PamOffLineSW/chewbacca $(PAM_BIN)/ @(${EGREEN} " Installing: "${WHITE}"yoda headers";${RESET}) @@ -127,8 +129,8 @@ if [ ! -d $(FEV_PLUGIN) ]&&[ "$(FEV_PLUGIN)" != "" ]; then mkdir $(FEV_PLUGIN); fi (${EGREEN} " Installing "${EWHITE}"libyoda.so "; ${RESET}) cp -f $(BASEDIR)/event/libyoda.so.0.0.0 $(PAM_LIB)/ - ln -sf $(PAM_LIB)/libyoda.so.0.0.0 $(PAM_LIB)/libyoda.so - ln -sf $(PAM_LIB)/libyoda.so.0.0.0 $(PAM_LIB)/libyoda.so.0 + cd $(PAM_LIB) && ln -sf libyoda.so.0.0.0 libyoda.so && cd - + cd $(PAM_LIB) && ln -sf libyoda.so.0.0.0 libyoda.so.0 && cd - (${EGREEN} " Installing exec file "${EWHITE}"chewbacca"; ${RESET}) cp -f $(BASEDIR)/PamOffLineSW/chewbacca $(PAM_BIN)/ (${EGREEN} " Installing "${EWHITE}"yoda headers";${RESET})