Commit ea6e76a3 authored by Roman Alifanov's avatar Roman Alifanov

fix typos

parent 0af14e8e
...@@ -9,7 +9,7 @@ CLEAN=false ...@@ -9,7 +9,7 @@ CLEAN=false
DESKTOP_ENVS=() # Список выбранных рабочих окружений (например, gnome, kde, hyprland) DESKTOP_ENVS=() # Список выбранных рабочих окружений (например, gnome, kde, hyprland)
NETWORK=false NETWORK=false
# базовые функции # базовые функции
# shellcheck disable=SC1091 # shellcheck disable=SC1091
. "$BUILDERDIR"/bin/common . "$BUILDERDIR"/bin/common
...@@ -49,7 +49,7 @@ print_build_info() { ...@@ -49,7 +49,7 @@ print_build_info() {
cleartmp() { cleartmp() {
[ "$CLEAN" == true ] || return [ "$CLEAN" == true ] || return
echo "____________________" echo "____________________"
PROFILESDIR=$PROFILESDIR "$BUILDERDIR"/bin/cleartmp -i PROFILESDIR=$PROFILESDIR "$BUILDERDIR"/bin/cleartmp -i
# shellcheck disable=SC2012 # shellcheck disable=SC2012
# Удаляем все, кроме самого нового # Удаляем все, кроме самого нового
...@@ -73,14 +73,14 @@ handle_uncommitted_changes() { ...@@ -73,14 +73,14 @@ handle_uncommitted_changes() {
git add -A git add -A
git commit -m "$temp_commit_msg" git commit -m "$temp_commit_msg"
print_red "Сделан временный коммит: $temp_commit_msg" print_red "Сделан временный коммит: $temp_commit_msg"
TEMP_COMMIT=true TEMP_COMMIT=true
} }
revert_temp_commit() { revert_temp_commit() {
if [ "$TEMP_COMMIT" == true ]; then if [ "$TEMP_COMMIT" == true ]; then
# Откат # Откат
git reset "HEAD^" git reset "HEAD^"
fi fi
} }
...@@ -213,7 +213,7 @@ while true; do ...@@ -213,7 +213,7 @@ while true; do
NETWORK="--network" NETWORK="--network"
shift shift
;; ;;
--repos) --repos)
REPOS="$2" REPOS="$2"
shift 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