mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-05 16:26:14 +08:00
actually remove all old files
This commit is contained in:
@@ -43,12 +43,9 @@ git checkout master-ci
|
||||
git reset --hard origin/devel
|
||||
git clean -xdf
|
||||
|
||||
# leave .git alone
|
||||
# remove everything except .git
|
||||
echo "[-] erasing old openpilot T=$SECONDS"
|
||||
rm -rf $TARGET_DIR/* $TARGET_DIR/.gitmodules
|
||||
|
||||
# delete dotfiles in root
|
||||
find . -maxdepth 1 -type f -delete
|
||||
find . -maxdepth 1 -not -path './.git' -not -name '.' -not -name '..' -exec rm -rf '{}' \;
|
||||
|
||||
# reset tree and get version
|
||||
cd $SOURCE_DIR
|
||||
|
||||
Reference in New Issue
Block a user