diff options
author | Alexey Neyman <stilor@att.net> | 2019-02-09 15:55:16 -0800 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2019-02-09 15:55:16 -0800 |
commit | 74a53fdf3eb383f09bdbf0d4adf8d2e26f838bd1 (patch) | |
tree | 59f7c27a3d83f8ede979e58407c0a40c2d75b10b /scripts/version-check.sh | |
parent | 09cb590847e5e26e5bb029c1a2693cfa7a1e99b6 (diff) | |
download | crosstool-ng-74a53fdf3eb383f09bdbf0d4adf8d2e26f838bd1.tar.gz crosstool-ng-74a53fdf3eb383f09bdbf0d4adf8d2e26f838bd1.tar.bz2 crosstool-ng-74a53fdf3eb383f09bdbf0d4adf8d2e26f838bd1.zip |
Use enhanced framework for 'ct-ng update-samples'
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/version-check.sh')
-rw-r--r-- | scripts/version-check.sh | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/scripts/version-check.sh b/scripts/version-check.sh index f49b1d8d..1f4fea41 100644 --- a/scripts/version-check.sh +++ b/scripts/version-check.sh @@ -141,7 +141,6 @@ set_opt_and_val() # Main upgrade driver. One version at a time, read line by line, interpret # the options and replace anything that needs replacing. -cp "${CFGFILE}" "${CFGFILE}.before-upgrade" input="${CFGFILE}" while :; do # Purge any possibly stale values @@ -181,7 +180,7 @@ while :; do q= if set_opt_and_val; then case "${opt}" in - CT_CONFIG_VERSION_CURRENT=*|CT_CONFIG_VERSION=*) + CT_CONFIG_VERSION_CURRENT|CT_CONFIG_VERSION) continue ;; esac @@ -213,10 +212,3 @@ while :; do # keep the versions where there is such a dependency. done mv "${CFGFILE}.${MY_CONFIG_VERSION_CURRENT}" "${CFGFILE}" -cp "${CFGFILE}" "${CFGFILE}.before-olddefconfig" -cat >&2 <<EOF - -Done. The original '${CFGFILE}' has been saved as '${CFGFILE}.before-upgrade'. -Will now run through 'ct-ng olddefconfig'. The intermediate configuration (after the upgrade script, -but before running 'ct-ng olddefconfig') has been saved as '${CFGFILE}.before-olddefconfig'. -EOF |