From 814e91dac3e8d36bdef5a323e08e2f3fefd8d74e Mon Sep 17 00:00:00 2001 From: Viktor Horvath <technique@alixen.fr> Date: Sun, 7 Oct 2012 22:55:11 +0200 Subject: [PATCH] Mioga compiles! A post-make-hook saves the "var/lib/mioga2" directory from the build path to the "location". --- software/mioga/mioga-postmakehook.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 software/mioga/mioga-postmakehook.py diff --git a/software/mioga/mioga-postmakehook.py b/software/mioga/mioga-postmakehook.py new file mode 100644 index 000000000..f44d9163a --- /dev/null +++ b/software/mioga/mioga-postmakehook.py @@ -0,0 +1,11 @@ + +# import fnmatch +import os +import shutil +# import pprint + +def post_make_hook(options, buildout): + location = options['location'] + print "Mioga - postmakehook" + print "We are currently in", os.getcwd() + shutil.move("var", location) -- 2.30.9