diff options
Diffstat (limited to 'script/build/grub/payload')
-rwxr-xr-x | script/build/grub/payload | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/script/build/grub/payload b/script/build/grub/payload index a1bb3554..03549ef6 100755 --- a/script/build/grub/payload +++ b/script/build/grub/payload @@ -21,12 +21,9 @@ main() handle_dependencies() { - [ -d "grub/" ] || \ - x_ ./update project repo grub - [ -f "grub/grub-mkstandalone" ] || \ - x_ ./build grub utils - [ -d "${elfdir}" ] || \ - x_ mkdir -p "${elfdir}" + [ -d "grub/" ] || x_ ./update project repo grub + [ -f "grub/grub-mkstandalone" ] || x_ ./build grub utils + [ -d "${elfdir}" ] || x_ mkdir -p "${elfdir}" x_ rm -f "${elfdir}/"* } |