diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2010-02-28 19:16:46 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2010-02-28 19:16:46 (GMT) |
commit | 7a86dad21b1d50b35857496c165e4e85cc0d2bd3 (patch) | |
tree | a0fbfb595cfb715e9b2434d13e98d8fb76c099a1 /util | |
parent | 254bc96daf7040f6d611478c88b7c35182520d70 (diff) | |
download | fluxbox_paul-7a86dad21b1d50b35857496c165e4e85cc0d2bd3.zip fluxbox_paul-7a86dad21b1d50b35857496c165e4e85cc0d2bd3.tar.bz2 |
bugfix: do not create the temporary menufile 'somewhere' in the filesystem but next to the final one
Diffstat (limited to 'util')
-rwxr-xr-x | util/fluxbox-generate_menu.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/fluxbox-generate_menu.in b/util/fluxbox-generate_menu.in index 7fb5ef7..ee36457 100755 --- a/util/fluxbox-generate_menu.in +++ b/util/fluxbox-generate_menu.in | |||
@@ -1898,8 +1898,8 @@ fi | |||
1898 | 1898 | ||
1899 | # escapes any parentheses in menu label | 1899 | # escapes any parentheses in menu label |
1900 | # e.g., "[exec] (konqueror (web))" becomes "[exec] (konqueror (web\))" | 1900 | # e.g., "[exec] (konqueror (web))" becomes "[exec] (konqueror (web\))" |
1901 | sed 's/(\(.*\)(\(.*\)))/(\1 (\2\\))/' $MENUFILENAME > menu.tmp | 1901 | sed 's/(\(.*\)(\(.*\)))/(\1 (\2\\))/' $MENUFILENAME > $MENUFILENAME.tmp |
1902 | mv -f menu.tmp $MENUFILENAME | 1902 | mv -f $MENUFILENAME.tmp $MENUFILENAME |
1903 | 1903 | ||
1904 | if [ -z "$INSTALL" ]; then | 1904 | if [ -z "$INSTALL" ]; then |
1905 | if [ -z "$CHECKINIT" ]; then | 1905 | if [ -z "$CHECKINIT" ]; then |