Remove the importdate hack to make things more similar with the upstream
script.
This commit is contained in:
parent
1790571ce3
commit
da8bb7f219
|
@ -1 +0,0 @@
|
|||
Sun Oct 9 17:37:20 EDT 2022 (import)
|
|
@ -23,13 +23,7 @@ if [ -n "$SOURCE_DATE_EPOCH" ]; then
|
|||
ConfStr="$ConfStr `LC_TIME=C TZ=UTC date -d@$SOURCE_DATE_EPOCH 2>/dev/null`" ||
|
||||
ConfStr="$ConfStr `LC_TIME=C TZ=UTC date -r $SOURCE_DATE_EPOCH`"
|
||||
else
|
||||
ifile="`dirname $0`/../importdate"
|
||||
if [ -f "$ifile" ]; then
|
||||
# NetBSD MKREPRO: Don't embed current date/time/run number
|
||||
ConfStr="$ConfStr "`cat "$ifile"`
|
||||
else
|
||||
ConfStr="$ConfStr `LC_TIME=C TZ=UTC date`"
|
||||
fi
|
||||
ConfStr="$ConfStr `LC_TIME=C TZ=UTC date`"
|
||||
fi
|
||||
|
||||
if [ -n "$MKREPRO_TIMESTAMP" ]; then
|
||||
|
@ -43,15 +37,7 @@ else
|
|||
echo $RUN > .version
|
||||
fi
|
||||
|
||||
if [ -f "$ifile" ]; then
|
||||
# NetBSD MKREPRO: Don't embed current date/time/run number
|
||||
else
|
||||
RUN="`cat .version`"
|
||||
RUN="`expr $RUN + 1`"
|
||||
echo $RUN > .version
|
||||
|
||||
ConfStr="$ConfStr (${RUN})"
|
||||
fi
|
||||
ConfStr="$ConfStr (${RUN})"
|
||||
|
||||
echo "Version <${ConfStr}>";
|
||||
|
||||
|
|
Loading…
Reference in New Issue