Date: Fri, 13 Jul 2007 00:40:06 GMT From: Garrett Cooper <gcooper@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 123413 for review Message-ID: <200707130040.l6D0e6Or045040@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=123413 Change 123413 by gcooper@optimus-revised_pkgtools on 2007/07/13 00:39:14 Fix for run_prof.sh (now allows you to run script from anywhere instead of from prof_scripts directory). Affected files ... .. //depot/projects/soc2007/revised_fbsd_pkgtools/usr/src/usr.sbin/pkg_install/prof_scripts/run_prof.sh#4 edit Differences ... ==== //depot/projects/soc2007/revised_fbsd_pkgtools/usr/src/usr.sbin/pkg_install/prof_scripts/run_prof.sh#4 (text+ko) ==== @@ -7,13 +7,10 @@ fi ITERATIONS=500 -LOG_DIR="/store/motonoad0/profile_logs" +LOG_DIR="/store/motonoad0/new_profile_logs" PACKAGE_DIR="/usr/ports/packages/All" -echo "Please change LOG_DIR's value" -exit -1; - -SCRIPT_DIR=$PWD +SCRIPT_DIR=`realpath $0 | perl -e '$pwd=$ENV{PWD}; print "$1/\n" if <STDIN> =~ /(.+)\/[^\/]+$/;'` [ ! -d "$LOG_DIR" ] && mkdir -p $LOG_DIR
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707130040.l6D0e6Or045040>