]> git.saurik.com Git - cydia.git/blame - Version.h.sh
OMG, I forgot to commit this logic inversion.
[cydia.git] / Version.h.sh
CommitLineData
1571ba62
JF
1#!/bin/bash
2
3version=$(./version.sh)
4
5new="#define Cydia_ \"${version}\""
6old=$(cat Version.h 2>/dev/null)
7
8if [[ ${old} != ${new} ]]; then
9 echo "${new}" >Version.h
10fi