Browse code

follow symlinks when copying env

termie authored on 2011/09/29 07:09:00
Showing 1 changed files
... ...
@@ -145,7 +145,7 @@ cp -pR /lib/modules/`uname -r`/kernel/net $ROOTFS/lib/modules/`uname -r`/kernel/
145 145
 # Gracefully cp only if source file/dir exists
146 146
 function cp_it {
147 147
     if [ -e $1 ] || [ -d $1 ]; then
148
-        cp -pr $1 $2
148
+        cp -pRL $1 $2
149 149
     fi
150 150
 }
151 151