diff mbox

[3/3] Forcefully symlink kernel source directory

Message ID CAKPsnf3tcj8F=vneDKq=z3W7HTAMeOCUZe6DzooihOAf3FTAOw@mail.gmail.com
State Superseded
Headers show

Commit Message

Bongseo Jang Sept. 22, 2012, 8:33 a.m. UTC
"ct-ng build" fails when I do it again because it tries to symlink
kernel source dir without '-f'.
diff mbox

Patch

diff -r e9cb0fae0ee0 -r 6399a4b8d74c scripts/build/kernel/linux.sh
--- a/scripts/build/kernel/linux.sh	Sat Sep 22 16:56:58 2012 +0900
+++ b/scripts/build/kernel/linux.sh	Sat Sep 22 16:57:47 2012 +0900
@@ -41,7 +41,7 @@ 
                                       "${CT_TARBALLS_DIR}/${custom_name}"
         else
             custom_name="linux-custom"
-            CT_DoExecLog DEBUG ln -s "${CT_KERNEL_LINUX_CUSTOM_LOCATION}"  \
+            CT_DoExecLog DEBUG ln -sf "${CT_KERNEL_LINUX_CUSTOM_LOCATION}"  \
                                       "${CT_SRC_DIR}/${custom_name}"
         fi
     else # Not a custom tarball