summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/build b/build
index f7aa255..c75e369 100755
--- a/build
+++ b/build
@@ -7,7 +7,7 @@ install:
cp src/c89/c89.sh dest/usr/bin/c89
cp src/c99/c99.sh dest/usr/bin/c99
set -e; for target in $$(cat ../targets); do \
- ln -s "$${target}-gcc-4.7" "dest/usr/bin/$${target}-gcc"; \
- ln -s "$${target}-g++-4.7" "dest/usr/bin/$${target}-g++"; \
+ ln -sf "$${target}-gcc-4.7" "dest/usr/bin/$${target}-gcc"; \
+ ln -sf "$${target}-g++-4.7" "dest/usr/bin/$${target}-g++"; \
done
oh-installfiles