mirror of
https://github.com/restic/restic.git
synced 2025-01-03 05:35:43 +00:00
parent
1d2045cb61
commit
52004cdde8
1 changed files with 4 additions and 1 deletions
5
build.go
5
build.go
|
@ -401,7 +401,10 @@ func main() {
|
|||
if err != nil {
|
||||
die("Getwd() returned %v\n", err)
|
||||
}
|
||||
output := filepath.Join(cwd, outputFilename)
|
||||
output := outputFilename
|
||||
if !filepath.IsAbs(output) {
|
||||
output = filepath.Join(cwd, output)
|
||||
}
|
||||
|
||||
version := getVersion()
|
||||
constants := Constants{}
|
||||
|
|
Loading…
Reference in a new issue