diff options
author | Florian Pritz <bluewind@xinu.at> | 2011-07-09 16:46:23 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2011-07-10 18:57:25 +0200 |
commit | f58ca083397114991939c2db495ce6bfab99c42a (patch) | |
tree | 2fd91359ba5a6fc92737eff66cbdb8e2d515ede7 /PKGBUILD | |
parent | c9c9cb509f3718e6581f8789c2ae6efe57b189b1 (diff) | |
download | mkinitcpio-working.tar.gz mkinitcpio-working.tar.xz |
harden version generationworking
If you run make dist, extract that tarball somewhere else and try to run
makepkg it will fail because it can't find the git tree anymore.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1,7 +1,5 @@ -IFS='-' read -r major minor _ < <(git describe) - pkgname=mkinitcpio-git -pkgver=$major.$minor +pkgver=$(make version) pkgrel=1 pkgdesc="Modular initramfs image creation utility" arch=(any) |