From 1ce7bcb950976764f0e6a3b782a65cd21c9e8d2d Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Mon, 9 Apr 2018 14:56:43 +1000 Subject: Allow rtems-bsps to be run from any path. --- rtems-bsps | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rtems-bsps') diff --git a/rtems-bsps b/rtems-bsps index cff020fbb3..6bee5fa7e0 100755 --- a/rtems-bsps +++ b/rtems-bsps @@ -1,6 +1,7 @@ #! /bin/sh -base="c/src/lib/libbsp" +top=$(dirname $0) +base="${top}/c/src/lib/libbsp" base_e=$(echo ${base} | sed -e 's/\//\\\//g') last_arch="" -- cgit v1.2.3