diff options
author | wiz <wiz@pkgsrc.org> | 2015-06-17 11:59:58 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2015-06-17 11:59:58 +0000 |
commit | acbfb1d7a2d096e0aea6d398fca29e55af1f9b40 (patch) | |
tree | 68bdf48f8414044bd709e1a548b85a662e8ec06f /pkgtools/url2pkg | |
parent | ebf0b606337ea982a27b59f61f9468f534d05ce1 (diff) | |
download | pkgsrc-acbfb1d7a2d096e0aea6d398fca29e55af1f9b40.tar.gz |
Fix uninitialized variables warnings.
From ISIHARA Takanori in PR 49980.
Diffstat (limited to 'pkgtools/url2pkg')
-rw-r--r-- | pkgtools/url2pkg/Makefile | 6 | ||||
-rw-r--r-- | pkgtools/url2pkg/files/url2pkg.pl | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/pkgtools/url2pkg/Makefile b/pkgtools/url2pkg/Makefile index c4998b03c2f..3b4f168b44a 100644 --- a/pkgtools/url2pkg/Makefile +++ b/pkgtools/url2pkg/Makefile @@ -1,8 +1,6 @@ -# $NetBSD: Makefile,v 1.78 2015/06/12 10:50:56 wiz Exp $ -# +# $NetBSD: Makefile,v 1.79 2015/06/17 11:59:58 wiz Exp $ -PKGNAME= url2pkg-2.22 -PKGREVISION= 1 +PKGNAME= url2pkg-2.23 CATEGORIES= pkgtools MAINTAINER= pkgsrc-users@NetBSD.org diff --git a/pkgtools/url2pkg/files/url2pkg.pl b/pkgtools/url2pkg/files/url2pkg.pl index 364860d4ada..0e320e2b0f8 100644 --- a/pkgtools/url2pkg/files/url2pkg.pl +++ b/pkgtools/url2pkg/files/url2pkg.pl @@ -1,5 +1,5 @@ #! @PERL@ -# $NetBSD: url2pkg.pl,v 1.28 2015/04/07 00:10:33 rodent Exp $ +# $NetBSD: url2pkg.pl,v 1.29 2015/06/17 11:59:58 wiz Exp $ # # Copyright (c) 2010 The NetBSD Foundation, Inc. @@ -333,6 +333,8 @@ sub generate_initial_package($) { } else { die("$0: ERROR: Invalid GitHub URL: ${url}\n"); } + } else { + $gh_project = ""; $gh_release = ""; $dist_subdir = ""; } } |