more travis tweaks

This commit is contained in:
John Cupitt 2019-11-27 20:27:40 +00:00
parent 9f6ea7b799
commit 5d25e2d850
1 changed files with 2 additions and 1 deletions

View File

@ -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;