diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2013-06-10 13:52:46 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2013-06-10 14:36:13 +0200 |
commit | bbb2557bef2db73314ac0362178707cff3fa89b9 (patch) | |
tree | 8dd46860cb61bf1859ae502b33d6d9cd4dd07a24 /build_one.sh | |
parent | d2a0730603bc6ec5a4e2c57a47ee5c0d07f96706 (diff) | |
download | OSELAS.Toolchain-bbb2557bef2db73314ac0362178707cff3fa89b9.tar.gz OSELAS.Toolchain-bbb2557bef2db73314ac0362178707cff3fa89b9.tar.xz |
build_one.sh: also handle configs in subdirs
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'build_one.sh')
-rwxr-xr-x | build_one.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_one.sh b/build_one.sh index 8e3a8fb..0eca80b 100755 --- a/build_one.sh +++ b/build_one.sh @@ -15,7 +15,7 @@ if [ ${#config[@]} -gt 1 ]; then exit 1 fi -target="${config#ptxconfigs/}" +target="$(basename "${config}")" target="${target%.ptxconfig}" target="gstate/${target//_/-}.pkgs" |