Skip to content

Commit

Permalink
hardcode version numbers because version.h is not available when
Browse files Browse the repository at this point in the history
installed system wide; todo: script to globally update MAJOR/MINOR
  • Loading branch information
ivop committed Dec 14, 2013
1 parent ce1c80a commit 859a7d6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions rkmisc
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

MAJOR=`grep MAJOR version.h | { read A B C; echo $C; }`
MINOR=`grep MINOR version.h | { read A B C; echo $C; }`
MAJOR=5
MINOR=1

test "$#" -eq 2 || { cat << __EOF__
Expand Down
4 changes: 2 additions & 2 deletions rkpad
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

MAJOR=`grep MAJOR version.h | { read A B C; echo $C; }`
MINOR=`grep MINOR version.h | { read A B C; echo $C; }`
MAJOR=5
MINOR=1

test "$#" -eq 3 || { cat << __EOF__
Expand Down
4 changes: 2 additions & 2 deletions rkparameters
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

MAJOR=`grep MAJOR version.h | { read A B C; echo $C; }`
MINOR=`grep MINOR version.h | { read A B C; echo $C; }`
MAJOR=5
MINOR=1

test "$#" -eq 3 || { cat << __EOF__
Expand Down
4 changes: 2 additions & 2 deletions rkparametersblock
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

MAJOR=`grep MAJOR version.h | { read A B C; echo $C; }`
MINOR=`grep MINOR version.h | { read A B C; echo $C; }`
MAJOR=5
MINOR=1

test "$#" -eq 2 || { cat << __EOF__
Expand Down

0 comments on commit 859a7d6

Please sign in to comment.