Update of /cvsroot/sandweb/sandweb/tools
In directory sc8-pr-cvs1:/tmp/cvs-serv8043/tools
Modified Files:
install_script.pl
Log Message:
ah, another standalone binary that SandWeb depends on :)
This is a shell script that acts as CVSEDITOR.
So, instead of dealing with the security nightmare of passing the
commit message on the command line (cvs commit -m "$message"), now
we can just (CVSEDITOR=/usr/bin/sandweb-editor && export CVSEDITOR ) first,
and write the commit message to $sandweb_dir/commitmsg
This is very similar to the way we pass the VCS password to sandweb-expect
(that's where I got the inspiration from).
Index: install_script.pl
===================================================================
RCS file: /cvsroot/sandweb/sandweb/tools/install_script.pl,v
retrieving revision 1.20
retrieving revision 1.21
diff -U2 -r1.20 -r1.21
--- install_script.pl 6 Jan 2003 09:02:27 -0000 1.20
+++ install_script.pl 4 Mar 2003 07:19:45 -0000 1.21
@@ -42,4 +42,5 @@
$bindir = instbin($bindir, 'sandweb-admin');
$bindir = instbin($bindir, 'sandweb-expect');
+$bindir = instbin($bindir, 'sandweb-editor');
# errors
|