PrismLauncher: remove SOURCE_DATE_EPOCH special handling
Since cmake version 3.8 it will automatically use SOURCE_DATE_EPOCH for the build timestamp. https://cmake.org/cmake/help/latest/command/string.html#timestamp
This commit is contained in:
parent
47426be25c
commit
76ad76f3e8
@ -26,11 +26,6 @@ case "$XBPS_TARGET_MACHINE" in
|
||||
esac
|
||||
|
||||
pre_configure() {
|
||||
local _date
|
||||
if [ "$SOURCE_DATE_EPOCH" ]; then
|
||||
_date="$(date --utc --date "@$SOURCE_DATE_EPOCH" "+%Y-%m-%d")"
|
||||
configure_args+=" -DLauncher_BUILD_TIMESTAMP=${_date}"
|
||||
fi
|
||||
. /etc/profile.d/jdk.sh
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user