Lines 12-18
Link Here
|
12 |
|
12 |
|
13 |
# Ensure the old version exists at the end of the argument list |
13 |
# Ensure the old version exists at the end of the argument list |
14 |
OLDVERSION=`echo "$*" | sed -e "s/^.* \([^ ]*\)/\1/"` |
14 |
OLDVERSION=`echo "$*" | sed -e "s/^.* \([^ ]*\)/\1/"` |
15 |
VTEST=`echo "$OLDVERSION" | sed -e 's/^1\.8\.[01234678]$/OKAY/' -e 's/^1\.10\.[01]$/OKAY/'` |
15 |
VTEST=`echo "$OLDVERSION" | sed -e 's/^1\.8\.[01234678]$/OKAY/' -e 's/^1\.10\.[0123]$/OKAY/'` |
16 |
if [ "${VTEST}" != "OKAY" ] |
16 |
if [ "${VTEST}" != "OKAY" ] |
17 |
then |
17 |
then |
18 |
echo "Version $OLDVERSION unknown." |
18 |
echo "Version $OLDVERSION unknown." |