From: Sadoon Albader Date: Sat, 19 Aug 2023 11:59:52 +0000 (+0300) Subject: fix use uninitialized variable X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f1934e40d480472ed555ff88504da9cb321c2546;p=dev-env-setup.git fix use uninitialized variable --- diff --git a/build-bookworm-sffs b/build-bookworm-sffs index 7b4028e..d78a94f 100755 --- a/build-bookworm-sffs +++ b/build-bookworm-sffs @@ -8,6 +8,7 @@ REPODIR=~/.local/src/bookworm-sffs/repo/ JOBS=1 CHROOT=bookworm-ppc64el-sbuild OPTS= +RELEASE=bookworm # To be changed to the full list LIST=hello @@ -33,7 +34,7 @@ do mkdir -p $pkg && cd $BUILDDIR/${pkg:0:1}/$pkg apt source $pkg - if sbuild -d $DISTRO -c $CHROOT $OPTS -j$JOBS *.dsc; then + if sbuild -d $RELEASE -c $CHROOT $OPTS -j$JOBS *.dsc; then echo Build successful echo $pkg >> $BASEDIR/success mkdir -p $REPODIR/${pkg:0:1}/$pkg/