Skip to content

Instantly share code, notes, and snippets.

@ebenolson
Last active January 4, 2019 21:54
Show Gist options
  • Save ebenolson/3a97deeed82e8ffadf106df01931f519 to your computer and use it in GitHub Desktop.
Save ebenolson/3a97deeed82e8ffadf106df01931f519 to your computer and use it in GitHub Desktop.
#!/bin/bash
if [ ! -f convert_mod.py ]; then
wget https://gist.github.com/ebenolson/07af5bf0919dfa7f5585577ad073c120/raw/fc15e516ff21a503833d9157f52de9334139ce7b/convert_mod.py
fi
docker run -it -v `pwd`:`pwd`:rw -w `pwd` ebenolson/kicad:5.0.0 bash -c "python convert_mod.py $1 $2"
sudo chown -R $USER $2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment