aboutsummaryrefslogtreecommitdiff
path: root/system/nano-syntax-highlighting/nano-syntax-highlighting.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/nano-syntax-highlighting/nano-syntax-highlighting.SlackBuild')
-rw-r--r--system/nano-syntax-highlighting/nano-syntax-highlighting.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/nano-syntax-highlighting/nano-syntax-highlighting.SlackBuild b/system/nano-syntax-highlighting/nano-syntax-highlighting.SlackBuild
index bdc09fff2f1fa..cb4b936042bd3 100644
--- a/system/nano-syntax-highlighting/nano-syntax-highlighting.SlackBuild
+++ b/system/nano-syntax-highlighting/nano-syntax-highlighting.SlackBuild
@@ -22,6 +22,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=nano-syntax-highlighting
VERSION=${VERSION:-20180827}
BUILD=${BUILD:-1}
@@ -29,7 +31,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}