From 9f1d9f506ee07d745a932db04f055675cfadec6a Mon Sep 17 00:00:00 2001 From: Dmytro Meleshko Date: Sat, 7 Dec 2019 11:18:55 +0200 Subject: [PATCH] [scripts] move script resources to a separate directory --- {scripts => script-resources}/colortest.awk | 0 {scripts => script-resources}/colortest2.awk | 0 {scripts => script-resources}/pycalc_startup.py | 0 scripts/colortest | 2 +- scripts/colortest2 | 2 +- scripts/pycalc3 | 2 +- 6 files changed, 3 insertions(+), 3 deletions(-) rename {scripts => script-resources}/colortest.awk (100%) rename {scripts => script-resources}/colortest2.awk (100%) rename {scripts => script-resources}/pycalc_startup.py (100%) diff --git a/scripts/colortest.awk b/script-resources/colortest.awk similarity index 100% rename from scripts/colortest.awk rename to script-resources/colortest.awk diff --git a/scripts/colortest2.awk b/script-resources/colortest2.awk similarity index 100% rename from scripts/colortest2.awk rename to script-resources/colortest2.awk diff --git a/scripts/pycalc_startup.py b/script-resources/pycalc_startup.py similarity index 100% rename from scripts/pycalc_startup.py rename to script-resources/pycalc_startup.py diff --git a/scripts/colortest b/scripts/colortest index a433d53..99f0f4b 100755 --- a/scripts/colortest +++ b/scripts/colortest @@ -4,4 +4,4 @@ set -e script_dir="$(dirname "$0")" -exec awk -f "${script_dir}/colortest.awk" +exec awk -f "${script_dir}/../script-resources/colortest.awk" diff --git a/scripts/colortest2 b/scripts/colortest2 index e48db93..9b685c6 100755 --- a/scripts/colortest2 +++ b/scripts/colortest2 @@ -6,4 +6,4 @@ script_dir="$(dirname "$0")" cols="$(tput cols)" lines="$(tput lines)" -exec awk -v WIDTH="$((cols/2))" -v HEIGHT="$lines" -f "${script_dir}/colortest2.awk" +exec awk -v WIDTH="$((cols/2))" -v HEIGHT="$lines" -f "${script_dir}/../script-resources/colortest2.awk" diff --git a/scripts/pycalc3 b/scripts/pycalc3 index e5154b7..20380e8 100755 --- a/scripts/pycalc3 +++ b/scripts/pycalc3 @@ -6,4 +6,4 @@ for python in bpython python3; do fi done echo "using Python '$python'" -PYTHONSTARTUP="$(dirname "$0")/pycalc_startup.py" "$python" "$@" +PYTHONSTARTUP="$(dirname "$0")/../script-resources/pycalc_startup.py" "$python" "$@"