aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/package/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/package/Makefile b/scripts/package/Makefile
index 9ed96aefc72d..c30bcf8e934a 100644
--- a/scripts/package/Makefile
+++ b/scripts/package/Makefile
@@ -39,10 +39,9 @@ if test "$(objtree)" != "$(srctree)"; then \
39 false; \ 39 false; \
40fi ; \ 40fi ; \
41$(srctree)/scripts/setlocalversion --save-scmversion; \ 41$(srctree)/scripts/setlocalversion --save-scmversion; \
42ln -sf $(srctree) $(2); \
43tar -cz $(RCS_TAR_IGNORE) -f $(2).tar.gz \ 42tar -cz $(RCS_TAR_IGNORE) -f $(2).tar.gz \
44 $(addprefix $(2)/,$(TAR_CONTENT) $(3)); \ 43 --transform 's:^:$(2)/:S' $(TAR_CONTENT) $(3); \
45rm -f $(2) $(objtree)/.scmversion 44rm -f $(objtree)/.scmversion
46 45
47# rpm-pkg 46# rpm-pkg
48# --------------------------------------------------------------------------- 47# ---------------------------------------------------------------------------