Skip to contentSkip to conversation

(trivial) simple fix for install.sh not working on symlinked dirs

PATCH New Paul Larson 1 participant 1 message Mar 17, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 (trivial) simple fix for install.sh not working on symlinked dirs

This simple fix seems to work for me. With the -L it will follow symlinks so that symlinked /lib/python and /etc/init.d get the files copied to them correctly on install.

Signature · 18 lines
Thanks,
Paul Larson
[email protected]
IBM Linux Technology Center

Signed-off-by: [email protected]

--- install.sh  2005-03-06 16:14:56.000000000 -0600
+++ dist/install.sh     2005-03-16 16:44:25.779315000 -0600
@@ -32,7 +32,7 @@
   [ -e "$l" ] && ln -fs "$l" vmlinuz${v}-xenU
 done
 cd -
-cp -fdR $src/* $dst
+cp -fdRL $src/* $dst
 echo "All done."

 echo "Checking to see whether prerequisite tools are installed..."