1 #!/bin/bash 2 3 if [ ! $1 ] ; then 4 echo "Please specify a directory such as ../ep2008 or /tmp/ep2008." 5 exit 6 fi 7 8 cp macros/*.py $1/wiki/data/plugin/macro/ 9 chown www-data: $1/wiki/data/plugin/macro/*.py