mysteriumnetwork / go-openvpn

GNU Affero General Public License v3.0
119 stars 34 forks source link

Remake scripts to work with relative path instead of `/go-src-root` #18

Open Waldz opened 6 years ago

Waldz commented 6 years ago
grep -r "/go-src-root" scripts

scripts/x-compile-ios.sh:LIB_OUT="/go-src-root/openvpn3/bridge/libopenvpn3_${LIBSUFFIX}.a"
scripts/x-compile-windows.sh:LIB_OUT="/go-src-root/openvpn3/bridge/libopenvpn3_${LIBSUFFIX}.a"
scripts/x-compile-windows.sh:MORE_LIBS=${libs[@]} /go-src-root/scripts/concat-libs.sh $LIB_OUT library.o
scripts/xgo_run.sh:    -v $(pwd):/go-src-root/ \
scripts/xgo_run.sh:    -w /go-src-root/ \
scripts/build-bridge.sh:. /go-src-root/scripts/helpers.sh
scripts/build-bridge.sh:cd /go-src-root/build
scripts/build-bridge.sh:rm -rf /go-src-root/openvpn3/bridge/*.a /go-src-root/openvpn3/bridge/*.h
scripts/build-bridge.sh:cp -f core/adapter/*.h /go-src-root/openvpn3/bridge/.
scripts/build-bridge.sh:#/go-src-root/scripts/x-compile-linux.sh
scripts/build-bridge.sh:/go-src-root/scripts/x-compile-mac.sh
scripts/build-bridge.sh:#/go-src-root/scripts/x-compile-windows.sh
scripts/build-bridge.sh:#/go-src-root/scripts/x-compile-ios.sh
scripts/build-bridge.sh:#/go-src-root/scripts/x-compile-android.sh
scripts/x-compile-android.sh:LIB_OUT="/go-src-root/openvpn3/bridge/libopenvpn3_${LIBSUFFIX}.a"
scripts/x-compile-android.sh:MORE_LIBS=${libs[@]} /go-src-root/scripts/concat-libs.sh $LIB_OUT library.o
scripts/x-compile-linux.sh:LIB_OUT="/go-src-root/openvpn3/bridge/libopenvpn3_${LIBSUFFIX}.a"
scripts/x-compile-linux.sh:MORE_LIBS=${libs[@]} /go-src-root/scripts/concat-libs.sh $LIB_OUT library.o
scripts/x-compile-mac.sh:LIB_OUT="/go-src-root/openvpn3/bridge/libopenvpn3_${LIBSUFFIX}.a"
Waldz commented 6 years ago

When it is done, will be possible stop mounting -v $(pwd):/go-src-root/ in scripts/xgo_run.sh