]> git.rm.cloudns.org Git - xonotic/xonotic.git/commit
Fix compile command to handle correctly the optional argument <client>
authorterencehill <piuntn@gmail.com>
Sat, 17 Jul 2010 15:02:06 +0000 (17:02 +0200)
committerterencehill <piuntn@gmail.com>
Sat, 17 Jul 2010 15:02:06 +0000 (17:02 +0200)
commit305f923b438c4244c49d10b115e23ef62440406c
tree8c2ad94f008483ecb6834630b722a2531941c241
parent106111952f4e664956f8c74023ebffa05579e2e7
Fix compile command to handle correctly the optional argument <client>
In case the first arg (eventually after -c|-n):
- it's an empty string "" just skip it (default clients will be used).
- doesn't contain any valid client, then assume it's not a client option but a generic option.
- contains at least one valid client, then compile valid ones and warn about invalid ones.

Now finally
./all compile -n FTEQCCFLAGS_WATERMARK=
works :)
all