fix for systems that don't have PWD environment variable defined
authorHerb Lewis <herb@samba.org>
Mon, 1 Dec 1997 22:49:09 +0000 (22:49 +0000)
committerHerb Lewis <herb@samba.org>
Mon, 1 Dec 1997 22:49:09 +0000 (22:49 +0000)
(This used to be commit f67e21f73ffa3bbb1f3bffae709219c86be236f6)

packaging/SGI/idb.pl

index c4a03c817bfcd7617baf2f67c2692577faf462e9..47cf16a5bcffa68fb60daf8251129d2a53d19045 100755 (executable)
@@ -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