=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== gpsd-3.20/devtools/dchroot-exec-16- gpsd-3.20/devtools/dchroot-exec:17:tmpfile=`mktemp $HOME/XXXXXXXXX.tmp` gpsd-3.20/devtools/dchroot-exec-18-cat > $tmpfile << _EOF_ ############################################## gpsd-3.20/devtools/editcomment-13- gpsd-3.20/devtools/editcomment:14:my_commit=`git rev-parse $1` || exit $? gpsd-3.20/devtools/editcomment-15- gpsd-3.20/devtools/editcomment-16-# Run a safety check before edits that could hose remotes. gpsd-3.20/devtools/editcomment:17:if test -n "`git branch -r --contains $mycommit`" gpsd-3.20/devtools/editcomment-18-then ############################################## gpsd-3.20/devtools/flocktest-91- then gpsd-3.20/devtools/flocktest:92: repo_origin=`(cd $subdir; git config remote.origin.url)` gpsd-3.20/devtools/flocktest-93- if [ $repo_origin != "%(origin)s" ] ############################################## gpsd-3.20/gpsinit-13-{ gpsd-3.20/gpsinit:14: echo `basename $0`" : Version v0.20"; gpsd-3.20/gpsinit-15-} ############################################## gpsd-3.20/gpsinit-19- version; echo; gpsd-3.20/gpsinit:20: echo "usage :" `basename $0` "[-n <netnumber>] [-s <serial speed>] <can_module_name> [<interface_name>]"; gpsd-3.20/gpsinit:21: echo " :" `basename $0` "-v"; gpsd-3.20/gpsinit:22: echo " :" `basename $0` "-h"; gpsd-3.20/gpsinit-23- echo " Options include:"; ############################################## gpsd-3.20/gpsinit-76- slcan_attach -f -s5 -o ${device}; gpsd-3.20/gpsinit:77: slcand `basename ${device}`; gpsd-3.20/gpsinit-78- ip link set slcan${net} up;; ############################################## gpsd-3.20/gpsinit-84-*) gpsd-3.20/gpsinit:85: echo `basename ${0}` ": invalid CAN interface ${1} net${net} device ${2:-(none)}" gpsd-3.20/gpsinit-86- echo; ############################################## gpsd-3.20/regress-driver-10-# We need to have the build directory in $GPSD_HOME to find the new gpsd gpsd-3.20/regress-driver:11:if [ "`dirname $0`" = "." ]; then gpsd-3.20/regress-driver-12- GPSD_HOME=`pwd` gpsd-3.20/regress-driver-13-else gpsd-3.20/regress-driver:14: GPSD_HOME=`dirname $0` gpsd-3.20/regress-driver-15-fi ############################################## gpsd-3.20/regress-driver-29-# chosen values here will match what distutils uses. gpsd-3.20/regress-driver:30:py_libdir=`pwd`/build/`${PYTHON} -c 'import distutils.util; import sys; print("lib.%s-%s" %(distutils.util.get_platform(), sys.version[0:3]))'` gpsd-3.20/regress-driver:31:py_scriptdir=`pwd`/build/`${PYTHON} -c 'import sys; print("scripts-%s" %(sys.version[0:3], ))'` gpsd-3.20/regress-driver-32-if [ -d ${py_libdir} ] && [ -d ${py_scriptdir} ]; then ############################################## gpsd-3.20/regress-driver-152- if test -s ${TMP}/diff-$$ ; then gpsd-3.20/regress-driver:153: errors=`expr $errors + 1`; gpsd-3.20/regress-driver-154- error_list="$error_list \"${f}\"" ############################################## gpsd-3.20/regress-driver-167- echo "*** No check log $f.chk exists" gpsd-3.20/regress-driver:168: notfound=`expr $notfound + 1`; gpsd-3.20/regress-driver-169- fi gpsd-3.20/regress-driver:170: total=`expr $total + 1`; gpsd-3.20/regress-driver-171- done; ############################################## gpsd-3.20/repo/hooks/update-custom-10-echo "Files modified:" gpsd-3.20/repo/hooks/update-custom:11:for filename in `git diff --name-only ${oldrev} ${newrev}` gpsd-3.20/repo/hooks/update-custom-12-do ############################################## gpsd-3.20/tests/test_nmea2000-16-# We need to have the build directory in $GPSD_HOME to find the new gpsd gpsd-3.20/tests/test_nmea2000:17:if [ "`dirname $0`" = "." ]; then gpsd-3.20/tests/test_nmea2000-18- GPSD_HOME=`pwd` gpsd-3.20/tests/test_nmea2000-19-else gpsd-3.20/tests/test_nmea2000:20: GPSD_HOME=`dirname $0` gpsd-3.20/tests/test_nmea2000-21-fi ############################################## gpsd-3.20/tests/test_nmea2000-25- echo gpsd-3.20/tests/test_nmea2000:26: echo `basename $0`" : Version v0.20"; gpsd-3.20/tests/test_nmea2000-27- echo ############################################## gpsd-3.20/tests/test_nmea2000-32- version; gpsd-3.20/tests/test_nmea2000:33: echo "usage :" `basename $0` " [-S <portnumber>] [-u <can_device>] [-p <canplayer>] [-b] <testfile>"; gpsd-3.20/tests/test_nmea2000:34: echo " :" `basename $0` " -v"; gpsd-3.20/tests/test_nmea2000:35: echo " :" `basename $0` " -h"; gpsd-3.20/tests/test_nmea2000-36- echo " Options include:"; ############################################## gpsd-3.20/tests/test_nmea2000-85- gpsd-3.20/tests/test_nmea2000:86:if [ `ifconfig -a | grep ${CAN_UNIT} | wc -c` -eq 0 ]; then device; exit 1; fi gpsd-3.20/tests/test_nmea2000-87- gpsd-3.20/tests/test_nmea2000:88:if [ `command -v ${CAN_PLAYER} | wc -c` -eq 0 ]; then can_utils; exit 1; fi gpsd-3.20/tests/test_nmea2000-89- ############################################## gpsd-3.20/tests/test_nmea2000-104- gpsd-3.20/tests/test_nmea2000:105:kill `cat ${TMP_PID_FILE}` gpsd-3.20/tests/test_nmea2000-106- ############################################## gpsd-3.20/debian/patches/add_patch.sh-4- gpsd-3.20/debian/patches/add_patch.sh:5:patchpath=`dirname ${0}` gpsd-3.20/debian/patches/add_patch.sh-6- gpsd-3.20/debian/patches/add_patch.sh-7-for hash in $@; do gpsd-3.20/debian/patches/add_patch.sh:8: fname=`git log -1 --pretty=format:'%h_%f' ${hash}` gpsd-3.20/debian/patches/add_patch.sh-9- git format-patch --stdout -N -1 ${hash} > "${fname}" ############################################## gpsd-3.20/.pc/0001-Fix-merging-and-using-of-python-flags.patch/SConstruct-1141- elif WhereIs("xmlto"): gpsd-3.20/.pc/0001-Fix-merging-and-using-of-python-flags.patch/SConstruct:1142: xmlto = "xmlto -o `dirname $TARGET` %s $SOURCE" gpsd-3.20/.pc/0001-Fix-merging-and-using-of-python-flags.patch/SConstruct-1143- htmlbuilder = xmlto % "html-nochunks" ############################################## gpsd-3.20/.pc/ignore-test-xgps_deps_check/SConstruct-1141- elif WhereIs("xmlto"): gpsd-3.20/.pc/ignore-test-xgps_deps_check/SConstruct:1142: xmlto = "xmlto -o `dirname $TARGET` %s $SOURCE" gpsd-3.20/.pc/ignore-test-xgps_deps_check/SConstruct-1143- htmlbuilder = xmlto % "html-nochunks" ############################################## gpsd-3.20/.pc/fix-soname/SConstruct-1141- elif WhereIs("xmlto"): gpsd-3.20/.pc/fix-soname/SConstruct:1142: xmlto = "xmlto -o `dirname $TARGET` %s $SOURCE" gpsd-3.20/.pc/fix-soname/SConstruct-1143- htmlbuilder = xmlto % "html-nochunks" ############################################## gpsd-3.20/SConstruct-1141- elif WhereIs("xmlto"): gpsd-3.20/SConstruct:1142: xmlto = "xmlto -o `dirname $TARGET` %s $SOURCE" gpsd-3.20/SConstruct-1143- htmlbuilder = xmlto % "html-nochunks"