summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrtems-bsps3
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=""