From 8f27989ba7524851b53140258390bb896674c9c4 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Mon, 19 Aug 2024 12:30:40 -0400 Subject: update the utilites for current paths, rearrange whole package for 0.0.4-1 --- build.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 build.sh (limited to 'build.sh') diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..95637fe --- /dev/null +++ b/build.sh @@ -0,0 +1,10 @@ +#!/bin/sh +# Startdate: 2024-08-19-2 10:46 +# Yet a new build.sh style. + +thisdir="$( dirname "$( readlink -f "${0}" )" )" +thisdir_short="$( basename "${thisdir}" )" +cd "${thisdir}" +rm -f ~/rpmbuild/SOURCES/ddtools.tgz +tar -zcf ~/rpmbuild/SOURCES/ddtools.tgz -C .. "${thisdir_short}" +rpmbuild -ba ddtools.spec -- cgit