[med-svn] [falcon] 01/06: debian/get-orig-source: handle symlinks pointing to directories

Afif Elghraoui afif at moszumanska.debian.org
Mon Nov 14 07:31:26 UTC 2016


This is an automated email from the git hooks/post-receive script.

afif pushed a commit to branch master
in repository falcon.

commit b4e69f8169ecf609cb939196e42273d2f44bf7d5
Author: Afif Elghraoui <afif at debian.org>
Date:   Sun Nov 13 22:17:24 2016 -0800

    debian/get-orig-source: handle symlinks pointing to directories
---
 debian/get-orig-source | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/get-orig-source b/debian/get-orig-source
index ca26212..ec4456e 100755
--- a/debian/get-orig-source
+++ b/debian/get-orig-source
@@ -39,7 +39,7 @@ git describe --tags
 make init
 cd FALCON-examples && make setup-synth0 && cd ..
 find FALCON-examples/run/synth0 -type l \
-    | xargs -I{} sh -c 'cp -L {} {}.actual && mv {}.actual {}'
+    | xargs -I{} sh -c 'cp -rL {} {}.actual && rm -rf {} && mv {}.actual {}'
 # Get rid of absolute symlinks
 find FALCON-examples -type l \
     | xargs -I{} sh -c 'perl -e "\"$(readlink {})\" =~ /^\//" && rm {}'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/falcon.git



More information about the debian-med-commit mailing list