From db4a95cfaf5b1edda39c864165d9b3b5b55d4cb6 Mon Sep 17 00:00:00 2001 From: Chesnokov Gleb Date: Tue, 11 Jan 2022 14:57:39 +0300 Subject: [PATCH] scripts/update-version: Also update the qla2x00t-32gbit version number Update the Q2T_VERSION_STRING for the qla2x00t-32gbit driver. Fixes: 0b3aad05 ("scripts/update-version: Also update the qla2x00t-32gbit version number") --- scripts/update-version | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/scripts/update-version b/scripts/update-version index aa1107b7b..16ef8ba9b 100755 --- a/scripts/update-version +++ b/scripts/update-version @@ -17,7 +17,16 @@ suffix=$4 fv=$major.$minor.$release$suffix reldate=$(date "+%d %B %Y") -sed -i "s,^\(#define[[:blank:]]*\(FT_VERSION\|ISCSI_VERSION_STRING\|Q2T_VERSION_STRING\|SCST_LOCAL_VERSION\|SCST_VERSION_NAME\|DRV_VERSION\|VERSION_STR\)[[:blank:]]*\)\"[^\"]*\",\1\"$major.$minor.$release$suffix\"," iscsi-scst/kernel/isert-scst/isert.c scst_local/scst_local.c srpt/src/ib_srpt.c fcst/fcst.h iscsi-scst/include/iscsi_scst_ver.h qla2x00t/qla2x00-target/qla2x00t.h scst/include/scst_const.h usr/include/version.h +sed -i "s,^\(#define[[:blank:]]*\(FT_VERSION\|ISCSI_VERSION_STRING\|Q2T_VERSION_STRING\|SCST_LOCAL_VERSION\|SCST_VERSION_NAME\|DRV_VERSION\|VERSION_STR\)[[:blank:]]*\)\"[^\"]*\",\1\"$major.$minor.$release$suffix\"," \ + iscsi-scst/kernel/isert-scst/isert.c \ + scst_local/scst_local.c \ + srpt/src/ib_srpt.c \ + fcst/fcst.h \ + iscsi-scst/include/iscsi_scst_ver.h \ + qla2x00t/qla2x00-target/qla2x00t.h \ + qla2x00t-32gbit/qla2x00-target/scst_qla2xxx.h \ + scst/include/scst_const.h \ + usr/include/version.h sed -i "s,^\(Version[[:blank:]]*\)[^[:blank:]]*\(\),\1$fv\2," doc/scst_user_spec.sgml sed -i "s/^Version .*/Version $fv, $reldate/" iscsi-scst/README qla2x00t/qla2x00-target/README scst/README usr/fileio/README sed -i "s/^\(\(static const char \*scst_local_version_date\|#define[[:blank:]]*DRV_RELDATE\)[[:blank:]]*\)\"[^\"]*\"/\1\"$reldate\"/" iscsi-scst/kernel/isert-scst/isert.c scst_local/scst_local.c srpt/src/ib_srpt.c