rpm-pkg: Remove pointless set -e statements
Signed-off-by: Michal Marek <mmarek@suse.cz>
This commit is contained in:
parent
6501320311
commit
a0f9c6f202
|
@ -49,9 +49,7 @@ rpm-pkg rpm: FORCE
|
||||||
tar -cz $(RCS_TAR_IGNORE) -f $(KERNELPATH).tar.gz $(TAR_CONTENT)
|
tar -cz $(RCS_TAR_IGNORE) -f $(KERNELPATH).tar.gz $(TAR_CONTENT)
|
||||||
rm $(KERNELPATH)
|
rm $(KERNELPATH)
|
||||||
rm -f $(objtree)/.scmversion
|
rm -f $(objtree)/.scmversion
|
||||||
set -e; \
|
|
||||||
$(CONFIG_SHELL) $(srctree)/scripts/mkversion > $(objtree)/.tmp_version
|
$(CONFIG_SHELL) $(srctree)/scripts/mkversion > $(objtree)/.tmp_version
|
||||||
set -e; \
|
|
||||||
mv -f $(objtree)/.tmp_version $(objtree)/.version
|
mv -f $(objtree)/.tmp_version $(objtree)/.version
|
||||||
$(RPM) $(RPMOPTS) --target $(UTS_MACHINE) -ta $(KERNELPATH).tar.gz
|
$(RPM) $(RPMOPTS) --target $(UTS_MACHINE) -ta $(KERNELPATH).tar.gz
|
||||||
rm $(KERNELPATH).tar.gz kernel.spec
|
rm $(KERNELPATH).tar.gz kernel.spec
|
||||||
|
@ -61,9 +59,7 @@ rpm-pkg rpm: FORCE
|
||||||
binrpm-pkg: FORCE
|
binrpm-pkg: FORCE
|
||||||
$(MAKE) KBUILD_SRC=
|
$(MAKE) KBUILD_SRC=
|
||||||
$(CONFIG_SHELL) $(MKSPEC) prebuilt > $(objtree)/binkernel.spec
|
$(CONFIG_SHELL) $(MKSPEC) prebuilt > $(objtree)/binkernel.spec
|
||||||
set -e; \
|
|
||||||
$(CONFIG_SHELL) $(srctree)/scripts/mkversion > $(objtree)/.tmp_version
|
$(CONFIG_SHELL) $(srctree)/scripts/mkversion > $(objtree)/.tmp_version
|
||||||
set -e; \
|
|
||||||
mv -f $(objtree)/.tmp_version $(objtree)/.version
|
mv -f $(objtree)/.tmp_version $(objtree)/.version
|
||||||
|
|
||||||
$(RPM) $(RPMOPTS) --define "_builddir $(objtree)" --target \
|
$(RPM) $(RPMOPTS) --define "_builddir $(objtree)" --target \
|
||||||
|
|
Loading…
Reference in New Issue