Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Entware/dl_check.sh
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
executable file
15 lines (13 sloc)
432 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ -e .config ]; then | |
read -p 'Please note: .config will be rewriten during downloading! Press Ctrl+C to abort or Enter to continue' i | |
fi | |
for entware_target in $(ls -1 configs); do | |
echo "Getting $entware_target sources..." | |
cp configs/$entware_target .config | |
make -j4 download V=s | |
if [ $? -ne 0 ]; then | |
echo "$openwrt_target download failed for $entware_target:(" | |
exit 1 | |
fi | |
done |