anchor.diff:  		if [ -f $i ]
   		then
   		    # If the given web application is a file, symlink it into the common/lib/ directory
  -		    ln -sf $i ${cfg.baseDir}/shared/lib/`basename $i`
  +		    ln -sfn $i ${cfg.baseDir}/shared/lib/`basename $i`
   		elif [ -d $i ]
   		then
   		    # If the given web application is a directory, then iterate over the files
  
positive.code: 		        then
  			    for j in $i/conf/Catalina/*
  			    do
  			        ln -sf $j ${cfg.baseDir}/conf/Catalina/localhost/`basename $j`
  			    done
  		        fi
  		    fi
  
negative.code: 		if [ -f $i ]
  		then
  		    # If the given web application is a file, symlink it into the webapps/ directory
  		    ln -sfn $i ${cfg.baseDir}/webapps/`basename $i`
  		elif [ -d $i ]
  		then
  		    # If the given web application is a directory, then iterate over the files
  