logo

utils-std

Collection of commonly available Unix tools git clone https://anongit.hacktivis.me/git/utils-std.git
commit: 24930bf695d343c6644504f63769e9ed881d040c
parent 0c00de4991ed0e7722881477dc858de001fb036e
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Tue,  3 Sep 2024 18:25:46 +0200

test-cmd/pathchk.sh: use export instead of eval

Diffstat:

Mtest-cmd/pathchk.sh2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test-cmd/pathchk.sh b/test-cmd/pathchk.sh @@ -17,7 +17,7 @@ if ! test -f "${WD}/test-cmd/pathchk-getlimits"; then echo "${WD}/test-cmd/pathchk-getlimits: Is missing, did you use make?" exit 1 fi -eval $("${WD}/test-cmd/pathchk-getlimits") +export $("${WD}/test-cmd/pathchk-getlimits") echo "# NAME_MAX: ${NAME_MAX?}" echo "# PATH_MAX: ${PATH_MAX?}"