]> git.lizzy.rs Git - dragonfireclient.git/commit
Check the data path before usage
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Wed, 8 Jun 2011 15:27:30 +0000 (17:27 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Wed, 20 Jul 2011 15:59:48 +0000 (17:59 +0200)
commitbcd3e1af2f2d2f29ca739ee138ef72357b5b7b3a
tree6262b4ce9fc33ab22dec52c5630017599cfaf3f8
parentcd45ae3d0f8da00f0be69dee015e3298acce1367
Check the data path before usage

When not running in place, check if the assumed data path in
../share/APPNAME exists. If it doesn't exist, fall back to ../data
instead. This allows the program to run successfully from the checkout
directory even without the run-in-place flag active.
src/porting.cpp