Skip to content
Snippets Groups Projects
Commit f4aebe10 authored by Andrew Coward's avatar Andrew Coward
Browse files

Fix manual_build.sh so that it sets and uses its options correctly. This has...

Fix manual_build.sh so that it sets and uses its options correctly. This has been used to build the latest manual with: ./manual_build.sh -p -r 4.2.0
parent 943b55d7
No related branches found
No related tags found
No related merge requests found
......@@ -21,11 +21,11 @@ Optional
-r Specify the release version number of the manual(s) instead of the branch name
EOF
exit 0 ;;
('p') x_p=0 ; shift ;;
('r') x_r=${OPTARG}; shift 2;;
('p') x_p=0 ;;
('r') x_r=${OPTARG} ;;
esac
done
shift $(($OPTIND));
shift $(( $OPTIND - 1 ));
VER_NUM=${x_r}
DRAFT=${x_p}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment