mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-13 12:25:53 +01:00
- s/sprintf/snprintf
- updated some po's - fixed crash bug when removing WINDOWS_MENU or WORKSPACE_MENU from rootmenu - some other stuff i forgot
This commit is contained in:
@@ -77,8 +77,8 @@ for i in $*; do
|
||||
"--auto")
|
||||
auto="YES";;
|
||||
*)
|
||||
if echo $i |grep "^--locale=" &>/dev/null; then
|
||||
new_locale=$(echo $i |sed -e "s|--locale=||" -)
|
||||
if echo $i |grep "^--locale=" >/dev/null 2>&1; then
|
||||
new_locale=$(echo $i |sed -e "s|--locale=||")
|
||||
elif [ -z $family ]; then
|
||||
family=$i
|
||||
else
|
||||
@@ -333,6 +333,11 @@ for i in $DomainNames; do
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
tmp1="$j=\"`eval echo '${'$j'}'`\"" # cosmetic length workaround
|
||||
echo '<<<<'
|
||||
if [ ${#tmp1} -lt 80 ]; then
|
||||
tmp1=`echo $tmp1 | sed -e 's/^\(.\{1,76\}\).*/\1/'`
|
||||
fi
|
||||
eval _j="\$$j"
|
||||
echo $j="${_j}"
|
||||
$WDWRITE $i $j \"${_j}\"
|
||||
|
||||
Reference in New Issue
Block a user