ohoachuck / wwdc-downloader

WWDC 2019 video downloader script written in Swift - no external dependency.
http://blog.hoachuck.biz
1.49k stars 142 forks source link

improved shell script availability. #89

Closed hirohitokato closed 5 years ago

hirohitokato commented 5 years ago

If current directory is different from that of wwdcDownloader.sh, the script aborts with the following error.

% wwdcDownloader.sh --pdf-only
<unknown>:0: error: no such file or directory: './wwdcDownloader.swift'

The reason is the path for wwdcDownloader.swift is not ..

Therefore I improved the script so that we can download the above situation.

ohoachuck commented 5 years ago

Yes, Thanx. The bash script was a quick and dirty fix for swift 5 issue with shebang. Indeed, thank you for your fix.

O.