From fed3c86456d59b55bfcaf057be08ee6e17c92d72 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Thu, 24 Nov 2022 23:35:38 +0200 Subject: [PATCH] correct repo directory name in crossdeb.sh script Signed-off-by: Ivailo Monev --- scripts/crossdeb.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts/crossdeb.sh b/scripts/crossdeb.sh index 711cf2020..9dc5abb82 100755 --- a/scripts/crossdeb.sh +++ b/scripts/crossdeb.sh @@ -22,8 +22,10 @@ unmount_pseudo() { trap unmount_pseudo EXIT INT TERM rm -rf "$crossdir" - -debootstrap $@ stable "$crossdir" +# make rm -rf above comment to resume +if [ ! -d "$crossdir" ];then + debootstrap $@ stable "$crossdir" +fi for i in dev dev/pts proc sys tmp;do if ! mountpoint -q "$crossdir/$i" ;then @@ -45,7 +47,7 @@ apt-get update apt-get install --yes git crossbuild-essential-$crossarch qemu-user-static git clone --depth=1 git://git.osdn.net/gitroot/kde/Katie.git -cd katie +cd Katie ln -sv package/debian . apt-get build-dep --yes -a $crossarch . dpkg-buildpackage -uc -nc -b --no-sign -a $crossarch -- 2.11.0