legacy/libisoburn/trunk/test/make_timestamp.sh

10 lines
268 B
Bash
Executable File

#!/bin/sh
# Create version timestamp test/xorriso_timestamp.h
# to be executed within ./libisoburn-develop
timestamp="$(date -u '+%Y.%m.%d.%H%M%S')"
echo "Version timestamp : $timestamp"
echo '#define Xorriso_timestamP "'"$timestamp"'"' >test/xorriso_timestamp.h