diff options
author | Leah Rowe <leah@libreboot.org> | 2025-05-10 18:23:57 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-05-10 18:23:57 +0100 |
commit | 466b156ecfd5d7dc3c72d49617a77c9a76b72b78 (patch) | |
tree | 00dcc62bbd7324107cd202075622d867acdf9fca /include/git.sh | |
parent | b0e5fa255ea53e0c82a5a6808821817773237c96 (diff) | |
parent | 0aa99f4bf8b52ea6060f0cd72263b9d4b4e99699 (diff) |
Merge branch 'master' into 25.06_branch
Diffstat (limited to 'include/git.sh')
-rw-r--r-- | include/git.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/git.sh b/include/git.sh index 9440b1af..bbc5140e 100644 --- a/include/git.sh +++ b/include/git.sh @@ -61,7 +61,7 @@ git_prep() [ "$XBMK_RELEASE" = "y" ] && rmgit "$tmpgit" [ "$_loc" = "${_loc%/*}" ] || x_ mkdir -p "${_loc%/*}" - mv "$tmpgit" "$_loc" || err "git_prep: !mv $tmpgit $_loc" + x_ mv "$tmpgit" "$_loc" } fetch_submodule() @@ -82,7 +82,7 @@ fetch_submodule() [ "$st" = "file" ] && xbmkget "$subfile" "$subfile_bkup" \ "$tmpgit/$1" "$subhash" && return 0 - rm -Rf "$tmpgit/$1" || err "!rm '$mdir' '$1'" + x_ rm -Rf "$tmpgit/$1" tmpclone "$subrepo" "$subrepo_bkup" "$tmpgit/$1" "$subhash" \ "$mdir/${1##*/}/patches" } @@ -101,6 +101,6 @@ nuke() { e "config/${1%/}/nuke.list" f missing || while read -r nukefile; do rmf="src/${2%/}/$nukefile" && [ -L "$rmf" ] && continue - e "$rmf" e missing || rm -Rf "$rmf" || err "!rm $rmf, ${2%/}" + e "$rmf" e missing || x_ rm -Rf "$rmf" done < "config/${1%/}/nuke.list"; : } |