summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Fyfe <andrew@neptune-one.net>2007-06-01 23:21:31 +0200
committerDan McGee <dan@archlinux.org>2007-06-02 19:44:54 +0200
commit40af40da4cd9c35b469b7076de5a7c6a3f553327 (patch)
tree16e72bbca200639ed1f8f586fdc45de307e4e16d
parent9883c157f94de4fe1b45ab13b3779e12bf105392 (diff)
downloadpacman-40af40da4cd9c35b469b7076de5a7c6a3f553327.tar.gz
pacman-40af40da4cd9c35b469b7076de5a7c6a3f553327.tar.xz
scripts/makepkg.in: Some more clean ups.
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
-rw-r--r--scripts/makepkg.in11
1 files changed, 4 insertions, 7 deletions
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