summaryrefslogtreecommitdiff
path: root/docker/builder.sh
blob: dad78001cc3d2fa100ea4047c247ce67a2550045 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
set -e
export DESTDIR=/bitmask-vpn.orig/deploy/
rm -rf /bitmask-vpn
cp -r /bitmask-vpn.orig /bitmask-vpn
cd /bitmask-vpn
make prepare
make build
case $XBUILD in
    win)
        make package_win
        ;;
    osx)
        make package_osx
        ;;
    yes)
        make packages
        ;;
esac
cp  /bitmask-vpn/deploy/* $DESTDIR