Message ID | 1405752728-18966-2-git-send-email-dev@codyps.com |
---|---|
State | Accepted |
Headers | show |
diff --git a/scripts/addToolVersion.sh b/scripts/addToolVersion.sh index 5822a4b..fe67c2d 100755 --- a/scripts/addToolVersion.sh +++ b/scripts/addToolVersion.sh @@ -167,7 +167,11 @@ addToolVersion() { # gdb-7.0 and above have special handling ver_M=$(getVersionField "${version}" . 1) if [ ${ver_M} -ge 7 ]; then - SedExpr1="${SedExpr1}\n select GDB_7_0_or_later" + if [ ${ver_m} -ge 2 ]; then + SedExpr1="${SedExpr1}\n select GDB_7_2_or_later" + else + SedExpr1="${SedExpr1}\n select GDB_7_0_or_later" + fi fi ;; esac
Signed-off-by: Cody P Schafer <dev@codyps.com> --- scripts/addToolVersion.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)