Skip to content

Instantly share code, notes, and snippets.

@gadogado
Last active December 29, 2015 09:19
Show Gist options
  • Save gadogado/7649914 to your computer and use it in GitHub Desktop.
Save gadogado/7649914 to your computer and use it in GitHub Desktop.
#!/bin/sh
# capture root dir
root=$(pwd)
# change into subdir of archive
cd $root/jbig-*
# configure and compile
make install PREFIX=/app/vendor
# remove source files
rm -rf $root/*
# copy build artifacts back into the root
mv /app/vendor $root/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment