From 01454e6521d909fcab65074b9731c62c82c7f54d Mon Sep 17 00:00:00 2001 From: Filip Rojek Date: Thu, 4 May 2023 12:03:49 +0200 Subject: [PATCH] fix: pwd in generating Release file --- scripts/genPkgRel.sh | 1 - scripts/generate-release.sh | 1 - 2 files changed, 2 deletions(-) diff --git a/scripts/genPkgRel.sh b/scripts/genPkgRel.sh index 9da1d7d..190d6ca 100755 --- a/scripts/genPkgRel.sh +++ b/scripts/genPkgRel.sh @@ -6,7 +6,6 @@ ARCHS="$($LS -l $REPODIR/apt-repo/dists/stable/main/ | awk '{print $9}' | awk NF # generate Packages file for ARCH in $ARCHS; do - echo $ARCH dpkg-scanpackages --multiversion --arch $ARCH "$REPODIR/apt-repo/pool/" > "$REPODIR/apt-repo/dists/stable/main/binary-$ARCH/Packages" # compress Packages file cat "$REPODIR/apt-repo/dists/stable/main/binary-$ARCH/Packages" | gzip -9 > "$REPODIR/apt-repo/dists/stable/main/binary-$ARCH/Packages.gz" diff --git a/scripts/generate-release.sh b/scripts/generate-release.sh index fbb5b8b..ca55f17 100755 --- a/scripts/generate-release.sh +++ b/scripts/generate-release.sh @@ -12,7 +12,6 @@ do_hash() { continue fi echo " $(${HASH_CMD} ${f} | cut -d" " -f1) $(wc -c $f)" -pwd done }