mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-08-14 15:17:46 +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;;
|
||||
esac
|
||||
done
|
||||
shift $((OPTIND - 1))
|
||||
|
||||
if [ $# -ne 2 ]; then
|
||||
echo >&2 "This script requires exactly two non-option arguments: COMMIT VERSION"
|
||||
|
||||
Reference in New Issue
Block a user