You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
function find_local_pkgset
|
|
{
|
|
local TOPFILE=.gvm_local
|
|
if [ -d $TOPFILE ] ; then
|
|
PWD= /bin/pwd
|
|
else
|
|
local HERE=$PWD
|
|
T=
|
|
while [ \( ! \( -d $TOPFILE \) \) -a \( $PWD != "/" \) ]; do
|
|
\cd ..
|
|
T=`PWD= /bin/pwd`
|
|
done
|
|
\cd $HERE
|
|
if [ -d "$T/$TOPFILE" ]; then
|
|
echo $T
|
|
fi
|
|
fi
|
|
}
|
|
|