1
0
mirror of https://github.com/krglaws/MyLFS.git synced 2025-07-29 15:08:38 +00:00

create pkgs/ in download_pkgs in case it isn't already there

This commit is contained in:
Kyle Glaws
2022-05-12 23:11:13 -04:00
parent 6468393555
commit cf0139f68e

View File

@ -327,6 +327,8 @@ function download_pkgs {
local PACKAGE_LIST=$1/pkgs.sh
fi
mkdir -p $PACKAGE_DIR
[ -f "$PACKAGE_LIST" ] || { echo "ERROR: $PACKAGE_LIST is missing." && exit 1; }
local PACKAGE_URLS=$(cat $PACKAGE_LIST | grep "^[^#]" | cut -d"=" -f2)