diff options
Diffstat (limited to 'build')
-rwxr-xr-x | build | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -3,10 +3,12 @@ build: install: - mkdir -p dest/usr/bin - set -e; for target in $$(cat ../targets); do \ - ln -sf "$${target}-cpp-4.7" "dest/usr/bin/$${target}-cpp"; \ - ln -sf "$${target}-gcc-4.7" "dest/usr/bin/$${target}-gcc"; \ - ln -sf "$${target}-g++-4.7" "dest/usr/bin/$${target}-g++"; \ + set -e; \ + for target in $$(cat ../targets); do \ + for exe in cpp gcc g++; do \ + dir="$${exe}-$${target}.data/usr/bin"; \ + mkdir -p "$${dir}"; \ + ln -sf "$${target}-$${exe}-4.7" \ + "$${dir}/$${target}-$${exe}"; \ + done; \ done - oh-installfiles |