1 2 3 4 5
#! /bin/sh VER=`sed -n -e 's/^const char \*gScummVMVersion = "\(.*\)";/\1/p' base/main.cpp``date +%Y%m%d` sed "s/@VERSION@/$VER/g" debian/changelog.in > debian/changelog