Respect envvar $TMPDIR in check-lib-depends, allows to run the latter when

/tmp is not big enough.

okay espie@
This commit is contained in:
zhuk 2013-02-07 08:00:10 +00:00
parent b69b04381c
commit 221c08e0bf

View File

@ -1,6 +1,6 @@
#!/usr/bin/perl
# $OpenBSD: check-lib-depends,v 1.30 2011/12/01 11:20:19 espie Exp $
# $OpenBSD: check-lib-depends,v 1.31 2013/02/07 08:00:10 zhuk Exp $
# Copyright (c) 2004-2010 Marc Espie <espie@openbsd.org>
#
# Permission to use, copy, modify, and distribute this software for any
@ -517,5 +517,5 @@ sub main
exit($state->{errors} ? 1 : 0);
}
$OpenBSD::Temp::tempbase = "/tmp";
$OpenBSD: check-lib-depends,v 1.31 2013/02/07 08:00:10 zhuk Exp $ENV{'TMPDIR'} || "/tmp";
__PACKAGE__->main;