瀏覽代碼

update configure

ruki 1 年之前
父節點
當前提交
81b7ce05e5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      configure

+ 1 - 1
configure

@@ -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}")