[arch-projects] [INITSCRIPTS][PATCH] Remove usage of head in PKGBUILD
Sebastien Luttringer
seblu at seblu.net
Thu Jul 7 08:00:30 EDT 2011
Signed-off-by: Sebastien Luttringer <seblu at seblu.net>
---
PKGBUILD | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/PKGBUILD b/PKGBUILD
index 5c9764c..d8b4717 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=initscripts-git
pkgver=$(date +%s)
-pkgrel=$(git log --pretty=format:%h |head -n 1)
+pkgrel=$(git log -1 --pretty=format:%h)
pkgdesc="System initialization/bootup scripts"
arch=('i686' 'x86_64')
url="http://www.archlinux.org"
--
Sebastien "Seblu" Luttringer
More information about the arch-projects
mailing list