mirror of
https://github.com/clearlinux/common.git
synced 2026-09-04 04:31:42 +00:00
Remove an extra layer of shell
As pointed out by Kai, I can avoid one level of shell wrapping. Mock is already running this via "/bin/sh -c" (function doshell in /usr/lib/python2.7/site-packages/mockbuild/util.py currently). Signed-off-by: Icarus Sparry <icarus.w.sparry@intel.com>
This commit is contained in:
committed by
Patrick McCarty
parent
f99b2de07e
commit
56b23370bd
+1
-1
@@ -107,7 +107,7 @@ rootshell:
|
||||
|
||||
#help shell: Puts you in a user shell in the home directory in the build root.
|
||||
shell:
|
||||
$(MOCK) --result=results/ --no-cleanup-after --shell --uniqueext=$(PKG_NAME) --unpriv "/bin/sh -c 'cd ; exec \$$SHELL -l -i'"
|
||||
$(MOCK) --result=results/ --no-cleanup-after --shell --uniqueext=$(PKG_NAME) --unpriv "cd && exec \$$SHELL -l -i"
|
||||
|
||||
# Always rebuild the source rpm
|
||||
.PHONY: $(SRPMFILE)
|
||||
|
||||
Reference in New Issue
Block a user