diff --git a/build.sh b/build.sh
index d4c7e757bad620818206c5a0cbe50d25a1dddd71..9b661472d97a185d812b8af406f2108b8c2fbf9f 100755
--- a/build.sh
+++ b/build.sh
@@ -9,10 +9,8 @@ comp_type=$4
 branch=$5
 with_gpu=$6
 
-echo "Trying to Fix the CI"
-rm -rf .git/modules/*/rebase-merge
-git rebase --abort
-
+echo "Trying to Fix the CI by removing everything"
+rm -rf ./*
 
 if [ x"$branch" == x"" ]; then
   echo "Getting branch from git"