aboutsummaryrefslogtreecommitdiff
path: root/network/wireguard-linux-compat/wireguard-linux-compat.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/wireguard-linux-compat/wireguard-linux-compat.SlackBuild')
-rw-r--r--network/wireguard-linux-compat/wireguard-linux-compat.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/wireguard-linux-compat/wireguard-linux-compat.SlackBuild b/network/wireguard-linux-compat/wireguard-linux-compat.SlackBuild
index 8ed12f6a6112e..6ad40941d2e43 100644
--- a/network/wireguard-linux-compat/wireguard-linux-compat.SlackBuild
+++ b/network/wireguard-linux-compat/wireguard-linux-compat.SlackBuild
@@ -23,6 +23,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wireguard-linux-compat
VERSION=${VERSION:-1.0.20210219}
BUILD=${BUILD:-1}
@@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}