Skip to content

Commit

Permalink
[ci] debug windows bug (#559)
Browse files Browse the repository at this point in the history
* [ci] debug windows bug
  • Loading branch information
zachmann authored Jan 10, 2024
1 parent fb5f226 commit a99142b
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -438,16 +438,8 @@ $(OBJDIR)/%.o : $(SRCDIR)/%.c
set -e ;\
depFileName=$(OBJDIR)/$*.d ;\
$(CC) -MM $(CFLAGS) $< -o $${depFileName} $(DEFINE_USE_CJSON_SO) $(DEFINE_USE_LIST_SO) $(DEFINE_USE_MUSTACHE_SO) ;\
TEST="${MINGW}${MSYS}";\
[ -z ${TEST} ] || {\
ls -la obj/oidc-agent > /dev/null ;\
ls -la `dirname $${depFileName}` > /dev/null;\
echo "mv -f $${depFileName} $${depFileName}.tmp" ;\
sleep 2.5;\
};\
mv -f $${depFileName} $${depFileName}.tmp ;\
sed -e 's|.*:|$@:|' < $${depFileName}.tmp > $${depFileName} ;\
cp -f $${depFileName} $${depFileName}.tmp ;\
sed -e 's|.*:|$@:|' < $${depFileName} > $${depFileName}.tmp ;\
cp -f $${depFileName}.tmp $${depFileName} ;\
sed -e 's/.*://' -e 's/\\$$//' < $${depFileName}.tmp | fmt -1 | \
sed -e 's/^ *//' -e 's/$$/:/' >> $${depFileName} ;\
rm -f $${depFileName}.tmp ;\
Expand Down

0 comments on commit a99142b

Please sign in to comment.