about summary refs log tree commit diff
path: root/buildtools/installnetpbm.pl
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2007-01-15 02:51:25 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2007-01-15 02:51:25 +0000
commit1838e6e017a2a6e16140446e51dca9790743c6c3 (patch)
tree12b6a3d6488e404b6bb5b08585e5a6e0874f26cc /buildtools/installnetpbm.pl
parentf4432d2e740ad359f2e39086a5a3023e75e3511d (diff)
downloadnetpbm-mirror-1838e6e017a2a6e16140446e51dca9790743c6c3.tar.gz
netpbm-mirror-1838e6e017a2a6e16140446e51dca9790743c6c3.tar.xz
netpbm-mirror-1838e6e017a2a6e16140446e51dca9790743c6c3.zip
Release 10.37.02
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@207 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'buildtools/installnetpbm.pl')
-rwxr-xr-xbuildtools/installnetpbm.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/buildtools/installnetpbm.pl b/buildtools/installnetpbm.pl
index 5987ea8b..f6ab7ca0 100755
--- a/buildtools/installnetpbm.pl
+++ b/buildtools/installnetpbm.pl
@@ -829,7 +829,7 @@ installConfig($$$$$$$) {
 
     my $configTemplateFilename = dirname($0) . "/config_template";
 
-    my $templateOpened = open(TEMPLATE, "<", $configTemplateFilename);
+    my $templateOpened = open(TEMPLATE, "<$configTemplateFilename");
     if (!$templateOpened) {
         $error = "Can't open template file '$configTemplateFilename'.\n";
     } else {
@@ -837,7 +837,7 @@ installConfig($$$$$$$) {
 
         close(TEMPLATE);
 
-        my $versionOpened = open(VERSION, "<", "$pkgdir/VERSION");
+        my $versionOpened = open(VERSION, "<$pkgdir/VERSION");
 
         my $version;
         if (!$versionOpened) {
@@ -859,7 +859,7 @@ installConfig($$$$$$$) {
             
             my $filename = "$bindir/netpbm-config";
             
-            my $success = open(NETPBM_CONFIG, ">", $filename);
+            my $success = open(NETPBM_CONFIG, ">$filename");
             if ($success) {
                 chmod(0755, $filename);
                 foreach (@{$fileContentsR}) { print NETPBM_CONFIG; }