Commit Graph

4 Commits

Author SHA1 Message Date
Zack Middleton 67dace6c20 Escape quotes for sv_dlURL in shell so it doesn't become "http:"
q3ded +set sv_dlURL "http://example.org"

The shell removes the quotes but makes the content be a single argument
for progam args. Quake 3 concatenates all the program args and splits
lines at + or newlines. Then Quake 3 parses them using a tokenizer
that skips unquoted C comments beginning with //. This results in
the cvar being set to "http:".

Escape the quotes so they are passed to the program and the tokenizer
knows not to skip C comments.

    q3ded +set sv_dlURL \"http://example.org\"
2017-07-20 23:24:52 -05:00
Zachary J. Slater e0b58abf53 Don't quote me. 2015-09-24 11:26:10 -07:00
Zachary J. Slater 45162a395f Fixed the os x path and now both scripts will take arguments 2015-09-24 11:21:18 -07:00
Zachary J. Slater c138659de1 A mac dedicated server script 2015-09-24 11:00:08 -07:00