aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-08-30 15:55:31 +0100
committerFrancis Rowe <info@gluglug.org.uk>2015-08-30 15:55:31 +0100
commit09fe37e979847cd83a581698366270224c68babd (patch)
tree30389e12cd82f21243f9d2ef8c6fcbd1d1685254 /resources/scripts
parent467d77bd0d191b38e5b2cc11e7ae4207fcb87b17 (diff)
downloadlibrebootfr-09fe37e979847cd83a581698366270224c68babd.tar.gz
librebootfr-09fe37e979847cd83a581698366270224c68babd.zip
build/config/coreboot{modify,update}: cd ../ if returning
Diffstat (limited to 'resources/scripts')
-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 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