[Pkg-voip-commits] r3017 - asterisk/trunk/debian
Lionel Elie Mamane
lionel at mamane.lu
Fri Jan 26 13:03:00 CET 2007
(Sorry for having disappeared for these two weeks.)
On Sun, Jan 14, 2007 at 01:39:23PM +0100, Kilian Krause wrote:
> --- asterisk/trunk/debian/asterisk_fix 2007-01-13 19:24:44 UTC (rev 3016)
> +++ asterisk/trunk/debian/asterisk_fix 2007-01-14 12:39:23 UTC (rev 3017)
> @@ -48,7 +48,7 @@
> fi
> else
> echo -n "Updating private callerintros location to /var/lib/asterisk/sounds/priv-callerintros"
> - find /usr/share/asterisk/sounds/priv-callerintros -mindepth 1 -maxdepth 1 -exec mv {} /var/lib/asterisk/sounds/priv-callerintros \;
> + find /usr/share/asterisk/sounds/priv-callerintros -mindepth 1 -maxdepth 1 -exec mv "'{}'" /var/lib/asterisk/sounds/priv-callerintros \;
> rmdir /usr/share/asterisk/sounds/priv-callerintros
> echo "."
> fi
Have you tested that code path after that change? That looks like it
won't work:
lionelm at harif:~/t$ ls
foo
lionelm at harif:~/t$ find . -mindepth 1 -exec mv "'{}'" b ';'
mv: cannot stat `\'./foo\'': No such file or directory
You want '{}', not "'{}'", /me thinks.
--
Lionel
More information about the Pkg-voip-maintainers
mailing list