From eb1e04701df93e6a820f4bdd638bf4077f5b5252 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Thu, 5 Jan 2012 19:52:57 +0100 Subject: [PATCH] Fix previous merge. --- sandbox/update-version | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sandbox/update-version b/sandbox/update-version index 699c6380b..a9c7472ac 100755 --- a/sandbox/update-version +++ b/sandbox/update-version @@ -1,8 +1,5 @@ #!/usr/bin/env bash -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. -exec $SHELL # Execute the current shell to return to user timezone if specified in config of shell. +TZ="/usr/share/zoneinfo/UTC" perl -pi -e "s/^version\s*=\s*['\"]([\S]+)[ '\"].*/version = '\1 ($( date -Iseconds ))'/" src/version.py git add src/version.py # vim: set ft=sh: syntax: