BPI-R2 PRO-BSP Image build

Hello everyone tired build Debian image in this repo BPI-R2PRO-BSP/debian at main · BPI-SINOVOIP/BPI-R2PRO-BSP · GitHub . When I tried to run RELEASE=buster TARGET=base ARCH=armhf ./mk-base-debian.sh command , i got permission denied and i used sudo chmod 777 * ,after that i got
rm -f linaro-buster-alip-* rm -rf config ./mk-base-debian.sh: line 33: ./configure: Permission denied

How can i solve it best regards Note I use Ubuntu 22.04.1 LTS Python 3.9