The --prefix option to the 'git archive' command should end with a slash

This commit is contained in:
Tor Lillqvist 2015-05-13 17:49:04 +03:00
parent de8afb9a2b
commit 02cc648dc0

View file

@ -140,7 +140,7 @@ pushd "${CORE_DIR}" > /dev/null
echo "archiving core..."
git archive --format=tar --prefix="${base_name?}" -o "${OUT_DIR}/${base_name}.tar" ${LABEL?}
git archive --format=tar --prefix="${base_name?}/" -o "${OUT_DIR}/${base_name}.tar" ${LABEL?}
concatenate_list=