From 6b76da498366667b830c4da85082cb4b126dc84a Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 8 Nov 2021 22:09:17 +0100 Subject: [PATCH] build.sh --- build.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/build.sh b/build.sh index 93fe93e..6e483d0 100755 --- a/build.sh +++ b/build.sh @@ -1,7 +1,7 @@ -#! /bin/bash -FILE="$(realpath "${BASH_SOURCE[0]}")" -DIRECTORY="$(dirname "${FILE}")" +#! /usr/bin/env bash +BASH_FILE="$(realpath "${BASH_SOURCE[0]}")" +BASH_ROOT="$(dirname "${FILE}")" -cd "${DIRECTORY}" -make clean -make publish +cd "${BASH_ROOT}" +make 'clean' +make 'publish'