idiosyn/package/wayland-headless/xvfb-run.sh

16 lines
221 B
Bash
Raw Normal View History

#!@runtimeShell@
set -o errexit
set -o nounset
set -o pipefail
# Discard all options
while [[ "$1" =~ ^- ]]; do
case "$1" in
(-e|-f|-n|-p|-s|-w) shift ;&
(*) shift ;;
esac
done
exec '@out@/bin/wl-run' "$@"