mirror of
https://github.com/StrawberryMaster/wayback-machine-downloader.git
synced 2025-12-17 17:56:44 +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
|
@directory
|
||||||
else
|
else
|
||||||
# ensure the default path is absolute and normalized
|
# 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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user