Skip to content

Instantly share code, notes, and snippets.

@hdoverobinson
Created January 12, 2018 02:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hdoverobinson/5b3d66016030f5838bb02f59a5769cc3 to your computer and use it in GitHub Desktop.
Save hdoverobinson/5b3d66016030f5838bb02f59a5769cc3 to your computer and use it in GitHub Desktop.
Quickly compile goesdump with a new false color LUT
#!/bin/bash
LUT="$1"
cp "$LUT" /root/osp-build/build/goesdump/XRIT/LUT/falsecolor.png &&
cd /root/osp-build/build/goesdump/ &&
rm -rf goesdump/bin/* &&
msbuild /p:Configuration=Release goesdump.sln &&
cd goesdump/bin/Release &&
mkbundle --simple *.exe XRIT.dll -o goesdump &&
cp * /root/osp-build/bin/goesdump/ &&
find /root/osp-build/bin/goesdump/output -name '*.png' -delete &&
screen -mS goesdump bash -c 'cd /root/osp-build/bin/goesdump/ && ./goesdump' &&
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment