wok diff openbox/stuff/open-folder-menu.sh @ rev 21988

Up sudo (1.8.28) CVE-2019-14287
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 15 10:14:15 2019 +0200 (2019-10-15)
parents 4434891fab1c
children
line diff
     1.1 --- a/openbox/stuff/open-folder-menu.sh	Fri Aug 02 15:13:41 2013 +0300
     1.2 +++ b/openbox/stuff/open-folder-menu.sh	Tue Oct 15 10:14:15 2019 +0200
     1.3 @@ -4,7 +4,7 @@
     1.4  #
     1.5  echo '<openbox_pipe_menu>'
     1.6  
     1.7 -bookmarks="~ $(whoami)
     1.8 +bookmarks="#$(whoami)
     1.9  ~/Desktop $(gettext gtk20 Desktop)
    1.10  $(cat ~/.gtk-bookmarks)"
    1.11  
    1.12 @@ -12,7 +12,7 @@
    1.13  '
    1.14  for dir in $bookmarks; do
    1.15  	cat << EOT
    1.16 -	<item label="$(echo $dir | sed 's|^[^ ]* ||')">
    1.17 +	<item label="$(echo $dir | sed -e 's|^[^ ]* ||' -e 's|#||')">
    1.18  		<action name="Execute">
    1.19  			<execute>file-manager $(echo $dir | awk '{print $1}')</execute>
    1.20  		</action>