This commit is contained in:
YuzukiTsuru 2022-04-13 21:04:14 +08:00
parent a32ba51791
commit ab492c9be3

View File

@ -32,7 +32,6 @@ FetchUpdate(){
if [ $(git diff tmp | grep -c "-") -gt 1 ];
then
read -r -p "Update found, Update to Remote? [y/N] " input
case $input in
[yY][eE][sS]|[yY])
echo "Now try to merge upstream..."
@ -47,6 +46,9 @@ FetchUpdate(){
echo "Invalid input..."
;;
esac
else
echo "Local code all up to date! commit id:"
git rev-parse HEAD
fi
# delete the commit
git branch -d tmp
@ -69,8 +71,6 @@ case $input in
;;
esac
# configure C compiler
export compiler=$(which gcc)