Update travis-solr.sh

fix dirname for solr 4.2.1