Package: wordpress
Version: 3.6.1+dfsg-1~deb7u1
Severity: normal
I had a warning/failure during upgrade because of a plugin in
/var/lib/wordpress/wp-content/plugins that had space in its directory
name. It turns out to be due to improper quoting in /usr/bin/wp-setup.
Regards,
Oskar Liljeblad
--- wp-setup 2013-09-13 21:10:57.000000000 +0000
+++ /usr/bin/wp-setup 2013-09-16 06:32:07.186859142 +0000
@@ -44,10 +44,10 @@
is_symlink_to_standard_directory() {
local symlink="$1"
- if [ ! -h $symlink ]; then
+ if [ ! -h "$symlink" ]; then
return 1
fi
- target=$(readlink $symlink)
+ target=$(readlink "$symlink")
if [ "$target" = "${target##$WP_CONTENT_ORIG_DIR}" ]; then
return 1
fi
@@ -56,8 +56,8 @@
remove_symlink() {
local symlink="$1"
- echo -n "$(basename $symlink) "
- rm -f $symlink
+ echo -n "$(basename "$symlink") "
+ rm -f "$symlink"
}
sync_wp_content() {
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]