commit 9946b371777f36d57306da4503a8d73776595a7a parent fc3a247c317ca414eb5ec23bb24da6735cd91f77 Author: Arun Prakash Jana <engineerarun@gmail.com> Date: Tue, 15 Dec 2020 22:51:25 +0530 Fix togglex: handle filenames with spaces Diffstat:
| M | plugins/togglex | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/togglex b/plugins/togglex @@ -17,4 +17,4 @@ if [ ! -s "$selection" ]; then exit fi -xargs -0 -I {} sh -c 'if [ -x {} ] ; then chmod -x {} ; else chmod +x {} ; fi' < "$selection" +xargs -0 -I {} sh -c 'if [ -x "{}" ] ; then chmod -x "{}" ; else chmod +x "{}" ; fi' < "$selection"