dougy147 / mcbash

Find MAC addresses on IPTV providers.
GNU General Public License v3.0
102 stars 35 forks source link

getting following error #20

Closed zalim1 closed 11 months ago

zalim1 commented 11 months ago

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

dougy147 commented 11 months ago

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

zalim1 commented 11 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 11 months ago

thanks alot.