compat.sh: make options a bit more robust

This commit is contained in:
Manuel Pégourié-Gonnard 2014-10-24 12:47:26 +02:00
parent ada3030485
commit 85a4178f82

View file

@ -102,6 +102,10 @@ get_options() {
esac esac
shift shift
done done
# sanitize some options (modes checked later)
VERIFIES="$( echo $VERIFIES | tr [a-z] [A-Z] )"
TYPES="$( echo $TYPES | tr [a-z] [A-Z] )"
} }
log() { log() {