source: docker/context/build.sh@ 955:d98b211d32fa

python3
Last change on this file since 955:d98b211d32fa was 939:de728888b85e, checked in by István Váradi <ivaradi@…>, 6 years ago

The Docker/Wine-based build infrastructure works for Python 3 (re #347)

  • Property exe set to *
File size: 646 bytes
RevLine 
[916]1#!/bin/bash
2
3set -e -u
4
5scriptdir=$(cd $(dirname $0) && pwd)
6
7sdistname="${1}"
8uid="${2}"
9gid="${3}"
10
11mlxdirname=$(basename "${sdistname}" .tar.gz)
12version=$(echo "${mlxdirname}" | sed "s:mlx-::")
13
14cd "${scriptdir}"
15
16tar xf "dist/${sdistname}"
17
18cd "${mlxdirname}"
19
[939]20export WINE=yes
21./makeinst.sh
[916]22
23echo
24echo "Copying the 'dist' directory..."
25destdistdir="../dist/dist-${version}"
26
27rm -rf "${destdistdir}"
28cp -a dist "${destdistdir}"
29chown -R ${uid}:${gid} "${destdistdir}"
30
31echo
32echo "Copying the setup program..."
33
34cp "MAVA Logger X-${version}-Setup.exe" ../dist
35chown ${uid}:${gid} "../dist/MAVA Logger X-${version}-Setup.exe"
36
37echo
38echo "Done."
Note: See TracBrowser for help on using the repository browser.