Skip to content

Commit

Permalink
kconfig: use set -e at the top
Browse files Browse the repository at this point in the history
Recommended by Marc Herbert:
Add set -e at the top of every script so it stops immediately on error

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
  • Loading branch information
plbossart committed Feb 15, 2022
1 parent b150970 commit 9bba13a
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kconfig-distro-sof-dev-update.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash

set -e

KCONFIG_DIR=$(dirname ${BASH_SOURCE[0]})
echo $KCONFIG_DIR

Expand Down
3 changes: 3 additions & 0 deletions kconfig-distro-sof-update.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash

set -e

KCONFIG_DIR=$(dirname ${BASH_SOURCE[0]})
echo $KCONFIG_DIR

Expand Down
3 changes: 3 additions & 0 deletions kconfig-hda.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash

set -e

KCONFIG_DIR=$(dirname ${BASH_SOURCE[0]})
echo $KCONFIG_DIR

Expand Down
3 changes: 3 additions & 0 deletions kconfig-minimize-distro-add-sof-defaults.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash

set -e

KCONFIG_DIR=$(dirname ${BASH_SOURCE[0]})
echo $KCONFIG_DIR

Expand Down
3 changes: 3 additions & 0 deletions kconfig-sof-arm64.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash

set -e

KCONFIG_DIR=$(dirname ${BASH_SOURCE[0]})
echo $KCONFIG_DIR

Expand Down
3 changes: 3 additions & 0 deletions kconfig-sof-default.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash

set -e

KCONFIG_DIR=$(dirname ${BASH_SOURCE[0]})
echo $KCONFIG_DIR

Expand Down
3 changes: 3 additions & 0 deletions kconfig-sof-nocodec.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash

set -e

KCONFIG_DIR=$(dirname ${BASH_SOURCE[0]})
echo $KCONFIG_DIR

Expand Down

0 comments on commit 9bba13a

Please sign in to comment.