Tried it, love it ;-)
Since I alreadly strongly steal ASF CVSROOT stuff, my $CVSROOT/pre_commit now looks
like:
#!/bin/sh
if /home/cvs/bin/check_frozen commitinfo ${1+"$@"}; then
if /home/cvs/bin/cvs_acls ${1+"$@"}; then
if /home/cvs/bin/commit_prep ${1+"$@"}; then
exit 0
fi
fi
fi
exit 1
Works fine for me out of the box
--
+-----------------------------------------------+
| Philippe M. Chiasson <[EMAIL PROTECTED]> |
| SmartWorker http://www.smartworker.org |
| IM : gozerhbe ICQ : gozer/18279998 |
| 64.8% computer corrupt according to |
| http://www.freespeech.org/ljk/purity.html |
+-----------------------------------------------+
Yes, you can think of almost everything as a function, but
this may upset your wife.
-- Larry Wall
perl -e '$$=\${gozer};{$_=unpack(P26,pack(L,$$));/^Just Another Perl
Hacker!\n$/&&print||$$++&&redo}'
PGP signature