Commit ea6e76a3 authored by Roman Alifanov's avatar Roman Alifanov

fix typos

parent 0af14e8e
......@@ -9,7 +9,7 @@ CLEAN=false
DESKTOP_ENVS=() # Список выбранных рабочих окружений (например, gnome, kde, hyprland)
NETWORK=false
# базовые функции
# базовые функции
# shellcheck disable=SC1091
. "$BUILDERDIR"/bin/common
......@@ -49,7 +49,7 @@ print_build_info() {
cleartmp() {
[ "$CLEAN" == true ] || return
echo "____________________"
PROFILESDIR=$PROFILESDIR "$BUILDERDIR"/bin/cleartmp -i
# shellcheck disable=SC2012
# Удаляем все, кроме самого нового
......@@ -73,14 +73,14 @@ handle_uncommitted_changes() {
git add -A
git commit -m "$temp_commit_msg"
print_red "Сделан временный коммит: $temp_commit_msg"
TEMP_COMMIT=true
}
revert_temp_commit() {
if [ "$TEMP_COMMIT" == true ]; then
# Откат
git reset "HEAD^"
git reset "HEAD^"
fi
}
......@@ -213,7 +213,7 @@ while true; do
NETWORK="--network"
shift
;;
--repos)
--repos)
REPOS="$2"
shift 2
;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment