Skip to content

Commit

Permalink
scripts/check-installed: Fix some minor comment/whitespace issues
Browse files Browse the repository at this point in the history
As requested in #559.
  • Loading branch information
donald committed Feb 7, 2018
1 parent 76e7fce commit 4f40279
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions scripts/check-installed
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
# out master branch of git@github.molgen.mpg.de:mariux64/bee-files.git
#
# git checkout master
# git pull
# git pull --rebase
# scripts/check-installed

use strict;
use warnings;

sub scandir {
my ($dirname)=@_;
opendir my $dir,$dirname or die "$dirname: $!\n";
return sort grep !/^\./,readdir $dir;
my ($dirname)=@_;
opendir my $dir,$dirname or die "$dirname: $!\n";
return sort grep !/^\./,readdir $dir;
}

sub save_qx {
Expand Down Expand Up @@ -45,7 +45,7 @@ for my $beefile (scandir('.')) {
$pkg.='.noarch';
} else {
$pkg.='.x86_64';
}
}
}
if (exists($GIT_FILE{$pkg})) {
print "# bee file $beefile overwrites package $pkg from $GIT_FILE{$pkg}\n";
Expand All @@ -72,4 +72,3 @@ for my $pkg (sort(keys(%GIT_FILE))) {
my $beefile=$GIT_FILE{$pkg};
print "# package in git but not in system: $pkg ($beefile)\n";
}

0 comments on commit 4f40279

Please sign in to comment.