[Box Backup-dev] COMMIT r689 - in box/chris/general: . test/bbackupd/testfiles
boxbackup-dev at fluffy.co.uk
boxbackup-dev at fluffy.co.uk
Tue Jul 25 23:51:05 BST 2006
Author: chris
Date: 2006-07-25 22:51:02 +0000 (Tue, 25 Jul 2006)
New Revision: 689
Modified:
box/chris/general/configure.ac
box/chris/general/test/bbackupd/testfiles/bbackupd.conf.in
Log:
* configure.ac
- Substitute PERL_NATIVE as "perl" on Win32, $PERL on all other platforms
* test/bbackupd/testfiles/bbackupd.conf.in
- Use PERL_NATIVE substitution to get the path that bbackupd should run
to execute the Perl notify script
Modified: box/chris/general/configure.ac
===================================================================
--- box/chris/general/configure.ac 2006-07-25 22:48:48 UTC (rev 688)
+++ box/chris/general/configure.ac 2006-07-25 22:51:02 UTC (rev 689)
@@ -32,6 +32,8 @@
case $target_os in
mingw*)
AC_DEFINE_UNQUOTED([PERL_EXECUTABLE], ["perl"], [Command to run Perl])
+ PERL_NATIVE=perl
+ AC_SUBST([PERL_NATIVE])
;;
*)
AC_DEFINE_UNQUOTED([PERL_EXECUTABLE], ["$PERL"],
Modified: box/chris/general/test/bbackupd/testfiles/bbackupd.conf.in
===================================================================
--- box/chris/general/test/bbackupd/testfiles/bbackupd.conf.in 2006-07-25 22:48:48 UTC (rev 688)
+++ box/chris/general/test/bbackupd/testfiles/bbackupd.conf.in 2006-07-25 22:51:02 UTC (rev 689)
@@ -23,7 +23,7 @@
CommandSocket = testfiles/bbackupd.sock
-NotifyScript = @PERL@ testfiles/notifyscript.pl
+NotifyScript = @PERL_NATIVE@ testfiles/notifyscript.pl
Server
{
More information about the Boxbackup-dev
mailing list