Commit 6c4d8171 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack common.sh: add support current dir source to install_file

parent 0adf31b8
......@@ -125,8 +125,10 @@ install_file()
if is_url "$src" ; then
epm tool eget -O "$BUILDROOT$dest" "$src" || fatal "Can't download $src to install to $dest"
else
elif echo "$src" | grep -q "^/" ; then
cp "$BUILDROOT/$src" "$BUILDROOT/$dest" || return
else
cp "$src" "$BUILDROOT/$dest" || return
fi
pack_file "$dest"
......
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