aboutsummaryrefslogtreecommitdiff
path: root/.copr/prepare.sh
diff options
context:
space:
mode:
Diffstat (limited to '.copr/prepare.sh')
-rw-r--r--.copr/prepare.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.copr/prepare.sh b/.copr/prepare.sh
index d33d55dc7..8d30b9755 100644
--- a/.copr/prepare.sh
+++ b/.copr/prepare.sh
@@ -10,7 +10,7 @@ git fetch --unshallow || :
COMMIT=$(git rev-parse HEAD)
COMMIT_SHORT=$(git rev-parse --short HEAD)
COMMIT_NUM=$(git rev-list HEAD --count)
-COMMIT_DATE=$(date --date="@$(git show -s --format=%ct HEAD)" +%Y%m%d)
+COMMIT_DATE=$(date +%s)
sed "s,#COMMIT#,${COMMIT},;
s,#SHORTCOMMIT#,${COMMIT_SHORT},;