diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-01 09:40:19 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-01 09:40:19 +0100 |
commit | 0a9ca018d598a1d263ebc9d45f41af0bdd498274 (patch) | |
tree | 4409eaed2cfea2ee25a6474f4bce0be63ca62814 /scripts/create.sh | |
parent | 48125484eaaf38ed6b373924fee593b3e0d5c920 (diff) | |
parent | 3542293b7fcf88cc6aff3696026a7568c43cdd3f (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'scripts/create.sh')
-rwxr-xr-x | scripts/create.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/create.sh b/scripts/create.sh index 634a87643..f5309f884 100755 --- a/scripts/create.sh +++ b/scripts/create.sh @@ -28,11 +28,12 @@ # root partition and an OpenADK cfgfs partition. TOPDIR=$(pwd) +HOST=$(gcc -dumpmachine) me=$0 case :$PATH: in -(*:$TOPDIR/bin:*) ;; -(*) export PATH=$PATH:$TOPDIR/bin ;; +(*:$TOPDIR/host_$HOST/usr/bin:*) ;; +(*) export PATH=$PATH:$TOPDIR/host_$HOST/usr/bin ;; esac test -n "$KSH_VERSION" || if ! which mksh >/dev/null 2>&1; then |