From 09fe37e979847cd83a581698366270224c68babd Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Sun, 30 Aug 2015 15:55:31 +0100 Subject: build/config/coreboot{modify,update}: cd ../ if returning --- resources/scripts/helpers/build/config/corebootmodify | 1 + resources/scripts/helpers/build/config/corebootupdate | 1 + 2 files changed, 2 insertions(+) (limited to 'resources/scripts') diff --git a/resources/scripts/helpers/build/config/corebootmodify b/resources/scripts/helpers/build/config/corebootmodify index 367f868f..353840d4 100755 --- a/resources/scripts/helpers/build/config/corebootmodify +++ b/resources/scripts/helpers/build/config/corebootmodify @@ -33,6 +33,7 @@ hackconfig () { if [ ! -d "../resources/libreboot/config/grub/${1}/" ]; then printf "build/config/corebootmodify WARNING: config '%s' does not exist. Skipping.\n" "${1}" + cd "../" return fi diff --git a/resources/scripts/helpers/build/config/corebootupdate b/resources/scripts/helpers/build/config/corebootupdate index 6e612a84..6f55eb0c 100755 --- a/resources/scripts/helpers/build/config/corebootupdate +++ b/resources/scripts/helpers/build/config/corebootupdate @@ -33,6 +33,7 @@ hackconfig () { if [ ! -d "../resources/libreboot/config/grub/${1}/" ]; then printf "build/config/corebootupdate WARNING: config '%s' does not exist. Skipping.\n" "${1}" + cd "../" return fi -- cgit v1.2.3-70-g09d2