summaryrefslogtreecommitdiff
path: root/bin/MakeProjectCreator/modules/GUID.pm
diff options
context:
space:
mode:
Diffstat (limited to 'bin/MakeProjectCreator/modules/GUID.pm')
-rw-r--r--bin/MakeProjectCreator/modules/GUID.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/MakeProjectCreator/modules/GUID.pm b/bin/MakeProjectCreator/modules/GUID.pm
index 015db9c2a47..944813a1543 100644
--- a/bin/MakeProjectCreator/modules/GUID.pm
+++ b/bin/MakeProjectCreator/modules/GUID.pm
@@ -11,6 +11,7 @@ package GUID;
# ************************************************************
use strict;
+use Cwd;
# ************************************************************
# Subroutine Section
@@ -28,8 +29,7 @@ sub generate {
my($self) = shift;
my($out) = shift;
my($in) = shift;
- my($cwd) = shift;
- my($chash) = $self->hash($cwd);
+ my($chash) = $self->hash(getcwd());
my($nhash) = $self->hash($out);
my($ihash) = $self->hash($in);
my($val) = 0xfeca1bad;