Revision: | 1.1 |
Committed: | Thu Jul 16 13:39:12 2009 UTC (15 years, 9 months ago) by loizides |
Content type: | application/x-sh |
Branch: | MAIN |
Log Message: | Next step |
# | User | Rev | Content |
---|---|---|---|
1 | loizides | 1.1 | #!/bin/bash |
2 | # $Id:$ | ||
3 | |||
4 | hf=$1 | ||
5 | sf=`dirname $hf`/`basename $hf .h`.cc | ||
6 | sf=`echo $sf | replace interface src` | ||
7 | |||
8 | if ! test -e $sf; then | ||
9 | echo "Did not find source file for ${hf}, exiting." | ||
10 | exit 123; | ||
11 | fi | ||
12 | |||
13 | if test -e ${sf}.keep; then | ||
14 | mv ${sf}.keep ${sf} | ||
15 | fi |