From 6dcfd6e42e4a52975e17934ca04e4f6073168cea Mon Sep 17 00:00:00 2001
From: Francis Rowe <info@gluglug.org.uk>
Date: Fri, 03 Jul 2015 07:05:14 -0400
Subject: build/roms/withgrub_helper: delete the correct directory

---
(limited to 'resources/scripts/helpers/build/roms/withgrub_helper')

diff --git a/resources/scripts/helpers/build/roms/withgrub_helper b/resources/scripts/helpers/build/roms/withgrub_helper
index 72ea451..d68e9a2 100755
--- a/resources/scripts/helpers/build/roms/withgrub_helper
+++ b/resources/scripts/helpers/build/roms/withgrub_helper
@@ -121,7 +121,7 @@ mkdir "${1}/"
 mv "${1}"*.rom "${1}/"
 
 # delete the old ROM's from ../bin
-rm -Rf "../bin/${1}/"
+rm -Rf "../bin/grub/${1}/"
 # now put the new ROM's in ./bin/grub/
 [ ! -d "../bin/grub/" ] && mkdir -p "../bin/grub/"
 mv "${1}/" "../bin/grub/"
--
cgit v0.9.1