X-Git-Url: https://git.ucc.asn.au/?p=progcomp2013.git;a=blobdiff_plain;f=qchess%2Fupdate.sh;h=bec40eacca5f653b0ac81b954050cb62ecffe0a5;hp=6993e3985e541f6f3c38fa4a5f8f347ce1c9466f;hb=707e794d26062516eb4188d1cd2902929613c46b;hpb=bfa63f1a2dc9c66399f8159857d4cc54f038eaa2;ds=sidebyside diff --git a/qchess/update.sh b/qchess/update.sh old mode 100755 new mode 100644 index 6993e39..bec40ea --- a/qchess/update.sh +++ b/qchess/update.sh @@ -2,7 +2,11 @@ # I still can't believe I am doing this -# (This can't be done with gnu make, because of circular dependency issues) +# This updates the component files from the target, as well as the target from the components +# You can't do that with gnu make, because of the circular dependency +# But this should probably not be used by any sane person + +exit 1 target=qchess.py components="piece.py board.py player.py network.py thread_util.py game.py graphics.py main.py" @@ -23,7 +27,6 @@ else merge_required=true - echo " for f in $components; do component_mod=$(stat -c %Y $f 2>/dev/null) @@ -51,7 +54,7 @@ else merge_required=true fi done - " > /dev/null + fi