diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2018-03-15 15:39:45 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2018-03-15 15:39:45 +0000 |
commit | e05986c02a6e2c71a8ec0715edf1d9c536a95898 (patch) | |
tree | 59f324e34a6b681b06eb7498b8c8dd722ee435d4 /tools/symlink-bins | |
parent | 55bde1a8b9bb8b6a5f0ccde04e56ba7dbcebdc65 (diff) | |
download | execline-e05986c02a6e2c71a8ec0715edf1d9c536a95898.tar.xz |
Second draft
Diffstat (limited to 'tools/symlink-bins')
-rwxr-xr-x | tools/symlink-bins | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/symlink-bins b/tools/symlink-bins new file mode 100755 index 0000000..2e8f790 --- /dev/null +++ b/tools/symlink-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 -l "../package/admin/execline/command/$new" "$destdir/command/$new" +done < ./tools/name-table |