summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-08-30 10:55:31 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-08-30 10:55:31 (EDT)
commit09fe37e979847cd83a581698366270224c68babd (patch)
tree30389e12cd82f21243f9d2ef8c6fcbd1d1685254
parent467d77bd0d191b38e5b2cc11e7ae4207fcb87b17 (diff)
downloadlibreboot-09fe37e979847cd83a581698366270224c68babd.zip
libreboot-09fe37e979847cd83a581698366270224c68babd.tar.gz
libreboot-09fe37e979847cd83a581698366270224c68babd.tar.bz2
build/config/coreboot{modify,update}: cd ../ if returning
-rwxr-xr-xresources/scripts/helpers/build/config/corebootmodify1
-rwxr-xr-xresources/scripts/helpers/build/config/corebootupdate1
2 files changed, 2 insertions, 0 deletions
diff --git a/resources/scripts/helpers/build/config/corebootmodify b/resources/scripts/helpers/build/config/corebootmodify
index 367f868..353840d 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 6e612a8..6f55eb0 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