aboutsummaryrefslogtreecommitdiffstats
path: root/library/sodium-plus/build/remove-sodium-native.sh
blob: f09a5b274d6e91d90e730f0f317f06da4f47daf3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env bash
basedir=$(dirname $(readlink -f ${BASH_SOURCE[0]}))
path="${basedir}/pre-build.patch"

git apply --check "${path}"
ret=$?
if [[ $ret -ne 0 ]]; then
  exit "${ret}"
fi
git apply "${path}"
ret=$?
exit $ret