summaryrefslogtreecommitdiff
path: root/sys-apps/superiotool/files/make-tarball.sh
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-26 13:56:06 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-26 13:56:06 +0000
commit7267fb40fb51ddbc9cc5c1c82b0a12807ef7b281 (patch)
treeee50984098515c85257df0802f24d6b82f9a0b92 /sys-apps/superiotool/files/make-tarball.sh
parent220317eb99d11e6c68af921f2855409bc506461a (diff)
gentoo auto-resync : 26:01:2023 - 13:56:06
Diffstat (limited to 'sys-apps/superiotool/files/make-tarball.sh')
-rwxr-xr-xsys-apps/superiotool/files/make-tarball.sh34
1 files changed, 0 insertions, 34 deletions
diff --git a/sys-apps/superiotool/files/make-tarball.sh b/sys-apps/superiotool/files/make-tarball.sh
deleted file mode 100755
index fa6254898d1f..000000000000
--- a/sys-apps/superiotool/files/make-tarball.sh
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/bash
-
-. /lib/gentoo/functions.sh
-
-svnrev() { svn info "$1" | awk '$1 == "Revision:" { print $NF }'; }
-
-PN=superiotool
-SVN_ROOT=${2:-/usr/local/src}
-srcdir=${SVN_ROOT}/${PN}
-PV=${1:-$(svnrev "${srcdir}")}
-
-P=${PN}-${PV}
-T=/tmp
-
-if [[ -d ${srcdir} ]] ; then
- cd "${T}" || die
-
- rm -rf ${P}
-
- ebegin "Exporting ${srcdir} ${PV} to ${P}"
- svn export -q -r ${PV} ${srcdir} ${P}
- eend $? || die
-
- ebegin "Creating ${P}.tar.xz"
- tar cf - ${P} | xz > ${P}.tar.xz
- eend $?
-
- einfo "Tarball now ready at: ${T}/${P}.tar.xz"
-else
- einfo "You need to run:"
- einfo " cd ${base}"
- einfo " svn co svn://coreboot.org/coreboot/trunk/util/superiotool"
- die "need svn checkout dir"
-fi