Fix togglex: handle filenames with spaces

This commit is contained in:
Arun Prakash Jana 2020-12-15 22:51:25 +05:30
parent fc3a247c31
commit 9946b37177
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -17,4 +17,4 @@ if [ ! -s "$selection" ]; then
exit exit
fi 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"