Skip to content
Commits on Source (3)
# -*-Mode: Makefile;-*-
#
# --------------------------------------------------------------------------------
# variables listed here are automatically exported to sub-makefiles
# documentation for single variables can be found in ../../SOURCE_TOOLS/parent_make.txt
export AISC_SAVE
export AUTODEPENDS
export CLIENTCOMPILER
export COMPILER
export LINK_STATIC_LIB
export MAIN_SOURCE
export PRIVATE_SERVER_OBJECTS
export POST_COMPILE
#!/bin/bash
if [ -z "$2" ] ; then
echo "Usage: mv_if_diff source target"
echo "Moves source to target."
echo "If target does not differ from source, target is kept untouched."
echo "If target does not exist, source is always moved to target."
echo "source always gets removed."
exit 1
fi
if [ -f "$2" ]; then
DIFF=`diff $1 $2 | wc -l`
if [ $DIFF = 0 ] ; then
echo "$2 did not change."
rm $1
else
echo "$2 updated."
mv $1 $2
fi
else
echo "$2 created."
mv $1 $2
fi
CANDIDATE=3
MAJOR=6
MINOR=0
PATCHLEVEL=6
last_upgrade=1471855920