From c6eb191b49a48cfbaeda52c2b1b095fce1846dac Mon Sep 17 00:00:00 2001 From: Laurence Withers Date: Fri, 28 Jul 2006 10:54:59 +0100 Subject: [PATCH] Update release script --- scripts/release.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/release.sh b/scripts/release.sh index 8f7f63e..9e7d760 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -1,7 +1,7 @@ #!/bin/bash -# @P@/scripts/release.sh +# lw-build-system/scripts/release.sh # -# (c)2006, @AUTHOR@, <@EMAIL@>. +# (c)2006, Laurence Withers, . # Released under the GNU GPLv2. See file COPYING or # http://www.gnu.org/copyleft/gpl.html for details. # @@ -22,13 +22,13 @@ source "${REPOS}/scripts/functions.sh" || exit 1 # Get version etc. if [ $# -ne 2 ] then - echo "Usage: scripts/release.sh " + echo "Usage: $0 " exit 1 fi VER=$1 DIR=$2 -PKGNAME="@P@-${VER}" +PKGNAME="$(basename ${REPOS})-${VER}" @@ -76,5 +76,5 @@ gpg -a -b "${PKGNAME}-doc.tar.bz2" # clean up rm -rf "${PKGNAME}" "${PKGNAME}-doc" -# kate: @KATE_MODELINE@ -# vim: @VIM_MODELINE@ +# kate: replace-trailing-space-save true; space-indent true; tab-width 4; +# vim: ts=4:sw=4:expandtab