chbrown / overdrive

Bash script to download mp3s from the OverDrive audiobook service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

uuid replaced by uuidgen in mac OS 10.14

Diegus83 opened this issue · comments

The script returns a License error since the command uuid is not available in mac OS Mojave (10.14) and can't be easily installed via brew.
There is a similar command available uuidgen that provides the same functionality (generating a random UUID).
A simple solution is to create an alias in bash uudi -> uuidgen or replace the single use of uuid in the script by uuidgen

Good call. uuidgen seems pretty standard (i.e., widely available), so I don't know why I went with uuid originally. Fixed. Thanks :)