Lines Matching refs:LIB
39 LIB=${1}
43 if [ ! -d $LIB ]; then
44 mkdir -p $LIB || {
45 echo fixincludes: output dir '`'$LIB"' cannot be created"
49 ( cd $LIB && touch DONE && rm DONE ) || {
50 echo fixincludes: output dir '`'$LIB"' is an invalid directory"
105 case $LIB in
109 cd $LIB; LIB=`${PWDCMD}`
114 then echo Fixing headers into ${LIB} for ${target_canonical} target ; fi
119 elif ln -s X $LIB/ShouldNotExist 2>/dev/null; then
120 rm -f $LIB/ShouldNotExist
262 cd $LIB
266 mkdir $LIB/root
273 treetops=". ${LIB}"
309 rm -fr ${LIB}/${sym_link} > /dev/null 2>&1
310 ln -s . ${LIB}/${sym_link} > /dev/null 2>&1
323 rm -fr ${LIB}/${sym_link} > /dev/null 2>&1
324 ln -s $dots$y ${LIB}/${sym_link} > /dev/null 2>&1
335 if [ -d $LIB/root${full_dest_dir} ]
340 cd $LIB
356 dupdir=${LIB}/root${full_dest_dir}/`echo $file2 |
374 libabs=`cd ${LIB}; ${PWDCMD}`
375 file2=`cd ${LIB}; cd $parent; ${PWDCMD} | sed -e "s@^${libabs}@@"`
380 rm -fr ${LIB}/${sym_link} > /dev/null 2>&1
381 ln -s ${dots}root${full_dest_dir} ${LIB}/${sym_link} > /dev/null 2>&1
382 treetops="$treetops ${sym_link} ${LIB}/root${full_dest_dir}"
468 cd $LIB
475 cd $LIB
478 if rmdir $LIB/$file > /dev/null