提交 d36a9eef 作者: Tor Arne Vestbø

Ensure IPFS-BUILD-OPTIONS build dependency is created

If the file doesn't exist, make will conclude that the missing
prerequisite should trigger a rebuild of the binaries.
上级 675e2c7f
...@@ -14,9 +14,11 @@ shift ...@@ -14,9 +14,11 @@ shift
shift shift
FLAG_MSGS="$@" FLAG_MSGS="$@"
test -f $FLAG_FILE || touch $FLAG_FILE
# Use x in front of tested values as flags could be # Use x in front of tested values as flags could be
# interpreted by "test" to be for itself. # interpreted by "test" to be for itself.
if test x"$FLAG_VALS" != x"$(cat "$FLAG_FILE" 2>/dev/null)" if test x"$FLAG_VALS" != x"$(cat "$FLAG_FILE")"
then then
echo "$FLAG_MSGS" echo "$FLAG_MSGS"
echo "$FLAG_VALS" >"$FLAG_FILE" echo "$FLAG_VALS" >"$FLAG_FILE"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论