aboutsummaryrefslogtreecommitdiff
path: root/system/stm32flash
diff options
context:
space:
mode:
Diffstat (limited to 'system/stm32flash')
-rw-r--r--system/stm32flash/stm32flash.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/stm32flash/stm32flash.SlackBuild b/system/stm32flash/stm32flash.SlackBuild
index 0a289b688bf57..260ddfb8023df 100644
--- a/system/stm32flash/stm32flash.SlackBuild
+++ b/system/stm32flash/stm32flash.SlackBuild
@@ -20,6 +20,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=stm32flash
VERSION=${VERSION:-0.5}
BUILD=${BUILD:-1}
@@ -33,7 +35,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}