mirror of
https://github.com/krglaws/MyLFS.git
synced 2025-08-01 23:54:52 +00:00
create pkgs/ in download_pkgs in case it isn't already there
This commit is contained in:
2
mylfs.sh
2
mylfs.sh
@ -327,6 +327,8 @@ function download_pkgs {
|
|||||||
local PACKAGE_LIST=$1/pkgs.sh
|
local PACKAGE_LIST=$1/pkgs.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
mkdir -p $PACKAGE_DIR
|
||||||
|
|
||||||
[ -f "$PACKAGE_LIST" ] || { echo "ERROR: $PACKAGE_LIST is missing." && exit 1; }
|
[ -f "$PACKAGE_LIST" ] || { echo "ERROR: $PACKAGE_LIST is missing." && exit 1; }
|
||||||
|
|
||||||
local PACKAGE_URLS=$(cat $PACKAGE_LIST | grep "^[^#]" | cut -d"=" -f2)
|
local PACKAGE_URLS=$(cat $PACKAGE_LIST | grep "^[^#]" | cut -d"=" -f2)
|
||||||
|
Reference in New Issue
Block a user