summaryrefslogtreecommitdiff
path: root/tools/link-bins
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2018-03-15 15:39:45 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2018-03-15 15:39:45 +0000
commite05986c02a6e2c71a8ec0715edf1d9c536a95898 (patch)
tree59f324e34a6b681b06eb7498b8c8dd722ee435d4 /tools/link-bins
parent55bde1a8b9bb8b6a5f0ccde04e56ba7dbcebdc65 (diff)
downloadexecline-e05986c02a6e2c71a8ec0715edf1d9c536a95898.tar.xz
Second draft
Diffstat (limited to 'tools/link-bins')
-rwxr-xr-xtools/link-bins9
1 files changed, 1 insertions, 8 deletions
diff --git a/tools/link-bins b/tools/link-bins
index 5e45ec5..50e7981 100755
--- a/tools/link-bins
+++ b/tools/link-bins
@@ -1,12 +1,5 @@
#!/bin/sh -e
-install="$1"
-bindir="$2"
-sproot="${3#x}"
-home="${4#x}"
-exthome="${5#x}"
-destdir="$6"
-
while read old new html ; do
- "$install" -D -m 600 "$new" "$destdir/$bindir/$new"
+ ln -f "./$old" "./$new"
done < ./tools/name-table