=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== imagej-1.53f/debian/extra/imagej-31- # This does not work see #505315 imagej-1.53f/debian/extra/imagej:32: JAVA_HOME=`/usr/sbin/update-java-alternatives -l | grep openjdk | grep $(dpkg --print-architecture) | sort -u -k2 | tail -1 | tr -s ' ' | cut -d' ' -f 3` imagej-1.53f/debian/extra/imagej-33- # Reverted to old version - see #558222 (Andreas Tille) ############################################## imagej-1.53f/debian/extra/imagej-96- java_path="${ij_path}/jre64/bin/java" imagej-1.53f/debian/extra/imagej:97: max_mem=`vmstat | awk 'NR == 3 {fmem=int($5 / 1024); if (fmem < 4000) {print fmem} else {print 4000}}'` imagej-1.53f/debian/extra/imagej-98- free_mem="max_mem" ############################################## imagej-1.53f/debian/extra/imagej-103- java_path="${ij_path}/jre64/bin/java" imagej-1.53f/debian/extra/imagej:104: max_mem=`free | awk 'NR == 2 {fmem=int($2 / 1024); if (fmem < 4000) {print fmem} else {print 4000}}'` imagej-1.53f/debian/extra/imagej:105: free_mem=`free | awk 'NR == 3 {fmem=int($4 / 1024); if (fmem < 4000) {print fmem} else {print 4000}}'` imagej-1.53f/debian/extra/imagej-106- mem=${free_mem}/3*2 ############################################## imagej-1.53f/debian/extra/imagej-109- java_path="${ij_path}/jre/bin/java" imagej-1.53f/debian/extra/imagej:110: max_mem=`free | awk 'NR == 2 {fmem=int($2 / 1024); if (fmem < 1800) {print fmem} else {print 1800}}'` imagej-1.53f/debian/extra/imagej:111: free_mem=`free | awk 'NR == 3 {fmem=int($4 / 1024); if (fmem < 1800) {print fmem} else {print 1800}}'` imagej-1.53f/debian/extra/imagej-112- mem=${free_mem}/3*2 ############################################## imagej-1.53f/debian/extra/imagej-323- for lockname in ${locklist[*]} ; do imagej-1.53f/debian/extra/imagej:324: prefix=`printf '%02u' $port` imagej-1.53f/debian/extra/imagej-325- if [[ "$lockname" == ${prefix}-${user}-${host}* ]] ; then ############################################## imagej-1.53f/debian/extra/imagej-348- count="${lockname%-*-*-*}" imagej-1.53f/debian/extra/imagej:349: #count=`echo $lockname | sed -e 's/^\([0-9][0-9]\).*/\1/' -e 's/^0//'` # csh? imagej-1.53f/debian/extra/imagej-350- break ############################################## imagej-1.53f/debian/extra/imagej-369- count=count+1 imagej-1.53f/debian/extra/imagej:370: prefix=`printf '%02u' $count` imagej-1.53f/debian/extra/imagej-371- inuse='false' ############################################## imagej-1.53f/debian/extra/imagej-380- # creating a new port lock imagej-1.53f/debian/extra/imagej:381: prefix=`printf '%02u' $count` imagej-1.53f/debian/extra/imagej-382- lockname=${prefix}-${user}-${host}-${display}