aboutsummaryrefslogtreecommitdiff
path: root/network/syncthing/syncthing.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/syncthing/syncthing.SlackBuild')
-rw-r--r--network/syncthing/syncthing.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/syncthing/syncthing.SlackBuild b/network/syncthing/syncthing.SlackBuild
index a095a404aeefe..a2881ca369d87 100644
--- a/network/syncthing/syncthing.SlackBuild
+++ b/network/syncthing/syncthing.SlackBuild
@@ -21,6 +21,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=syncthing
VERSION=${VERSION:-1.14.0}
BUILD=${BUILD:-1}
@@ -43,7 +45,6 @@ else
exit 1
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}