弄错仓库路径了

This commit is contained in:
2024-08-30 16:37:20 +08:00
parent 00c233189f
commit c960e02e0c
2 changed files with 16 additions and 14 deletions
@@ -26,13 +26,15 @@ else
useDebianPort
fi
fi
sudo debootstrap --arch=$1 $2 $bottlePath $4
sudo debootstrap --arch=$1 $2 $bottlePath $5
sudo bash .github/workflows/pardus-chroot $bottlePath
# 配置 git
sudo chroot $bottlePath apt update
sudo chroot $bottlePath apt install git -y
sudo chroot $bottlePath git clone $3 --depth=1
sudo chroot $bottlePath git clone $4 --depth=1
sudo mv $bottlePath/$(basename $3)/.github/workflows/* $bottlePath/$(basename $4)/.github/workflows -v
# 修改版本号
#sudo sed -i "s/) UNRELEASED; urgency=medium/~$2) UNRELEASED; urgency=medium/g" $bottlePath/deep-wine-runner-qemu-system/debian/changelog
env gitPath=$(basename $3) bash .github/workflows/run-command-in-chroot.sh .github/workflows/configure-building-enviroment.sh
env gitPath=$(basename $4) bash .github/workflows/run-command-in-chroot.sh .github/workflows/configure-building-enviroment.sh
exit 0