From 40af40da4cd9c35b469b7076de5a7c6a3f553327 Mon Sep 17 00:00:00 2001 From: Andrew Fyfe Date: Fri, 1 Jun 2007 22:21:31 +0100 Subject: scripts/makepkg.in: Some more clean ups. Signed-off-by: Andrew Fyfe --- scripts/makepkg.in | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'scripts') diff --git a/scripts/makepkg.in b/scripts/makepkg.in index 1d88e9dc..0ee9591e 100644 --- a/scripts/makepkg.in +++ b/scripts/makepkg.in @@ -1030,7 +1030,7 @@ if [ "$CLEANCACHE" = "1" ]; then fi if [ -z $BUILDSCRIPT ]; then - error "$(gettext "BUILDSCRIPT is undefined! Ensure you have updated makepkg.conf.")" + error "$(gettext "BUILDSCRIPT is undefined! Ensure you have updated %s.")" "$confdir/makepkg.conf" exit 1 fi @@ -1151,8 +1151,7 @@ if [ "$INFAKEROOT" = "1" ]; then exit 0 # $E_OK fi -date=$(date) -msg "$(gettext "Making package: %s")" "$pkgname $pkgver-$pkgrel ($date)" +msg "$(gettext "Making package: %s")" "$pkgname $pkgver-$pkgrel ($(date))" if [ $EUID -eq 0 ]; then warning "$(gettext "Running makepkg as root...")" @@ -1166,8 +1165,7 @@ if [ "$SOURCEONLY" = "1" ]; then exit 1 fi create_srcpackage - date=$(date) - msg "$(gettext "Source package created: %s")" "$pkgname ($date)" + msg "$(gettext "Source package created: %s")" "$pkgname ($(date))" exit 0 fi @@ -1270,8 +1268,7 @@ fi removedeps -date=$(date) -msg "$(gettext "Finished making: %s")" "$pkgname ($date)" +msg "$(gettext "Finished making: %s")" "$pkgname ($(date))" installpackage -- cgit v1.2.3