mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-12 22:42:54 +02:00
git.sh: fix deletion path in nuke()
i accidentally forgot to include src/ in the prefix Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+1
-1
@@ -181,7 +181,7 @@ move_repo()
|
|||||||
nuke()
|
nuke()
|
||||||
{
|
{
|
||||||
e "config/${1%/}/nuke.list" f missing || while read -r nukefile; do
|
e "config/${1%/}/nuke.list" f missing || while read -r nukefile; do
|
||||||
rmf="${2%/}/$nukefile" && [ -L "$rmf" ] && continue
|
rmf="src/${2%/}/$nukefile" && [ -L "$rmf" ] && continue
|
||||||
e "$rmf" e missing || rm -Rf "$rmf" || $err "!rm $rmf, ${2%/}"
|
e "$rmf" e missing || rm -Rf "$rmf" || $err "!rm $rmf, ${2%/}"
|
||||||
done < "config/${1%/}/nuke.list"; return 0
|
done < "config/${1%/}/nuke.list"; return 0
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user