Commit 58d3bd08 authored by Vitaly Lipatov's avatar Vitaly Lipatov

repack common.sh: make check_target_bin more verbose

parent 25232270
...@@ -230,7 +230,10 @@ __check_target_bin() ...@@ -230,7 +230,10 @@ __check_target_bin()
local target="$2" local target="$2"
if is_abs_path "$target" ; then if is_abs_path "$target" ; then
# if target does not exist # if target does not exist
[ -e "$BUILDROOT$target" ] || fatal "fatal on broken link creating (missed target $target for add_bin_*_command)" if [ ! -e "$BUILDROOT$target" ] ; then
[ -n "$debug" ] || ls -l "$(dirname "$BUILDROOT$target")"
fatal "fatal on broken link creating (missed target $target for add_bin_*_command)"
fi
chmod -v 0755 "$BUILDROOT$target" || fatal chmod -v 0755 "$BUILDROOT$target" || fatal
else else
# if target is a relative, skiping when /usr/bin/$name exists # if target is a relative, skiping when /usr/bin/$name exists
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment