From 38ded8f15bee6eee3e3e69fd029f0d74d5b71477 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Czarnecki?= Date: Tue, 7 Jun 2022 16:41:56 +0200 Subject: [PATCH] wrappers: sh: ql: remove MYPATH env var MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Paweł Czarnecki --- f4pga/wrappers/sh/quicklogic/write_binary.f4pga.sh | 4 +--- f4pga/wrappers/sh/quicklogic/write_bitheader.f4pga.sh | 4 +--- f4pga/wrappers/sh/quicklogic/write_jlink.f4pga.sh | 4 +--- f4pga/wrappers/sh/quicklogic/write_openocd.f4pga.sh | 4 +--- 4 files changed, 4 insertions(+), 12 deletions(-) diff --git a/f4pga/wrappers/sh/quicklogic/write_binary.f4pga.sh b/f4pga/wrappers/sh/quicklogic/write_binary.f4pga.sh index 4bb036c..f3805ff 100644 --- a/f4pga/wrappers/sh/quicklogic/write_binary.f4pga.sh +++ b/f4pga/wrappers/sh/quicklogic/write_binary.f4pga.sh @@ -20,9 +20,7 @@ set -e PYTHON3=`which python3` -MYPATH=$(dirname "$(readlink -f "$BASH_SOURCE")") - -source ${MYPATH}/env +source $(dirname "$(readlink -f "$BASH_SOURCE")")/env BIT2BINARY="${PYTHON3} -m quicklogic_fasm.bitstream_to_binary" diff --git a/f4pga/wrappers/sh/quicklogic/write_bitheader.f4pga.sh b/f4pga/wrappers/sh/quicklogic/write_bitheader.f4pga.sh index f3f0999..a5d6865 100644 --- a/f4pga/wrappers/sh/quicklogic/write_bitheader.f4pga.sh +++ b/f4pga/wrappers/sh/quicklogic/write_bitheader.f4pga.sh @@ -20,9 +20,7 @@ set -e PYTHON3=`which python3` -MYPATH=$(dirname "$(readlink -f "$BASH_SOURCE")") - -source ${MYPATH}/env +source $(dirname "$(readlink -f "$BASH_SOURCE")")/env BIT2HEADER="${PYTHON3} -m quicklogic_fasm.bitstream_to_header" diff --git a/f4pga/wrappers/sh/quicklogic/write_jlink.f4pga.sh b/f4pga/wrappers/sh/quicklogic/write_jlink.f4pga.sh index 040bfbe..2f42483 100644 --- a/f4pga/wrappers/sh/quicklogic/write_jlink.f4pga.sh +++ b/f4pga/wrappers/sh/quicklogic/write_jlink.f4pga.sh @@ -20,9 +20,7 @@ set -e PYTHON3=`which python3` -MYPATH=$(dirname "$(readlink -f "$BASH_SOURCE")") - -source ${MYPATH}/env +source $(dirname "$(readlink -f "$BASH_SOURCE")")/env BIT2JLINK="${PYTHON3} -m quicklogic_fasm.bitstream_to_jlink" diff --git a/f4pga/wrappers/sh/quicklogic/write_openocd.f4pga.sh b/f4pga/wrappers/sh/quicklogic/write_openocd.f4pga.sh index 38918a7..ff59d46 100644 --- a/f4pga/wrappers/sh/quicklogic/write_openocd.f4pga.sh +++ b/f4pga/wrappers/sh/quicklogic/write_openocd.f4pga.sh @@ -20,9 +20,7 @@ set -e PYTHON3=`which python3` -MYPATH=$(dirname "$(readlink -f "$BASH_SOURCE")") - -source ${MYPATH}/env +source $(dirname "$(readlink -f "$BASH_SOURCE")")/env BIT2OPENOCD="${PYTHON3} -m quicklogic_fasm.bitstream_to_openocd"