Skip to content
Snippets Groups Projects
Commit b2762ed4 authored by Jan-Tarek Butt's avatar Jan-Tarek Butt
Browse files

buildscript.sh: fix make manifest image dir

parent 86e8eb46
No related branches found
No related tags found
No related merge requests found
......@@ -294,7 +294,15 @@ case "$1" in
esac
;;
"create_manifest")
make -C "$EXECDIR/.." manifest
if ! [ -r "$EXECDIR"/.prepare ]; then
echo "please run the prepare mode first"
exit 1
fi
if [ -a "$EXECDIR/.BROKEN" ]; then
make -C "$EXECDIR/.." manifest BROKEN=1 GLUON_IMAGEDIR="output/images/$(cat "$EXECDIR/.prepare")/$(cat "$EXECDIR/.GLUON_RELEASE")" GLUON_PACKAGEDIR="output/packages/$(cat "$EXECDIR/.prepare")"
else
make -C "$EXECDIR/.." manifest GLUON_IMAGEDIR="output/images/$(cat "$EXECDIR/.prepare")/$(cat "$EXECDIR/.GLUON_RELEASE")" GLUON_PACKAGEDIR="output/packages/$(cat "$EXECDIR/.prepare")"
fi
;;
*)
help_print
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment