changeset 48841 | 90fe0798b83a |
parent 48840 | 7e19dc018db9 |
child 50653 | 5c85f8b80b95 |
--- a/lib/Tools/components Fri Aug 17 14:56:37 2012 +0200 +++ b/lib/Tools/components Fri Aug 17 15:05:57 2012 +0200 @@ -104,6 +104,7 @@ if [ ! -e "${FULL_NAME}.tar.gz" ]; then REMOTE="$COMPONENT_REPOSITORY/${BASE_NAME}.tar.gz" echo "Getting \"$REMOTE\"" + mkdir -p "$(dirname "$FULL_NAME")" perl -MLWP::Simple -e "getprint '$REMOTE';" > "${FULL_NAME}.tar.gz" if perl -e "exit((stat('${FULL_NAME}.tar.gz'))[7] == 0 ? 0 : 1);" then