[scripts] move script resources to a separate directory

This commit is contained in:
Dmytro Meleshko 2019-12-07 11:18:55 +02:00
parent 6f3eb3b40e
commit 9f1d9f506e
6 changed files with 3 additions and 3 deletions

View file

@ -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"

View file

@ -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"

View file

@ -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" "$@"