aboutsummaryrefslogtreecommitdiffstats
path: root/.link-executable.do
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2021-07-14 11:40:30 +0100
committerTomasz Kramkowski <tk@the-tk.com>2021-07-14 11:40:30 +0100
commit5107f97c50b1ea37df341fd9b06f61694ebb9b3f (patch)
tree3be7333cba50387a8670c28dc83b445f2aaf5d20 /.link-executable.do
parentb6f7455a7fc501845bd89ec3a01366fdc3c46227 (diff)
downloadpack-5107f97c50b1ea37df341fd9b06f61694ebb9b3f.tar.gz
pack-5107f97c50b1ea37df341fd9b06f61694ebb9b3f.tar.xz
pack-5107f97c50b1ea37df341fd9b06f61694ebb9b3f.zip
Update redo scripts to work with jdebp redo
Diffstat (limited to '.link-executable.do')
-rwxr-xr-x.link-executable.do8
1 files changed, 2 insertions, 6 deletions
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