From 83d7a2524bdbf7b1da1c47b52bc20eee0f12c60e Mon Sep 17 00:00:00 2001 From: John Beck Date: Fri, 5 Mar 2010 09:21:47 -0800 Subject: 6932568 build_cscope gets bad directions from IPS exception file, ends up driving around Apple HQ --- usr/src/tools/scripts/flg.flp.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'usr/src') diff --git a/usr/src/tools/scripts/flg.flp.sh b/usr/src/tools/scripts/flg.flp.sh index c2aa024fb5..40239cf9e7 100644 --- a/usr/src/tools/scripts/flg.flp.sh +++ b/usr/src/tools/scripts/flg.flp.sh @@ -20,11 +20,9 @@ # CDDL HEADER END # # -# Copyright 2008 Sun Microsystems, Inc. All rights reserved. +# Copyright 2010 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" -# # # Generates the list of source files that would get brought over with the # specified subtree as a result of inc.flg and req.flg files. If no subtree @@ -170,6 +168,7 @@ prpath() while [ "${srcfile##$tree}" = "$srcfile" ]; do dots=../$dots tree=`dirname $tree` + [ "$tree" = "." ] && break done echo ${dots}${srcfile##$tree/} done -- cgit v1.2.3