Commit 3c98568d authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack common.sh: fix install_file: don't pack if cp had error

parent 6abb9371
......@@ -114,7 +114,7 @@ install_file()
local src="$1"
local dest="$2"
mkdir -p "$BUILDROOT/$(dirname "$dest")" || return
cp "$BUILDROOT/$src" "$BUILDROOT/$dest"
cp "$BUILDROOT/$src" "$BUILDROOT/$dest" || return
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