commit a6ae4de5b1a8bb2bf19e6a1e4cb6e16145e25bb9 parent 8710c58c525aaf8c9d51fe458afe40f7489fc698 Author: Jan Pobříslo <ccx@te2000.cz> Date: Fri, 23 Feb 2024 20:23:45 +0100 Fix filenames Diffstat:
M | command/pthbs-enter-gen | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/command/pthbs-enter-gen b/command/pthbs-enter-gen @@ -5,9 +5,9 @@ if test $# != 1; then exit 2 fi envtop=$1 -envcommand=$1/command envdir=$envtop/env -exe=$envcommand/command/pthbs-enter +envcommand=$envtop/command +exe=$envcommand/pthbs-enter case $(basename "$envtop") in (env.*) ;; @@ -16,7 +16,7 @@ case $(basename "$envtop") in exit 1;; esac -if ! test -e "$envcommand"; then +if ! test -d "$envcommand"; then printf >&2 "Error: '%s' doesn't exist!\n" "$envcommand" fi mkdir -p "$envdir"