You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

18 lines
289 B

#!/bin/bash
occ() {
/var/www/html/occ --no-warnings "$@"
}
args=()
for arg in "$@"; do
if [ "$arg" == ";" ]; then
echo "running: occ " "${args[@]}" >&2
occ "${args[@]}" # || exit 1
args=()
continue
fi
args+=("$arg")
done
occ "${args[@]}"