#!/bin/sh
#
# This file should only be run automatically by make, not directly by
# the user.
#
# This script is part of the SUIF version control system.  It takes
# one or two arguments.  The first argument is the name of the file in
# question and the second, if present, is the version label.  This
# script checks to make sure that no version number was specified.  If
# it was, an error message is given and an error condition is
# returned.  Otherwise, there is no effect and the script exits
# normally.

if (test ${2}"" = "") ; then
    exit 0
fi

echo "version was specified but writable "${1}" exists"
exit 1
