more travis tweaks
This commit is contained in:
parent
9f6ea7b799
commit
5d25e2d850
|
@ -1006,7 +1006,8 @@ guess_prefix( const char *argv0, const char *name )
|
||||||
|
|
||||||
/* Try to guess from cwd. Only if this is a relative path, though.
|
/* Try to guess from cwd. Only if this is a relative path, though.
|
||||||
*/
|
*/
|
||||||
if( !g_path_is_absolute( argv0 ) ) {
|
if( argv0 &&
|
||||||
|
!g_path_is_absolute( argv0 ) ) {
|
||||||
char *dir;
|
char *dir;
|
||||||
char full_path[VIPS_PATH_MAX];
|
char full_path[VIPS_PATH_MAX];
|
||||||
char *resolved;
|
char *resolved;
|
||||||
|
|
Loading…
Reference in New Issue