dawidd6 / action-debian-package

:gear: A GitHub Action for building Debian packages
MIT License
25 stars 8 forks source link

Creating tarballs has troubles with symlinks #16

Closed waja closed 3 years ago

waja commented 3 years ago

Hi there,

while trying this on https://github.com/waja/imapsync, I've spotted issues with symlinks which point to not existing locations:

Inside the tarball:

waja@packaging:/tmp/imapsync-1.945$ ls -la | grep ^l
lrwxrwxrwx  1 waja waja     18 Nov  8 16:40 dist -> imapsync-1.945ist2
lrwxrwxrwx  1 waja waja     34 Nov  8 16:40 FAQ -> imapsync-1.945AQ.d/FAQ.General.txt
lrwxrwxrwx  1 waja waja     38 Nov  8 16:40 INSTALL -> imapsync-1.945NSTALL.d/INSTALL.ANY.txt
lrwxrwxrwx  1 waja waja     19 Nov  8 16:40 README.txt -> imapsync-1.945EADME

Origin directory:

waja@packaging:/tmp/imapsync (github_ci)$ ls -la | grep ^l
lrwxrwxrwx  1 waja waja     21 Jul 16 17:23 FAQ -> FAQ.d/FAQ.General.txt
lrwxrwxrwx  1 waja waja     25 Jul 16 17:23 INSTALL -> INSTALL.d/INSTALL.ANY.txt
lrwxrwxrwx  1 waja waja      6 Jul 16 17:23 README.txt -> README
lrwxrwxrwx  1 waja waja      5 Jul 16 17:23 dist -> dist2

Thanks and with kind regard, Jan.

dawidd6 commented 3 years ago

Umm. I don't think I understand what's wrong here. Could you please elaborate?

waja commented 3 years ago

I opened #17, which should fix this.

dawidd6 commented 3 years ago

I believe this could be closed @waja?

waja commented 3 years ago

yes :)