From: kokkiemouse Date: Sun, 6 Jun 2021 00:15:22 +0000 (+0900) Subject: fixed typo X-Git-Tag: 20210711~19^2~2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=7ab0d9181c14a1a7ad8d6070a47154e2c1a14984;p=alterlinux%2Falterlinux.git fixed typo Signed-off-by: kokkiemouse --- diff --git a/tools/menuconf-to-alterconf.sh b/tools/menuconf-to-alterconf.sh index d06cc318..dc25d50f 100755 --- a/tools/menuconf-to-alterconf.sh +++ b/tools/menuconf-to-alterconf.sh @@ -58,17 +58,18 @@ if [[ "${CONFIG_USE_CUSTOM_PASSWD}" = "y" ]]; then buf=`grep CONFIG_CUSTOM_PASSWD .config | sed -e 's/CONFIG_CUSTOM_PASSWD/password/g' ` eval "${buf}" fi +buf=`grep CONFIG_USE_CUSTOM_WORK .config` +eval "${buf}" +if [[ "${CONFIG_USE_CUSTOM_WORK}" = "true" ]]; then + buf=`grep CONFIG_CUSTOM_WORKDIR .config | sed -e 's/CONFIG_CUSTOM_WORKDIR/workdir/g' ` + eval "${buf}" +fi buf=`grep CONFIG_CHANNEL_N_A_M_E_ .config | sed -e 's/=y//g' | sed -e 's/CONFIG_CHANNEL_N_A_M_E_/channel=/g'` eval "${buf,,}" if [[ $USE_CUSTOM_LANG = "true" ]]; then buf=`grep CONFIG_CUSTOM_LANGUAGE .config | sed -e 's/CONFIG_CUSTOM_LANGUAGE/language/g' ` eval "${buf}" fi -eval "${buf,,}" -if [[ "${CONFIG_USE_CUSTOM_WORK}" = "true" ]]; then - buf=`grep CONFIG_CUSTOM_WORKDIR .config | sed -e 's/CONFIG_CUSTOM_WORKDIR/workdir/g' ` - eval "${buf}" -fi echo build option : [[ -n "${language}" ]] && echo " Language : ${language}"