[Xfce4-commits] [xfce/thunar] 01/03: Fix ThunarBulkRename script not supporting spaces (bug #9713)

noreply at xfce.org noreply at xfce.org
Sun May 17 09:47:28 CEST 2015


This is an automated email from the git hooks/post-receive script.

hjudt pushed a commit to branch master
in repository xfce/thunar.

commit a438997fe7fbeaf62c0cb3ee674eaf00a17c4a8f
Author: Harald Judt <h.judt at gmx.at>
Date:   Fri May 15 21:05:00 2015 +0200

    Fix ThunarBulkRename script not supporting spaces (bug #9713)
    
    Quoting $@ seems to work fine.
---
 ThunarBulkRename.in |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/ThunarBulkRename.in b/ThunarBulkRename.in
index 401d16c..4b12403 100644
--- a/ThunarBulkRename.in
+++ b/ThunarBulkRename.in
@@ -1,7 +1,5 @@
 #!/bin/sh
 #
-# $Id$
-#
 # Copyright (c) 2006 Benedikt Meurer <benny at xfce.org>
 #
 # This program is free software; you can redistribute it and/or modify
@@ -22,6 +20,6 @@
 # This is an ugly hack, required because xfdesktop simply
 # strips off all parameters from the Exec field, and so
 # we cannot just invoke Thunar --bulk-rename %F there
-exec @bindir@/Thunar --bulk-rename $@
+exec @bindir@/Thunar --bulk-rename "$@"
 
 # vim:set ts=2 sw=2 et ai:

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list