Skip to content

Commit

Permalink
usrlocalpkg/admin/makebin: whitespace fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas committed Dec 19, 2024
1 parent 43547b6 commit f400489
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions usrlocalpkg/admin/makebin
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ my $BINDIR = $ENV{MAKEBIN_BINDIR} || '/usr/local/package/bin';
my $LIBDIR = $ENV{MAKEBIN_LIBDIR} || '/usr/local/package/lib';

# files that belong to the wrapper tools and should stay in the BINDIR
my %SACROSANCT = (ptype => 1, pman => 1, prun => 1);
my %SACROSANCT = (ptype => 1, pman => 1, prun => 1);

sub WRAPPER {
return<<'_EOF_';
Expand All @@ -28,7 +28,7 @@ _EOF_

sub tilde_replace {
my ($data,$hash)=@_;
$data =~ s/~([^~]*)~/$hash->{$1}/eg;
$data =~ s/~([^~]*)~/$hash->{$1}/eg;
return $data;
}

Expand Down Expand Up @@ -250,8 +250,8 @@ sub to_varstring {
}

sub createWrapper {
my %firstWrapper;
my %firstWrapperInode;
my %firstWrapper;
my %firstWrapperInode;
foreach my $wrapper (sort keys %hasPackage) {
my $package = $hasPackage{$wrapper};
if (my $oldfile = $firstWrapper{$package}) {
Expand Down

0 comments on commit f400489

Please sign in to comment.