diff --git a/tests/themes/run.sh b/tests/themes/run.sh index 788403f94..8d5a1f2c5 100755 --- a/tests/themes/run.sh +++ b/tests/themes/run.sh @@ -7,8 +7,8 @@ set -e if ! [ -f CMakeLists.txt ]; then - echo 'This should be run from the source directory (expected CMakeLists.txt).' >&2 - exit 64 + echo 'This should be run from the source directory (expected CMakeLists.txt).' >&2 + exit 64 fi source_dir="$PWD" @@ -32,14 +32,14 @@ cleanup() { trap "cleanup" 0 2 3 15 for theme_file in themes/*/theme.lua; do - echo "==== Testing theme: $theme_file ====" - theme_name=${theme_file%/*} - theme_name=${theme_name##*/} + echo "==== Testing theme: $theme_file ====" + theme_name=${theme_file%/*} + theme_name=${theme_name##*/} - sed "s~default/theme~$theme_name/theme~g" "awesomerc.lua" > "$config_file" + sed "s~default/theme~$theme_name/theme~g" "awesomerc.lua" > "$config_file" - AWESOME_RC_FILE="$config_file" \ - AWESOME_THEMES_PATH="$build_dir/themes" \ - AWESOME_ICON_PATH="$PWD/icons" \ - "$source_dir/tests/run.sh" themes/tests.lua + AWESOME_RC_FILE="$config_file" \ + AWESOME_THEMES_PATH="$build_dir/themes" \ + AWESOME_ICON_PATH="$PWD/icons" \ + "$source_dir/tests/run.sh" themes/tests.lua done