chiark / gitweb /
Use cp -s rather than lndir
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sun, 23 May 2010 20:44:19 +0000 (21:44 +0100)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sun, 23 May 2010 20:44:19 +0000 (21:44 +0100)
jpctb

diff --git a/jpctb b/jpctb
index 28f71c1..1356b39 100755 (executable)
--- a/jpctb
+++ b/jpctb
@@ -111,7 +111,7 @@ rm -rf -- "$jtmp"
 mkdir -- "$jtmp" "$extdir" "$linkfarm"
 cp "$srcjardir"/PCTB*.jar "$extdir"
 
-lndir -silent "$javadir" "$linkfarm"
+cp -Rs "$javadir"/. "$linkfarm"/.
 
 #---------- edit the linkfarm to have our jvm wrapper ----------