summaryrefslogtreecommitdiffstats
path: root/util/lint
diff options
context:
space:
mode:
Diffstat (limited to 'util/lint')
-rwxr-xr-xutil/lint/lint-stable-002-build-dir-handling3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/lint/lint-stable-002-build-dir-handling b/util/lint/lint-stable-002-build-dir-handling
index 9350907..ca61a35 100755
--- a/util/lint/lint-stable-002-build-dir-handling
+++ b/util/lint/lint-stable-002-build-dir-handling
@@ -58,7 +58,8 @@ rm -f $TMPCONFIG
$MAKE DOTCONFIG=$TMPCONFIG allyesconfig >/dev/null
# look up parent directory
-PARENTDIR=`dirname $PWD`
+CURRENTDIR=`pwd -P`
+PARENTDIR=`dirname $CURRENTDIR`
compare_output "`run_printall build`" "build/.../static.c build/.../static.c build/.../static.ramstage.o build/.../static.romstage.o"
compare_output "`run_printall ../obj`" "$PARENTDIR/obj/.../static.c $PARENTDIR/obj/.../static.c $PARENTDIR/obj/.../static.ramstage.o $PARENTDIR/obj/.../static.romstage.o"
OpenPOWER on IntegriCloud