emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Elpa's GNUmakefile: process_archive


From: Serghei Iakovlev
Subject: [PATCH] Elpa's GNUmakefile: process_archive
Date: Sun, 01 Mar 2020 17:49:43 +0000

Hello,

I've noticed a bug in Elpa's GNUmakefile file.  `process_archive'
target contains incorrect code to exclude files from a package.
There are positional options (`--exclude-vcs' and `-X') which used
in an obviously erroneous way.

Let's me show you the problem:

  % tar -chf bnf-mode.tar bnf-mode \
    --exclude-vcs -X bnf-mode/.elpaignore

  tar: The following options were used after any non-optional
  arguments in archive create or update mode.  These options are
  positional and affect only arguments that follow them.  Please,
  rearrange them properly.
  tar: --exclude-vcs has no effect
  tar: --exclude-from ‘bnf-mode/.elpaignore’ has no effect
  tar: Exiting with failure status due to previous errors

I've attached the patch that fixes this issue.  For more see [1].

[1]:
https://www.gnu.org/software/tar/manual/html_node/Position_002dSensitive-Options.html

--
Serghei

Attachment: GNUmakefile.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]