X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=bin%2Fcleantmp.pl;h=12898a9c96eda1cbf436da9d94d60990655c1278;hb=75f06ef1cd56d531eb9ae086618bce3ff6aaa510;hp=4b42cbe955bd0ab4cd679cba5d4f24944ee5891f;hpb=89be03cdf0fd811112da15b47d710f7bc3a00e74;p=clearscm.git diff --git a/bin/cleantmp.pl b/bin/cleantmp.pl index 4b42cbe..12898a9 100755 --- a/bin/cleantmp.pl +++ b/bin/cleantmp.pl @@ -77,6 +77,8 @@ use Utils; my ($script) = ($FindBin::Script =~ /^(.*)\.pl/); my $log; +local $0 = $script; + my %opts = ( usage => sub { pod2usage }, help => sub { pod2usage(-verbose => 2)},