|
|
|
|
6
|
# Is there any changes to this file?
|
6
|
# Is there any changes to this file?
|
7
|
THISCHANGES=`echo ${CHANGES} | grep ${1}`
|
7
|
THISCHANGES=`echo ${CHANGES} | grep ${1}`
|
8
|
|
8
|
|
9
|
- # Compile if the output doesn't exist, or the local version differs from SVN
|
|
|
|
|
9
|
+ # Compile if the output doesn't exist, or the local version differs from GIT
|
10
|
if [ ! -e ${2} -o "" != "${THISCHANGES}" ]; then
|
10
|
if [ ! -e ${2} -o "" != "${THISCHANGES}" ]; then
|
11
|
echo " Compiling: ${1} -> ${2}"
|
11
|
echo " Compiling: ${1} -> ${2}"
|
12
|
fpc -Sd -Twin32 ${1} >/dev/null 2>&1
|
12
|
fpc -Sd -Twin32 ${1} >/dev/null 2>&1
|