diff options
author | Donovan Baarda <abo@minkirri.apana.org.au> | 2014-10-15 14:07:20 +1100 |
---|---|---|
committer | Donovan Baarda <abo@minkirri.apana.org.au> | 2014-10-15 14:07:20 +1100 |
commit | dbd04e283082ab869a22abf03c4c6280b03935bb (patch) | |
tree | 3951c6f91f76047e655f35e04db4eecd576c49df /make-tar.sh | |
parent | d880464fbe9180aefde94594330126e115066dc3 (diff) | |
parent | 051a2e4392bc75b246cc5cb897ae0bbb1f92042e (diff) |
Merge branch 'unstable' of https://github.com/opentrack/opentrack into dev/kalman
Conflicts:
ftnoir_filter_kalman/ftnoir_filter_kalman.h
Diffstat (limited to 'make-tar.sh')
-rw-r--r-- | make-tar.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/make-tar.sh b/make-tar.sh new file mode 100644 index 00000000..26b65dcb --- /dev/null +++ b/make-tar.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +prefix="$1" +filename="$2" + +if : && + make install && + cd $(dirname -- "${prefix}") && + tar Jcf "${filename}" $(basename "${prefix}") +then + ls -lh -- "${filename}" +else + rm -fv -- "${filename}" + exit 1 +fi + +exit 0 |