diff options
-rw-r--r-- | scripts/package/Makefile | 5 |
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; \ |
40 | fi ; \ | 40 | fi ; \ |
41 | $(srctree)/scripts/setlocalversion --save-scmversion; \ | 41 | $(srctree)/scripts/setlocalversion --save-scmversion; \ |
42 | ln -sf $(srctree) $(2); \ | ||
43 | tar -cz $(RCS_TAR_IGNORE) -f $(2).tar.gz \ | 42 | tar -cz $(RCS_TAR_IGNORE) -f $(2).tar.gz \ |
44 | $(addprefix $(2)/,$(TAR_CONTENT) $(3)); \ | 43 | --transform 's:^:$(2)/:S' $(TAR_CONTENT) $(3); \ |
45 | rm -f $(2) $(objtree)/.scmversion | 44 | rm -f $(objtree)/.scmversion |
46 | 45 | ||
47 | # rpm-pkg | 46 | # rpm-pkg |
48 | # --------------------------------------------------------------------------- | 47 | # --------------------------------------------------------------------------- |