Fixed build.sh for precise-engine package

This commit is contained in:
Matthew D. Scholefield 2019-04-15 23:41:50 +00:00
parent e1211d0af0
commit 61582187e9

View File

@ -32,8 +32,10 @@ package_scripts() {
tmp_name=$(mktemp).spec tmp_name=$(mktemp).spec
cat "precise.template.spec" | replace "%%SCRIPT%%" "$script" | replace "%%TRAIN_LIBS%%" "$train_libs" > "$tmp_name" cat "precise.template.spec" | replace "%%SCRIPT%%" "$script" | replace "%%TRAIN_LIBS%%" "$train_libs" > "$tmp_name"
pyinstaller -y "$tmp_name" pyinstaller -y "$tmp_name"
cp -R dist/$exe/* "dist/$combined_folder" if [ "$exe" != "$combined_folder" ]; then
rm -rf "dist/$exe" "build/$exe" cp -R dist/$exe/* "dist/$combined_folder"
rm -rf "dist/$exe" "build/$exe"
fi
echo "$exe" >> "$completed_file" echo "$exe" >> "$completed_file"
done done