Fixed build.sh for precise-engine package
This commit is contained in:
parent
e1211d0af0
commit
61582187e9
2
build.sh
2
build.sh
@ -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"
|
||||||
|
if [ "$exe" != "$combined_folder" ]; then
|
||||||
cp -R dist/$exe/* "dist/$combined_folder"
|
cp -R dist/$exe/* "dist/$combined_folder"
|
||||||
rm -rf "dist/$exe" "build/$exe"
|
rm -rf "dist/$exe" "build/$exe"
|
||||||
|
fi
|
||||||
echo "$exe" >> "$completed_file"
|
echo "$exe" >> "$completed_file"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user