summaryrefslogtreecommitdiff
path: root/kit/makedist.SH
diff options
context:
space:
mode:
authorBoyuan Yang <byang@debian.org>2020-02-23 14:37:44 -0800
committerBoyuan Yang <byang@debian.org>2020-02-23 14:37:44 -0800
commitad837af33e152566dc47d6805cb0a84ce1329ed5 (patch)
tree15fc67268928e2784b815b959de3f9e6212686ef /kit/makedist.SH
parentceb3507a8fca872770b3dcd7e5c5b36179ab95b0 (diff)
dist (1:3.5-236-0.2) unstable; urgency=medium
* Non-maintainer upload. * debian/dist.postinst: Fix wrong direction form. (Closes: #908187) * debian/rules: Explicitly provide tool path to avoid usrmerge differences and make package reproducible. (Closes: #915910) * debian/rules: Avoid manually setting DEB_HOST_MULTIARCH, use /usr/share/dpkg/architecture.mk instead. (lintian warning) [dgit import package dist 1:3.5-236-0.2]
Diffstat (limited to 'kit/makedist.SH')
-rwxr-xr-xkit/makedist.SH12
1 files changed, 6 insertions, 6 deletions
diff --git a/kit/makedist.SH b/kit/makedist.SH
index f40d5c5..ccc9566 100755
--- a/kit/makedist.SH
+++ b/kit/makedist.SH
@@ -114,7 +114,7 @@ sub kitbuild {
$list = $list[$kitnum];
$kit = sprintf("$package.kit" . $sp,$kitnum);
print "*** Making $kit ***\n";
- open(KIT,">$curdir/$kit") || do fatal("Can't create $curdir/$kit: $!");
+ open(KIT,">$curdir/$kit") || &fatal("Can't create $curdir/$kit: $!");
&kitleader;
@@ -202,7 +202,7 @@ sub kitlists {
}
# Build a file PACKNOTES to reconstruct split files
- if (defined %Chopped) {
+ if (%Chopped) {
open(PACKNOTES, ">$PACKNOTES") || &fatal("Can't create PACKNOTES: $!");
foreach (keys %Chopped) {
print PACKNOTES <<EOC;
@@ -248,9 +248,9 @@ EOC
# Read manifest file and initialize the %comment array.
sub maniread {
- do fatal("You don't have a $NEWMANI file. Run manifake")
+ &fatal("You don't have a $NEWMANI file. Run manifake")
unless -f "$NEWMANI";
- open(NEWMANI,$NEWMANI) || do fatal("Can't read $NEWMANI: $!");
+ open(NEWMANI,$NEWMANI) || &fatal("Can't read $NEWMANI: $!");
while (<NEWMANI>) {
($key,$val) = split(' ',$_,1) unless ($key,$val) = /^(\S+)\s+(.*)/;
$comment{$key} = $val;
@@ -266,7 +266,7 @@ sub manimake {
# Add built packlist
$comment{$PACKLIST} = 'Which files came with which kits';
- open(PACKLIST, ">$PACKLIST") || do fatal("Can't create $PACKLIST: $!");
+ open(PACKLIST, ">$PACKLIST") || &fatal("Can't create $PACKLIST: $!");
print PACKLIST
"After all the $package kits are run you should have the following files:
@@ -321,7 +321,7 @@ case \$todo in
'')
echo \"You have run all your kits.\"
EOM
- if (defined %Chopped) { # Some splitting occurred
+ if (%Chopped) { # Some splitting occurred
print KIT <<EOM;
if test -f $PACKNOTES; then
sh $PACKNOTES