[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Quicklisp importer bug in tarball->extract->parse
From: |
Ricardo Wurmus |
Subject: |
Re: Quicklisp importer bug in tarball->extract->parse |
Date: |
Thu, 11 Apr 2019 17:07:27 +0200 |
User-agent: |
mu4e 1.0; emacs 26.1 |
Pierre Neidhardt <address@hidden> writes:
> The above will error out if "file-name" is not found. For 1am:
>
> Queried file-name:
>
> "1am.asd"
>
> Tarball actual file:
>
> "1am-20141106-git/1am.asd"
>
> I don't think we can predict the root folder, and more generally
> projects have different trees.
We can add “--strip-components=1” and do the whole thing in
“with-directory-excursion”. This way we’ll always know the directory
name. You can also extract individual files in the archive by wildcard,
so you don’t need to know the exact name.
--
Ricardo