From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D8D3B59CA2 for ; Sat, 13 Feb 2016 21:38:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 51E9E21C00E; Sat, 13 Feb 2016 21:38:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E84EA21C00E for ; Sat, 13 Feb 2016 21:38:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9E7A1340B69 for ; Sat, 13 Feb 2016 21:38:07 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4177C8E9 for ; Sat, 13 Feb 2016 21:38:03 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1455400036.1d6d75bd4e5143e56b09a664df58d719fbe92164.blueness@gentoo> Subject: [gentoo-commits] proj/elfix:master commit in: misc/ X-VCS-Repository: proj/elfix X-VCS-Files: misc/bundle.sh misc/install-xattr-bundle.sh X-VCS-Directories: misc/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 1d6d75bd4e5143e56b09a664df58d719fbe92164 X-VCS-Branch: master Date: Sat, 13 Feb 2016 21:38:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 718c80a0-bcff-46b6-b105-bdfc17506c58 X-Archives-Hash: c48085c0ad2d475e654980f65046d321 commit: 1d6d75bd4e5143e56b09a664df58d719fbe92164 Author: Anthony G. Basile gentoo org> AuthorDate: Sat Feb 13 21:47:16 2016 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Sat Feb 13 21:47:16 2016 +0000 URL: https://gitweb.gentoo.org/proj/elfix.git/commit/?id=1d6d75bd misc/bundle.sh: generalize bundle.sh for all misc packages misc/bundle.sh | 16 ++++++++++++++++ misc/install-xattr-bundle.sh | 10 ---------- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/misc/bundle.sh b/misc/bundle.sh new file mode 100755 index 0000000..13e9318 --- /dev/null +++ b/misc/bundle.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +if [[ -z $2 ]]; then + echo "Usage $0 " + exit +fi + +if [[ ! -d $1 ]]; then + echo "No such pacakge $1 to bundle" + exit +fi + +PKG=${1%%/} + +tar jcvf ${PKG}-${2}.tar.bz2 ${PKG}/ +gpg -s -a -b ${PKG}-${2}.tar.bz2 diff --git a/misc/install-xattr-bundle.sh b/misc/install-xattr-bundle.sh deleted file mode 100755 index b332606..0000000 --- a/misc/install-xattr-bundle.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -if [[ -z ${1} ]]; then - echo "Usage $0 " - exit -fi - -tar jcvf install-xattr-${1}.tar.bz2 install-xattr/ -gpg -s -a -b install-xattr-${1}.tar.bz2 -