[RELENG-16] error seen in running version.sh script Created: 30/May/15  Updated: 02/Jun/15  Resolved: 02/Jun/15

Status: Resolved
Project: releng
Component/s: Autorelease
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Navin Agrawal Assignee: Navin Agrawal
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 3453

 Description   

/home/user/odl/autorelease/scripts/version.sh: 56: [: bump: unexpected operator
/home/user/odl/autorelease/scripts/version.sh: 78: [: bump: unexpected operator
-e USAGE: versions <mode> <release-tag>

mode - bump|release
tag - example: Helium-SR1
user@ubuntu-18-43:~/capwap$



 Comments   
Comment by Thanh Ha (zxiiro) [ 02/Jun/15 ]

Seems to be an issue with using /bin/sh and not bash. The patch makes the script compatible with more shells.

Generated at Wed Feb 07 20:37:17 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.