=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== spaced-1.2.0-201605+dfsg/debian/get-orig-source-16-set -e spaced-1.2.0-201605+dfsg/debian/get-orig-source:17:NAME=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'` spaced-1.2.0-201605+dfsg/debian/get-orig-source-18- spaced-1.2.0-201605+dfsg/debian/get-orig-source-19-if ! echo $@ | grep -q upstream-version ; then spaced-1.2.0-201605+dfsg/debian/get-orig-source:20: VERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/\([0-9\.]\+\)-[0-9]\+$/\1/'` spaced-1.2.0-201605+dfsg/debian/get-orig-source-21-else spaced-1.2.0-201605+dfsg/debian/get-orig-source:22: VERSION=`echo $@ | sed "s?^.*--upstream-version \([0-9.]\+\) .*${NAME}.*?\1?"` spaced-1.2.0-201605+dfsg/debian/get-orig-source-23- if echo "$VERSION" | grep -q "upstream-version" ; then ############################################## spaced-1.2.0-201605+dfsg/debian/get-orig-source-28- spaced-1.2.0-201605+dfsg/debian/get-orig-source:29:SOURCE_URL=`awk '/^Source/ {print $2}' debian/copyright` spaced-1.2.0-201605+dfsg/debian/get-orig-source-30-EXCLUDE=`grep 'Files-Excluded' debian/copyright | cut -d' ' -f2-` spaced-1.2.0-201605+dfsg/debian/get-orig-source:31:UPSTREAMTARBALL=`echo $SOURCE_URL | sed 's#^.*/\([^/]\+\)#\1#'` spaced-1.2.0-201605+dfsg/debian/get-orig-source-32- ############################################## spaced-1.2.0-201605+dfsg/debian/get-orig-source-44-# Remove useless binaries spaced-1.2.0-201605+dfsg/debian/get-orig-source:45:UPSTREAMTARDIR=`find . -mindepth 1 -maxdepth 1 -type d -name "${NAME}*"` spaced-1.2.0-201605+dfsg/debian/get-orig-source-46-cd "${UPSTREAMTARDIR}" ############################################## spaced-1.2.0-201605+dfsg/debian/get-orig-source-48-# obtain version from file variance.h spaced-1.2.0-201605+dfsg/debian/get-orig-source:49:VERSION=`grep '@version: [0-9][0-9.]\+ [0-9/]\+' $(find . -name variance.h) | sed 's#.*@version: \([0-9][0-9.]\+\) \([0-9]\+\)/\([0-9]\+\)#\1-\3\2#'`+dfsg spaced-1.2.0-201605+dfsg/debian/get-orig-source-50-cd ..