SVN: toys/rsget.pl/rsget.pl

pawelz pawelz at pld-linux.org
Fri Nov 6 13:57:08 CET 2009


Author: pawelz
Date: Fri Nov  6 13:57:07 2009
New Revision: 10956

Modified:
   toys/rsget.pl/rsget.pl
Log:
- use getcwd() instead of $ENV{PWD}. PWD is not available until manually
exported.


Modified: toys/rsget.pl/rsget.pl
==============================================================================
--- toys/rsget.pl/rsget.pl	(original)
+++ toys/rsget.pl/rsget.pl	Fri Nov  6 13:57:07 2009
@@ -8,9 +8,10 @@
 #
 use strict;
 use warnings;
+use Cwd;
 my $rev = qq$Id$;
 
-our $install_path = $ENV{PWD};
+our $install_path = getcwd();
 our $local_path = $install_path;
 
 our %def_settings;


More information about the pld-cvs-commit mailing list