diff options
| author | Christian Hesse <mail@eworm.de> | 2017-01-16 10:39:56 +0100 |
|---|---|---|
| committer | Christian Hesse <mail@eworm.de> | 2017-01-16 11:15:31 +0100 |
| commit | c194129639b24186a8332ac6a576913b700b48cd (patch) | |
| tree | fabb0c16549df84f2837b2d379ac7851d8012595 | |
| parent | fe700a826eaaf8348a9d720182bbebd169d9fd97 (diff) | |
| download | vis-c194129639b24186a8332ac6a576913b700b48cd.tar.gz vis-c194129639b24186a8332ac6a576913b700b48cd.tar.xz | |
single: include tools vis-{clipboard,complete,menu,open}
These are called from vis only. So include them in the archive and set PATH
to make vis find them.
| -rw-r--r-- | GNUmakefile | 2 | ||||
| -rwxr-xr-x | vis-single.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile index 052c300..2cb1b37 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -188,6 +188,6 @@ standalone: clean single: standalone cp vis-single.sh vis-single strip vis - tar c vis lua/ | gzip -9 >> vis-single + tar c vis vis-clipboard vis-complete vis-menu vis-open lua/ | gzip -9 >> vis-single .PHONY: standalone local dependencies-common dependencies-local dependencies-clean diff --git a/vis-single.sh b/vis-single.sh index b6ff69e..e779b67 100755 --- a/vis-single.sh +++ b/vis-single.sh @@ -7,7 +7,7 @@ trap 'rm -rf "$VISTMP"' EXIT INT QUIT TERM HUP sed '1,/^__TAR_GZ_ARCHIVE_BELOW__$/d' "$0" | gzip -d | tar xC "$VISTMP" -"$VISTMP/vis" "$@" +PATH="$VISTMP:$PATH" "$VISTMP/vis" "$@" exit $? |
