Commit feda71cb authored by AstroSnail's avatar AstroSnail

Make surf use a per-instance cookiefile

parent 7cf92c5c
#!/bin/sh -eu
exec gl2 syspath surf "$@"
: ${COOKIEFILE:=}
if [ -z "$COOKIEFILE" ]
then
COOKIEFILE="$(mktemp)"
trap "rm '$COOKIEFILE'" exit
fi
exec gl2 syspath surf -c "$COOKIEFILE" "$@"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment