update-version: Fix misleading comment.

This commit is contained in:
Mika Suomalainen 2012-01-05 20:03:03 +02:00
parent ab379957e2
commit bfb3dd267c

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
export TZ="/usr/share/zoneinfo/UTC" # Use UTC with version timestamps.
export TZ="/usr/share/zoneinfo/UTC" # Set timezone as UTC for version timestamps to be in UTC.
echo "Updating version..."
perl -pi -e "s/^version\s*=\s*['\"]([\S]+)[ '\"].*/version = '\1 ($( date -Iseconds ))'/" src/version.py
unset TZ # Return to the system timezone.