diff options
author | Russ Allbery <eagle@eyrie.org> | 2013-01-04 22:43:26 +0000 |
---|---|---|
committer | Russ Allbery <eagle@eyrie.org> | 2013-01-04 22:43:26 +0000 |
commit | 2ca5cc8d26718fab767c7c0cd2b0ccebeaa310f4 (patch) | |
tree | 155daaf3834e5ff7dd99b4afcd4471155a145eb6 /bin | |
parent | 1f40624afb8dff23ea7aad6f0610b01f4901469f (diff) |
Fix variable scoping error that prevented pages from a Git repository
to get correct modified timestamps.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/spin | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -582,7 +582,7 @@ sub footer { $modified = sprintf ("%d-%02d-%02d", $1, $2, $3); } } elsif (defined $REPO && $source =~ /^\Q$SOURCE/) { - my $modified = $REPO->run ('log', '-1', '--format=%ct', $source); + $modified = $REPO->run ('log', '-1', '--format=%ct', $source); if ($modified) { $modified = strftime ('%Y-%m-%d', gmtime $modified); } |