File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -258,12 +258,13 @@ for comp in "${PKGS[@]}"; do
258258 if [[ ${! ver} == /ipfs/* ]]; then
259259 DOWNLOAD_URL=" ${IPFS_ENDPOINT} /api/v0/cat?arg=${! ver%:* } "
260260 fi
261- eval " ${comp} _URL=\" ${DOWNLOAD_URL} /${comp,,} .dnp.dappnode.eth_${! ver##*: } _linux-${ARCH} .txz\" "
261+ comp_lower=$( echo " $comp " | tr ' [:upper:]' ' [:lower:]' )
262+ eval " ${comp} _URL=\" ${DOWNLOAD_URL} /${comp_lower} .dnp.dappnode.eth_${! ver##*: } _linux-${ARCH} .txz\" "
262263 eval " ${comp} _YML=\" ${DOWNLOAD_URL} /docker-compose.yml\" "
263264 eval " ${comp} _MANIFEST=\" ${DOWNLOAD_URL} /dappnode_package.json\" "
264- eval " ${comp} _YML_FILE=\" ${DAPPNODE_CORE_DIR} /docker-compose-${comp,, } .yml\" "
265- eval " ${comp} _FILE=\" ${DAPPNODE_CORE_DIR} /${comp,, } .dnp.dappnode.eth_${! ver##*: } _linux-${ARCH} .txz\" "
266- eval " ${comp} _MANIFEST_FILE=\" ${DAPPNODE_CORE_DIR} /dappnode_package-${comp,, } .json\" "
265+ eval " ${comp} _YML_FILE=\" ${DAPPNODE_CORE_DIR} /docker-compose-${comp_lower } .yml\" "
266+ eval " ${comp} _FILE=\" ${DAPPNODE_CORE_DIR} /${comp_lower } .dnp.dappnode.eth_${! ver##*: } _linux-${ARCH} .txz\" "
267+ eval " ${comp} _MANIFEST_FILE=\" ${DAPPNODE_CORE_DIR} /dappnode_package-${comp_lower } .json\" "
267268done
268269
269270dappnode_core_build () {
You can’t perform that action at this time.
0 commit comments