bugfix: do not create the temporary menufile 'somewhere' in the filesystem but next to the final one
This commit is contained in:
parent
254bc96daf
commit
7a86dad21b
1 changed files with 2 additions and 2 deletions
|
@ -1898,8 +1898,8 @@ fi
|
||||||
|
|
||||||
# escapes any parentheses in menu label
|
# escapes any parentheses in menu label
|
||||||
# e.g., "[exec] (konqueror (web))" becomes "[exec] (konqueror (web\))"
|
# e.g., "[exec] (konqueror (web))" becomes "[exec] (konqueror (web\))"
|
||||||
sed 's/(\(.*\)(\(.*\)))/(\1 (\2\\))/' $MENUFILENAME > menu.tmp
|
sed 's/(\(.*\)(\(.*\)))/(\1 (\2\\))/' $MENUFILENAME > $MENUFILENAME.tmp
|
||||||
mv -f menu.tmp $MENUFILENAME
|
mv -f $MENUFILENAME.tmp $MENUFILENAME
|
||||||
|
|
||||||
if [ -z "$INSTALL" ]; then
|
if [ -z "$INSTALL" ]; then
|
||||||
if [ -z "$CHECKINIT" ]; then
|
if [ -z "$CHECKINIT" ]; then
|
||||||
|
|
Loading…
Reference in a new issue