mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-09-10 20:29:55 +00:00
Fix save_config_history.sh when options are passed
Signed-off-by: Gilles Peskine <[email protected]>
This commit is contained in:
@@ -37,6 +37,7 @@ while getopts o:d: OPTLET; do
|
|||||||
*) usage >&2; exit 120;;
|
*) usage >&2; exit 120;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
shift $((OPTIND - 1))
|
||||||
|
|
||||||
if [ $# -ne 2 ]; then
|
if [ $# -ne 2 ]; then
|
||||||
echo >&2 "This script requires exactly two non-option arguments: COMMIT VERSION"
|
echo >&2 "This script requires exactly two non-option arguments: COMMIT VERSION"
|
||||||
|
|||||||
Reference in New Issue
Block a user