4 if [ ! -d "$scriptdir" ]; then
5 echo >&2 "Missing scriptdir: $scriptdir"
9 echo >&2 "Running eventum upgrade scripts in $scriptdir"
14 echo -n "Eventum upgrade: $@..."
15 if ! php -dmemory_limit=256M $scriptdir/$script; then
17 echo >&2 "Please run manually: php $scriptdir/$script"
18 echo >&2 "NOTE: You might need to add CREATE, DROP, ALTER and INDEX privileges to Eventum MySQL user for this to work".
23 while read script text; do
24 upgrade_script $script "$text"