From 062f9d6a15eacec9068753533b3ea8917dd75d2d Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sun, 13 Aug 2017 12:06:12 +0200 Subject: [PATCH] tests/themes/run.sh: distinguish header from tests/run.sh --- tests/themes/run.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/themes/run.sh b/tests/themes/run.sh index b49f82364..41a2a6b42 100755 --- a/tests/themes/run.sh +++ b/tests/themes/run.sh @@ -15,12 +15,12 @@ tests_dir="$(dirname -- "$0")/.." config_file="$build_dir/test-themes-awesomerc.lua" -for theme in themes/*/theme.lua; do - echo "== Testing $theme ==" - theme=${theme%/*} - theme=${theme##*/} +for theme_file in themes/*/theme.lua; do + echo "==== Testing theme: $theme_file ====" + theme_name=${theme_file%/*} + theme_name=${theme_name##*/} - sed "s~default/theme~$theme/theme~g" "awesomerc.lua" > "$config_file" + sed "s~default/theme~$theme_name/theme~g" "awesomerc.lua" > "$config_file" # Set CMAKE_BINARY_DIR for out-of-tree builds. CMAKE_BINARY_DIR="$PWD" \