summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRaphaël Hertzog <hertzog@debian.org>2020-04-23 16:51:58 +0200
committerRaphaël Hertzog <hertzog@debian.org>2020-04-23 16:51:58 +0200
commit6f7446fa8924211db59f992936c2d56266ef4189 (patch)
treed58288a76e7a3a81945559db383ef73ad6f029cd /Makefile
parent4c75f80e6763490d5bcb0e0a460b096a3292ae61 (diff)
downloadvyos-live-build-6f7446fa8924211db59f992936c2d56266ef4189.tar.gz
vyos-live-build-6f7446fa8924211db59f992936c2d56266ef4189.zip
Drop the epoch in /usr/share/live/build/VERSION
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ad4e68bd0..d1ef2b078 100644
--- a/Makefile
+++ b/Makefile
@@ -41,7 +41,7 @@ install:
# Installing shared data
mkdir -p $(DESTDIR)/usr/share/live/build
cp -r data functions $(DESTDIR)/usr/share/live/build
- sed -e 's/.*(\(.*\)).*/\1/; q' debian/changelog >$(DESTDIR)/usr/share/live/build/VERSION
+ sed -e 's/.*(\(.*\)).*/\1/; s/^[0-9]://; q' debian/changelog >$(DESTDIR)/usr/share/live/build/VERSION
cp -r share/* $(DESTDIR)/usr/share/live/build
# Installing executables