summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index fd8fab7f..10e179e1 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -59,6 +59,7 @@ pacman-optimize: $(srcdir)/pacman-optimize.sh.in
rankmirrors: $(srcdir)/rankmirrors.py.in
repo-add: $(srcdir)/repo-add.sh.in
repo-remove: $(srcdir)/repo-add.sh.in
- ln -sf repo-add repo-remove
+ rm -f repo-remove
+ $(LN_S) repo-add repo-remove
# vim:set ts=2 sw=2 noet: