diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2018-03-15 15:01:01 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2018-03-15 15:01:01 +0000 |
commit | 55bde1a8b9bb8b6a5f0ccde04e56ba7dbcebdc65 (patch) | |
tree | 76555886a95442237d964aea7fc93e113b81dd49 /tools/link-bins | |
parent | d489558fa17f85d11b0e766efb1cf377620114f1 (diff) | |
download | execline-55bde1a8b9bb8b6a5f0ccde04e56ba7dbcebdc65.tar.xz |
shell names, first draft
Diffstat (limited to 'tools/link-bins')
-rwxr-xr-x | tools/link-bins | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/link-bins b/tools/link-bins new file mode 100755 index 0000000..5e45ec5 --- /dev/null +++ b/tools/link-bins @@ -0,0 +1,12 @@ +#!/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" +done < ./tools/name-table |