2011-02-16 | Paul Boddie | raw annotate files changeset graph | Fixed the previous introducion of resolution parameter usage, since any failure to get a single parameter at a particular resolution would then erroneously yield a boolean result when testing the resolution parameter again, instead of yielding None and causing separate day, month and year parameter interpretation. |
1 #!/bin/bash 2 3 if [[ ! $1 ]] ; then 4 echo "Please specify a directory such as ../mysite/wiki or /tmp/mysite/wiki." 5 echo "This should be the root of your Wiki installation and contain the data" 6 echo "directory." 7 echo 8 echo "You may wish to uncomment and modify the chown command in this script." 9 exit 10 fi 11 12 cp macros/*.py $1/data/plugin/macro/ 13 #chown www-data: $1/data/plugin/macro/*.py