Created
November 14, 2014 11:56
-
-
Save mlocher/0ffa578ea242c928703d to your computer and use it in GitHub Desktop.
Update JPEGoptim
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
VERSION="1.4.1" | |
DIR=`pwd` | |
mkdir ~/jpegoptim | |
wget "https://github.com/tjko/jpegoptim/archive/RELEASE.${VERSION}.tar.gz" -O ~/jpegoptim.tar.gz | |
tar -xaf ~/jpegoptim.tar.gz --strip-components=1 -C ~/jpegoptim | |
cd ~/jpegoptim | |
./configure | |
make | |
make strip | |
cp jpegoptim "${HOME}/bin" | |
cd "${DIR}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment