summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>1997-12-01 22:49:09 +0000
committerHerb Lewis <herb@samba.org>1997-12-01 22:49:09 +0000
commit00b5a07744964eb48cda7c72a428bd6c4587cca7 (patch)
treee5055eef21f8e4691084765d265ab012c8bc9a47
parentceb047f60105b0390088ffc34813148d5e13cfa5 (diff)
downloadsamba-00b5a07744964eb48cda7c72a428bd6c4587cca7.tar.gz
samba-00b5a07744964eb48cda7c72a428bd6c4587cca7.tar.bz2
samba-00b5a07744964eb48cda7c72a428bd6c4587cca7.zip
fix for systems that don't have PWD environment variable defined
(This used to be commit f67e21f73ffa3bbb1f3bffae709219c86be236f6)
-rwxr-xr-xpackaging/SGI/idb.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/SGI/idb.pl b/packaging/SGI/idb.pl
index c4a03c817b..47cf16a5bc 100755
--- a/packaging/SGI/idb.pl
+++ b/packaging/SGI/idb.pl
@@ -1,7 +1,9 @@
#!/usr/bin/perl
+require "pwd.pl" || die "Required pwd.pl not found";
# This perl script automatically generates the samba.idb file
+&initpwd;
$curdir = $ENV{"PWD"};
# get a complete list of all files in the tree