Browse Source

sde-build: show broken links messages as errors

user/chris/test/patchcksum
Alejandro Mery 13 years ago
parent
commit
247847f5d4
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      lib/functions.in

+ 4
- 4
lib/functions.in

@ -411,16 +411,16 @@ postflist_dirty_symlinks() {
dfn2=$(relative_path "$dfn" "/$fn")
if [ -z "$dfn2" ]; then
echo_warning "invalid symlink: $fn (can't fix)"
echo_error "invalid symlink: $fn (can't fix)"
continue
fi
ln -snf "$dfn2" "$ffn"
if [ ! -e "$ffn" ]; then
echo_warning "broken absolute symlink: $fn"
echo_error "broken absolute symlink: $fn"
fi
elif [ ! -e "$ffn" ]; then
echo_warning "broken symlink: $fn"
echo_error "broken symlink: $fn"
fi
fi
done < "$builddir/flist.txt"
@ -454,7 +454,7 @@ postflist_static_lib() {
esac
add_flist "$ffn2"
if [ -L "$ffn2" -a ! -e "$ffn2" ]; then
echo_warning "broken symlink: usr/$fn (after static lib correction)"
echo_error "broken symlink: usr/$fn (after static lib correction)"
fi
done

Loading…
Cancel
Save