fix use uninitialized variable
authorSadoon Albader <sadoon@soulserv.xyz>
Sat, 19 Aug 2023 11:59:52 +0000 (14:59 +0300)
committerSadoon Albader <sadoon@soulserv.xyz>
Sat, 19 Aug 2023 11:59:52 +0000 (14:59 +0300)
build-bookworm-sffs

index 7b4028e2b76ad545a15645ea7b60a7154c2735a0..d78a94fef0c30d77aae097c79563bf3bf4bedc4d 100755 (executable)
@@ -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/