summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-09 11:43:47 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-09 11:43:47 +0100
commit6a3d8a9600a8eabceaeae54bb0394d89ff9372fa (patch)
treefcfbc5302d6b451a9c4a935b52b3daa26da14202 /include
parent3478b28821335398a07866276657fcc725104d24 (diff)
git.sh: fix deletion path in nuke()
i accidentally forgot to include src/ in the prefix Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include')
-rwxr-xr-xinclude/git.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git.sh b/include/git.sh
index f0f6f210..71dd61a1 100755
--- a/include/git.sh
+++ b/include/git.sh
@@ -181,7 +181,7 @@ move_repo()
nuke()
{
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%/}"
done < "config/${1%/}/nuke.list"; return 0
}