meta2deps.sh (bmake-20201101) | : | meta2deps.sh (bmake-20201117) | ||
---|---|---|---|---|
skipping to change at line 79 | skipping to change at line 79 | |||
# | # | |||
# DPDEPS_$path += $RELDIR | # DPDEPS_$path += $RELDIR | |||
#.fi | #.fi | |||
# | # | |||
# with "$path" geting turned into reldir's, so that we can end | # with "$path" geting turned into reldir's, so that we can end | |||
# up with a list of all the directories which depend on each src | # up with a list of all the directories which depend on each src | |||
# file in another directory. This can allow for efficient yet | # file in another directory. This can allow for efficient yet | |||
# complete testing of changes. | # complete testing of changes. | |||
# RCSid: | # RCSid: | |||
# $Id: meta2deps.sh,v 1.14 2020/10/02 03:11:17 sjg Exp $ | # $Id: meta2deps.sh,v 1.15 2020/11/08 06:31:08 sjg Exp $ | |||
# Copyright (c) 2010-2013, Juniper Networks, Inc. | # Copyright (c) 2010-2013, Juniper Networks, Inc. | |||
# All rights reserved. | # All rights reserved. | |||
# | # | |||
# Redistribution and use in source and binary forms, with or without | # Redistribution and use in source and binary forms, with or without | |||
# modification, are permitted provided that the following conditions | # modification, are permitted provided that the following conditions | |||
# are met: | # are met: | |||
# 1. Redistributions of source code must retain the above copyright | # 1. Redistributions of source code must retain the above copyright | |||
# notice, this list of conditions and the following disclaimer. | # notice, this list of conditions and the following disclaimer. | |||
# 2. Redistributions in binary form must reproduce the above copyright | # 2. Redistributions in binary form must reproduce the above copyright | |||
skipping to change at line 261 | skipping to change at line 261 | |||
,C) CWD=$path cwd=$path ldir=$path | ,C) CWD=$path cwd=$path ldir=$path | |||
if [ -z "$SB" ]; then | if [ -z "$SB" ]; then | |||
SB=`echo $CWD | sed 's,/obj.*,,'` | SB=`echo $CWD | sed 's,/obj.*,,'` | |||
fi | fi | |||
SRCTOP=${SRCTOP:-$SB/src} | SRCTOP=${SRCTOP:-$SB/src} | |||
case "$verion" in | case "$verion" in | |||
no) ;; # ignore | no) ;; # ignore | |||
0) error "no filemon data";; | 0) error "no filemon data";; | |||
*) ;; | *) ;; | |||
esac | esac | |||
version=0 | version=0 | |||
continue | continue | |||
;; | ;; | |||
$pid,$pid) ;; | $pid,$pid) ;; | |||
*) | *) | |||
case "$lpid" in | case "$lpid" in | |||
"") ;; | "") ;; | |||
*) eval ldir_$lpid=$ldir;; | *) eval ldir_$lpid=$ldir;; | |||
esac | esac | |||
eval ldir=\${ldir_$pid:-$CWD} cwd=\${cwd_$pid:-$CWD} | eval ldir=\${ldir_$pid:-$CWD} cwd=\${cwd_$pid:-$CWD} | |||
lpid=$pid | lpid=$pid | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added |