From 5107f97c50b1ea37df341fd9b06f61694ebb9b3f Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Wed, 14 Jul 2021 11:40:30 +0100 Subject: Update redo scripts to work with jdebp redo --- .link-executable.do | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to '.link-executable.do') diff --git a/.link-executable.do b/.link-executable.do index 4d7abdd..bb3dea6 100755 --- a/.link-executable.do +++ b/.link-executable.do @@ -3,10 +3,6 @@ redo-ifchange .config.rc . ./.config.rc exec >"$3" echo "# generated by $0" -echo "CC=$CC" -echo "LDFLAGS=(${LDFLAGS[@]@Q})" -echo "LDLIBS=(${LDLIBS[@]@Q})" +declare -p CC LDFLAGS LDLIBS echo '"$CC" "${LDFLAGS[@]}" "${objects[@]}" "${LDLIBS[@]}" -o "$3"' -if command -v redo-stamp >/dev/null 2>&1; then - redo-stamp <"$3" -fi +if command -v redo-stamp &>/dev/null; then redo-stamp <"$3"; fi -- cgit v1.2.3-54-g00ecf