summaryrefslogtreecommitdiffstats
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
commitf67e21f73ffa3bbb1f3bffae709219c86be236f6 (patch)
tree99173e28dcef218b2a207c37c89189e285ef9827
parent358fcbf2e4ca274d7ef34e3cac0bc7fd72732ec5 (diff)
downloadsamba-f67e21f73ffa3bbb1f3bffae709219c86be236f6.tar.gz
samba-f67e21f73ffa3bbb1f3bffae709219c86be236f6.tar.xz
samba-f67e21f73ffa3bbb1f3bffae709219c86be236f6.zip
fix for systems that don't have PWD environment variable defined
-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 c4a03c817bf..47cf16a5bcf 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