Sfoglia il codice sorgente

Merge #221: Fixes gbuild failure on OSX

3859105 OS agnostic date conversion (Alex Peters)
master
Devrandom 1 anno fa
parent
commit
de6a5924da
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      bin/gbuild

+ 1
- 1
bin/gbuild Vedi File

@@ -143,7 +143,7 @@ EOF" if build_desc["sudo"] and @options[:allow_sudo]
build_desc["remotes"].each do |remote|
dir = sanitize(remote["dir"], remote["dir"])

author_date = `cd inputs/#{dir} && git log --format=@%at -1 | date +"%F %T" -u -f -`.strip
author_date = `cd inputs/#{dir} && TZ=UTC git log --date='format-local:%F %T' --format="%ad" -1`.strip
raise "error looking up author date in #{dir}" unless $?.exitstatus == 0

system! "copy-to-target #{@quiet_flag} inputs/#{dir} build/"

Loading…
Annulla
Salva