dougy147 / mcbash

bash script to find valid MAC addresses on some IPTV platform
GNU General Public License v3.0
89 stars 34 forks source link

getting following error #20

Closed zalim1 closed 8 months ago

zalim1 commented 8 months ago

mkdir -p /usr/local/bin sh build.sh

dougy147 commented 8 months ago

You can try replacing every occurrence of [[ and ]] by [ and ] in build.sh.

zalim1 commented 8 months ago

working now, i had to change: cat ./misc/infos.txt > /tmp/infos_tmp.txt while read -r lines; do if [ "${lines}" == "" ]; then echo -e "\n" >> ./build/mcbash; fi; echo -e "# ${lines}" >> ./build/mcbash; done < /tmp/infos_tmp.txt rm /tmp/infos_tmp.txt

zalim1 commented 8 months ago

thanks alot.