rpm-pkg: Remove pointless set -e statements
authorMichal Marek <mmarek@suse.cz>
Mon, 15 Apr 2013 20:13:08 +0000 (22:13 +0200)
committerMichal Marek <mmarek@suse.cz>
Thu, 18 Apr 2013 12:56:54 +0000 (14:56 +0200)
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/package/Makefile

index 08e4e2fdf8c0f17111b58b88d563f53b8b4592ea..84a406070f6f2b3f7ca48998bdce1a7d1ad7c3b4 100644 (file)
@@ -49,9 +49,7 @@ rpm-pkg rpm: FORCE
        tar -cz $(RCS_TAR_IGNORE) -f $(KERNELPATH).tar.gz $(TAR_CONTENT)
        rm $(KERNELPATH)
        rm -f $(objtree)/.scmversion
-       set -e; \
        $(CONFIG_SHELL) $(srctree)/scripts/mkversion > $(objtree)/.tmp_version
-       set -e; \
        mv -f $(objtree)/.tmp_version $(objtree)/.version
        $(RPM) $(RPMOPTS) --target $(UTS_MACHINE) -ta $(KERNELPATH).tar.gz
        rm $(KERNELPATH).tar.gz kernel.spec
@@ -61,9 +59,7 @@ rpm-pkg rpm: FORCE
 binrpm-pkg: FORCE
        $(MAKE) KBUILD_SRC=
        $(CONFIG_SHELL) $(MKSPEC) prebuilt > $(objtree)/binkernel.spec
-       set -e; \
        $(CONFIG_SHELL) $(srctree)/scripts/mkversion > $(objtree)/.tmp_version
-       set -e; \
        mv -f $(objtree)/.tmp_version $(objtree)/.version
 
        $(RPM) $(RPMOPTS) --define "_builddir $(objtree)" --target \