Skip to content

Commit

Permalink
Makefile fix: prevent sed from leaving a backup file
Browse files Browse the repository at this point in the history
  • Loading branch information
oshaked1 committed Jun 20, 2024
1 parent 4b4b559 commit 48a3397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ dist: all
rm dist/workdir/extcap/tracee-capture.sh; \
fi

@sed -i'' -e 's/VERSION_PLACEHOLDER/$(TRACEESHARK_VERSION)/g' dist/workdir/extcap/tracee-capture.py
@sed -i '' -e 's/VERSION_PLACEHOLDER/$(TRACEESHARK_VERSION)/g' dist/workdir/extcap/tracee-capture.py

$(eval WS_VERSION := $(shell wireshark/build/run/wireshark --version | grep -o -E "Wireshark [0-9]+\.[0-9]+\.[0-9]+" | grep -o -E "[0-9]+\.[0-9]+\.[0-9]+"))
@echo $(WS_VERSION) > dist/workdir/ws_version.txt
Expand Down

0 comments on commit 48a3397

Please sign in to comment.