source: git/Singular/testgh @ 60dcbbc

spielwiese
Last change on this file since 60dcbbc was 08405a, checked in by Hans Schönemann <hannes@…>, 21 years ago
*hannes: fix filenames for new bison git-svn-id: file:///usr/local/Singular/svn/trunk@6583 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 337 bytes
Line 
1#!/bin/sh
2if [ -f grammar.hh ]
3then
4  mv grammar.hh grammar.cc.h
5fi
6if [ -f grammar.h ]
7then
8  if diff grammar.cc.h grammar.h >/dev/null
9  then
10    echo grammar.h was okay
11    /bin/rm grammar.cc.h
12  else
13    echo generating new grammar.h
14    mv grammar.cc.h grammar.h
15  fi
16else
17  echo generating grammar.h
18  mv grammar.cc.h grammar.h
19fi
Note: See TracBrowser for help on using the repository browser.