mirror of
https://github.com/StrawberryMaster/wayback-machine-downloader.git
synced 2025-12-17 09:46:05 +00:00
Use explicit current directory to avoid ambiguity
see `Results saved in /build/websites` but nothing is saved :( Fixes StrawberryMaster/wayback-machine-downloader#34
This commit is contained in:
parent
4b1ec1e1cc
commit
71bdc7c2de
@ -205,7 +205,8 @@ class WaybackMachineDownloader
|
||||
@directory
|
||||
else
|
||||
# ensure the default path is absolute and normalized
|
||||
File.expand_path(File.join('websites', backup_name))
|
||||
cwd = Dir.pwd
|
||||
File.expand_path(File.join(cwd, 'websites', backup_name))
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user