From 2afeee3d56c20a6f3dc9b36bd73996f5495dd9f5 Mon Sep 17 00:00:00 2001 From: idk Date: Thu, 17 Feb 2022 16:31:14 -0500 Subject: [PATCH] make build.sh forcibly change to i2p.firefox directory before running, it won't work from anywhere else --- build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.sh b/build.sh index 1d54f7a..4cb51f5 100755 --- a/build.sh +++ b/build.sh @@ -1,6 +1,9 @@ #!/bin/bash set -e +SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) +cd "$SCRIPT_DIR" || exit 1 + . i2pversion if [ -f i2pversion_override ]; then