summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2010-02-03 23:13:07 +0200
committerPanu Matilainen <pmatilai@redhat.com>2010-02-11 15:39:29 +0200
commit0f743d36d6151948f3b5c186216d72d5c21660d3 (patch)
tree15d5a5a3789e18c45a858392a85b178433561923 /scripts
parent33ea7cbd96432cbad5988da6ae87556d69faa798 (diff)
downloadlibrpm-tizen-0f743d36d6151948f3b5c186216d72d5c21660d3.tar.gz
librpm-tizen-0f743d36d6151948f3b5c186216d72d5c21660d3.tar.bz2
librpm-tizen-0f743d36d6151948f3b5c186216d72d5c21660d3.zip
Fix reversed logic in getSystemBundles().
Diffstat (limited to 'scripts')
-rw-r--r--scripts/osgideps.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/osgideps.pl b/scripts/osgideps.pl
index 9af050769..0164a4c3e 100644
--- a/scripts/osgideps.pl
+++ b/scripts/osgideps.pl
@@ -240,7 +240,7 @@ sub getRequires {
# this function print system bundles of OSGi profile files.
sub getSystemBundles {
foreach $file (@_) {
- if ( -f $file && -r $file ) {
+ if ( ! -f $file || ! -r $file ) {
print "'$file' file not found or cannot be read!";
next;
} else {