diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/install-bins | 2 | ||||
-rwxr-xr-x | tools/link-bins | 9 | ||||
-rwxr-xr-x | tools/rename-bins | 5 | ||||
-rwxr-xr-x | tools/symlink-bins | 12 |
4 files changed, 14 insertions, 14 deletions
diff --git a/tools/install-bins b/tools/install-bins index 143843a..db262da 100755 --- a/tools/install-bins +++ b/tools/install-bins @@ -5,5 +5,5 @@ bindir="$2" destdir="$3" while read old new html ; do - "$install" -D -m 600 "$new" "$destdir/$bindir/$new" + "$install" -D -m 0755 "$new" "$destdir/$bindir/$new" done < ./tools/name-table 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 diff --git a/tools/rename-bins b/tools/rename-bins deleted file mode 100755 index a613278..0000000 --- a/tools/rename-bins +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -e - -while read old new html ; do - mv -f "./$old" "./$new" -done < ./tools/name-table 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 |