From 308b1b2a6545566c813e66da5b354175c3cef168 Mon Sep 17 00:00:00 2001 From: Jonathan Maw Date: Thu, 30 May 2013 11:51:21 +0100 Subject: Add tar write extension --- tar.write | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 tar.write (limited to 'tar.write') diff --git a/tar.write b/tar.write new file mode 100755 index 00000000..5b775e52 --- /dev/null +++ b/tar.write @@ -0,0 +1,19 @@ +#!/bin/sh +# Copyright (C) 2013 Codethink Limited +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +# A Morph write extension to deploy to a .tar file + +tar -C "$1" -cf "$2" -- cgit v1.2.1 From 053333fdac45e58639726eef4726b47d6a2d6385 Mon Sep 17 00:00:00 2001 From: Jonathan Maw Date: Thu, 30 May 2013 11:54:48 +0100 Subject: Tar write extension fails if arguments not set --- tar.write | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tar.write') diff --git a/tar.write b/tar.write index 5b775e52..7a2f01e1 100755 --- a/tar.write +++ b/tar.write @@ -16,4 +16,6 @@ # A Morph write extension to deploy to a .tar file +set -eu + tar -C "$1" -cf "$2" -- cgit v1.2.1 From b8f4f02829303a5bbd06c0343f34c5354c2d8a0b Mon Sep 17 00:00:00 2001 From: Jonathan Maw Date: Fri, 31 May 2013 15:57:53 +0100 Subject: Fix tar write extension --- tar.write | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tar.write') diff --git a/tar.write b/tar.write index 7a2f01e1..333626b5 100755 --- a/tar.write +++ b/tar.write @@ -18,4 +18,4 @@ set -eu -tar -C "$1" -cf "$2" +tar -C "$1" -cf "$2" . -- cgit v1.2.1 From ed741d8d090086e2380f7b9d68ddc3bd122acb9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Fri, 13 Mar 2015 18:18:55 +0000 Subject: Use the modern way of the GPL copyright header: URL instead real address Change-Id: I992dc0c1d40f563ade56a833162d409b02be90a0 --- tar.write | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tar.write') diff --git a/tar.write b/tar.write index 333626b5..01b545b4 100755 --- a/tar.write +++ b/tar.write @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright (C) 2013 Codethink Limited +# Copyright (C) 2013,2015 Codethink Limited # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -11,8 +11,7 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# with this program. If not, see . # A Morph write extension to deploy to a .tar file -- cgit v1.2.1