aboutsummaryrefslogtreecommitdiffstats
path: root/default.o.do
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2021-07-14 17:21:31 +0100
committerTomasz Kramkowski <tk@the-tk.com>2021-07-14 17:21:31 +0100
commit9dec303c70c1e23283bc53d158ee503870f1d2b2 (patch)
tree015f3668b640cb5d849590d64e1f1ef0b7c5a4ff /default.o.do
parentc502072cd7ee1691b8cd426c8b23a091613378b3 (diff)
downloadpack-9dec303c70c1e23283bc53d158ee503870f1d2b2.tar.gz
pack-9dec303c70c1e23283bc53d158ee503870f1d2b2.tar.xz
pack-9dec303c70c1e23283bc53d158ee503870f1d2b2.zip
Always call redo-ifchange with arguments
Diffstat (limited to 'default.o.do')
-rwxr-xr-xdefault.o.do4
1 files changed, 2 insertions, 2 deletions
diff --git a/default.o.do b/default.o.do
index 16e98a0..c457bc5 100755
--- a/default.o.do
+++ b/default.o.do
@@ -1,6 +1,6 @@
#!/bin/bash -e
src=${1%.o}.c
redo-ifchange .compile .parse-depfile "$src"
-sed -n 's|.*@BUILD_DEP \(.*\)|\1|p' "$src" | tr '\n' '\0' | xargs -0 redo-ifchange
+sed -n 's|.*@BUILD_DEP \(.*\)|\1|p' "$src" | tr '\n' '\0' | xargs -r0 redo-ifchange
. ./.compile
-./.parse-depfile "${1%.o}.d" | tr '\n' '\0' | xargs -0 redo-ifchange
+./.parse-depfile "${1%.o}.d" | tr '\n' '\0' | xargs -r0 redo-ifchange