Remove useless dir deletion. We're now checking that it doesn't exist, making it redundant.
This commit is contained in:
@@ -394,7 +394,7 @@ _linux_git_branch_checkout() {
|
||||
msg2 "First initialization of the linux source code git folder"
|
||||
if [ "$_source_in_tmpfs" = "true" ]; then
|
||||
rm -rf "${_where}/linux-src-git"
|
||||
rm -rf "/tmp/linux-src-git" && mkdir "/tmp/linux-src-git"
|
||||
mkdir "/tmp/linux-src-git"
|
||||
ln -s "/tmp/linux-src-git" "${_where}"
|
||||
else
|
||||
mkdir linux-src-git
|
||||
|
Reference in New Issue
Block a user