diff options
author | B. Watson <yalhcru@gmail.com> | 2022-03-12 13:09:13 -0500 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2022-03-12 13:09:13 -0500 |
commit | 41070674522cb5801c10f0c0365e8d9584edcf88 (patch) | |
tree | 372a7e25c1f0e565897926d6072d66c3a7799e35 | |
parent | cbdee94649e6d82a8710cfab3e020cb1d1f460c3 (diff) |
development/tora: Fix VERSION in script.
Signed-off-by: B. Watson <yalhcru@gmail.com>
-rw-r--r-- | development/tora/tora.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/development/tora/tora.SlackBuild b/development/tora/tora.SlackBuild index c78990e41998..5d60dc0946c2 100644 --- a/development/tora/tora.SlackBuild +++ b/development/tora/tora.SlackBuild @@ -22,11 +22,14 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220312 bkw: Modified by SlackBuilds.org: VERSION must be constant, +# and match VERSION in the .info file. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=tora GITREV=${GITREV:-5859a97cb25f4ead879ac866d1427609602c08e6} -VERSION=${VERSION:-git$(echo "$GITREV" | sed 's/^\(.\{7\}\).*$/\1/')} +VERSION=${VERSION:-git5859a97} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -39,9 +42,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 |