Commit ba08c47c authored by Kristina Hoeppner's avatar Kristina Hoeppner
Browse files

Removed lines that required version number to start with 1

Now that we are at Mahara 20.04, the generating of the files
wouldn't have worked any more.
parent 7fd6b8a2
......@@ -12,12 +12,6 @@ if [ -z $1 ]; then
branch=$(git symbolic-ref HEAD|sed "s/refs\/heads\///")
echo "Mahara version not specified; determining from user-manual git branch: $branch"
version=$(echo $branch|sed "s/_.*//")
# Could do with a better test here, but for now this works:
if [ ! "$(echo $version|grep ^1)" = "$version" ]; then
echo "Failed to find a version."
exit 1
echo "Obtained version: $version"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment