diff options
author | Chris Johns <chrisj@rtems.org> | 2018-04-09 14:56:43 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2018-04-09 14:56:43 +1000 |
commit | 1ce7bcb950976764f0e6a3b782a65cd21c9e8d2d (patch) | |
tree | 66b7ae13ceb1868624c4ff82d34eeb67469d65c2 /rtems-bsps | |
parent | d03ec77d098610f1067b3e408dcf5a02f955ba6e (diff) |
Allow rtems-bsps to be run from any path.
Diffstat (limited to 'rtems-bsps')
-rwxr-xr-x | rtems-bsps | 3 |
1 files changed, 2 insertions, 1 deletions
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="" |