Create ./dev/opt directory

Otherwise the script fails due to missing directory
This commit is contained in:
Alex Kay 2021-09-02 09:54:01 -04:00 committed by GitHub
parent 89b8eb8d09
commit 8eeaa75e6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
echo "wireguird: cleaning..."
rm -r ./build/wireguird_amd64.deb
rm -r ./deb/opt/wireguird/
mkdir ./deb/opt/wireguird
mkdir -p ./deb/opt/wireguird
echo "wireguird: building go binary..."
go build -ldflags "-s -w" -trimpath -o ./deb/opt/wireguird/wireguird