summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xusr.sbin/pkg_install/update/pkg_update.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_install/update/pkg_update.pl b/usr.sbin/pkg_install/update/pkg_update.pl
index b868c0e..e4f6804 100755
--- a/usr.sbin/pkg_install/update/pkg_update.pl
+++ b/usr.sbin/pkg_install/update/pkg_update.pl
@@ -69,7 +69,7 @@ sub get_requires($$) {
return 1;
}
- if (! open(REQUIRES, "<$file")) {
+ if (! open(REQUIRES, "< $file")) {
error("Can't open $file, $!");
return 0;
}
@@ -89,7 +89,7 @@ sub put_requires($$) {
my $file = "$PKG_DB/$pkg/$PKG_DEP_FILE";
- if (! open(REQUIRES, ">$file")) {
+ if (! open(REQUIRES, "> $file")) {
error("Can't open $file, $!");
return 0;
}
OpenPOWER on IntegriCloud