Skip to content

Commit

Permalink
improve configure
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Oct 27, 2023
1 parent 503e449 commit 2af728a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ _os_find() {
_os_date() {
if test_z "${SOURCE_DATE_EPOCH}"; then
_ret=$(date +"${1}")
elif is_host "macosx"; then
elif is_host "macosx" "freebsd" "bsd"; then
_ret=$(date -u -r "$SOURCE_DATE_EPOCH" +"${1}")
else
_ret=$(date -u -d "@$SOURCE_DATE_EPOCH" +"${1}")
Expand Down

0 comments on commit 2af728a

Please sign in to comment.