Fix symlinking to .mozconfig for saveas feature.

git-svn-id: svn://10.0.0.236/trunk@30405 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
slamm%netscape.com
1999-05-05 19:36:51 +00:00
parent 0ac7f2ac8c
commit d89d1c6684

View File

@@ -232,7 +232,7 @@ sub print_script {
sub print_configure_form {
mkdir 'configure-mirror', 0777 if not -d 'configure-mirror';
system 'echo :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot Ay=0=a%0bZ | cat > configure-mirror/.cvspass' if not -f 'configure-mirror/.cvspass';
link 'config.cgi', '.mozconfig' if not -f '.mozconfig';
symlink 'config.cgi', '.mozconfig' if not -f '.mozconfig';
# Set the HOME variable to pick up '.cvspass' for cvs login
system "cd configure-mirror && HOME=. cvs -d $CVSROOT co mozilla/configure.in > /dev/null 2>&1";