summaryrefslogtreecommitdiff
path: root/Ports/gcc
diff options
context:
space:
mode:
authorGunnar Beutner <gunnar@beutner.name>2021-08-13 21:05:05 +0200
committerAndreas Kling <kling@serenityos.org>2021-08-13 21:29:48 +0200
commit79db56eb82050b53c24cec1b21077914d6ae429c (patch)
tree995c9817db3b335aa316c343c1490ae6be58da50 /Ports/gcc
parent6eee60de41b51856e80230196abd69357f1cec21 (diff)
downloadserenity-79db56eb82050b53c24cec1b21077914d6ae429c.zip
Ports: Make sure re-installing the gcc port doesn't fail
Re-installing the gcc port would previously fail because we failed to overwrite the symlink.
Diffstat (limited to 'Ports/gcc')
-rwxr-xr-xPorts/gcc/package.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ports/gcc/package.sh b/Ports/gcc/package.sh
index 1e5e8ea199..23596aeaf1 100755
--- a/Ports/gcc/package.sh
+++ b/Ports/gcc/package.sh
@@ -20,5 +20,5 @@ build() {
install() {
run make $installopts
- run ln -s gcc "${SERENITY_INSTALL_ROOT}/usr/local/bin/cc"
+ run ln -sf gcc "${SERENITY_INSTALL_ROOT}/usr/local/bin/cc"
}