aboutsummaryrefslogtreecommitdiffstats
path: root/demo/nginx_proxy/demo-1/apply_patch.sh
blob: 84ecc59f0f450c3eb6db7689a33e0229bf862f4c (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash -x
sudo  apt-get install patch -y
cd /DMM/src/
sudo patch -p2 -i /DMM/demo/nginx_proxy/demo-1/demo_2stack.patch
if [ $? -ne 0 ]; then
    echo "Patch Apply failed. Downlaod correct commit. Check README for details."
    exit -1
fi
cd -