We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d39f9f6 commit 178a4bbCopy full SHA for 178a4bb
bootstrap-osg-test
@@ -13,12 +13,19 @@ on_error_die()
13
fi
14
}
15
16
-if [ $# -ne 1 ]; then
17
- echo "Usage: $0 <OSG RELEASE>"
+if [ $# -lt 1 ]; then
+ echo "Requires the major version number, i.e. 3.2 for 3.2.0"
18
+ echo "usage: $0 <major version> [testing|development]"
19
exit 1
20
21
-version=$1
22
+if [[ $1 =~ ^[0-9]+\.[0-9]+$ ]]; then
23
+ version=$1
24
+else
25
+ echo "Major version should be in the form of '<number>.<number>, i.e. 3.2"
26
27
+ exit 1
28
+fi
29
30
# Determine platform-specific details
31
release=`cat /etc/redhat-release`
0 commit comments