aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2010-02-28 19:16:46 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2010-02-28 19:16:46 (GMT)
commit7a86dad21b1d50b35857496c165e4e85cc0d2bd3 (patch)
treea0fbfb595cfb715e9b2434d13e98d8fb76c099a1 /util
parent254bc96daf7040f6d611478c88b7c35182520d70 (diff)
downloadfluxbox_pavel-7a86dad21b1d50b35857496c165e4e85cc0d2bd3.zip
fluxbox_pavel-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-xutil/fluxbox-generate_menu.in4
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\))"
1901sed 's/(\(.*\)(\(.*\)))/(\1 (\2\\))/' $MENUFILENAME > menu.tmp 1901sed 's/(\(.*\)(\(.*\)))/(\1 (\2\\))/' $MENUFILENAME > $MENUFILENAME.tmp
1902mv -f menu.tmp $MENUFILENAME 1902mv -f $MENUFILENAME.tmp $MENUFILENAME
1903 1903
1904if [ -z "$INSTALL" ]; then 1904if [ -z "$INSTALL" ]; then
1905 if [ -z "$CHECKINIT" ]; then 1905 if [ -z "$CHECKINIT" ]; then