From 3503cc339826253acf0e8051cccc807901513cd1 Mon Sep 17 00:00:00 2001 From: Tharre Date: Sat, 9 Feb 2019 16:43:12 +0100 Subject: arch-system: $pkgver: avoid dependency on `date` This avoids errors when date is unavailable, like the one below: Error: error: invalid package file Error: PKGBUILD: line 5: date: command not found Error: /startdir/PKGBUILD is not a valid PKGBUILD --- arch-system/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch-system/PKGBUILD b/arch-system/PKGBUILD index 1f47597..553a8a8 100644 --- a/arch-system/PKGBUILD +++ b/arch-system/PKGBUILD @@ -2,7 +2,7 @@ pkgbase=arch-system pkgname=('base-system' 'backup-system' 'xps13') -pkgver=$(date "+%Y.%m.%d") +pkgver=$(printf '%(%Y.%m.%d)T') pkgrel=1 pkgdesc="Arch Linux system configuration" arch=("any") -- cgit v1.2.3-70-g09d2