#!/bin/bash cwd=`pwd` col=${cwd##*/} activate.pl -site heritage-nz -library_url http://localhost:8383/greenstone3/hnz-library $* "$col" echo "***" echo "* Now run:" echo "* ./FIX-UP-INDEX.sh" echo "*" echo "* Then restart the Greenstone3 server, as a user with sudo access:" echo "* sudo systemctl restart greenstone3" echo "***"