From 4a783d527cdec6e1d4a489420b359642793fde4e Mon Sep 17 00:00:00 2001 From: Alison Watson Date: Sat, 26 Oct 2019 03:17:35 -0400 Subject: [PATCH] fix copy script not working in all directories --- copy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copy b/copy index d47942e..486e5ad 100755 --- a/copy +++ b/copy @@ -1,5 +1,5 @@ #!/usr/bin/env fish -for dir in srcpkgs/* +for dir in (dirname (status filename))/srcpkgs/* cp -r (readlink -f "$dir") (xdistdir)/srcpkgs/ end