[Dirvish] The FuhHoe post-server script
paul at debian.org
Fri Jul 1 15:48:15 UTC 2011
> I wondered if you had managed to have a look ?
Now I have.
I tried reproducing your error. I get "/bin/sh: TEST\: not found"
instead of your "no such file or directory", but tha's probably due to
It appears that some earlier patches not get it quite right.
They're labelled "SIS: KHL 2005-02-18 SpacesInSource fix".
Around line 544 DIRVISH_SRC is set to $env_srctree, which is an escaped
version of $srctree. However, $srctree (at this point anyway) is already
sufficiently escaped, it appears. Reverting the changes there fixes it
for me. The following patch should work:
--- /usr/sbin/dirvish.orig 2008-03-08 20:07:34.000000000 +0100
+++ /usr/sbin/dirvish 2011-07-01 17:47:23.333661517 +0200
@@ -534,14 +534,10 @@
printf SUMMARY "%s: %s\n", 'Backup-begin', strftime('%Y-%m-%d %H:%M:%S', localtime);
-$env_srctree = $srctree; #+SIS:
-$env_srctree =~ s/ /\\ /g; #+SIS:
$WRAPPER_ENV = sprintf (" %s=%s" x 5,
-#-SIS: 'DIRVISH_SRC', $srctree,
- 'DIRVISH_SRC', $env_srctree, #+SIS:
+ 'DIRVISH_SRC', $srctree,
More information about the Dirvish