fix: pwd in generating Release file

This commit is contained in:
Filip Rojek 2023-05-04 12:03:49 +02:00
parent 89dd681fc6
commit 01454e6521
2 changed files with 0 additions and 2 deletions

View File

@ -6,7 +6,6 @@ ARCHS="$($LS -l $REPODIR/apt-repo/dists/stable/main/ | awk '{print $9}' | awk NF
# generate Packages file # generate Packages file
for ARCH in $ARCHS; do 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" dpkg-scanpackages --multiversion --arch $ARCH "$REPODIR/apt-repo/pool/" > "$REPODIR/apt-repo/dists/stable/main/binary-$ARCH/Packages"
# compress Packages file # 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" cat "$REPODIR/apt-repo/dists/stable/main/binary-$ARCH/Packages" | gzip -9 > "$REPODIR/apt-repo/dists/stable/main/binary-$ARCH/Packages.gz"

View File

@ -12,7 +12,6 @@ do_hash() {
continue continue
fi fi
echo " $(${HASH_CMD} ${f} | cut -d" " -f1) $(wc -c $f)" echo " $(${HASH_CMD} ${f} | cut -d" " -f1) $(wc -c $f)"
pwd
done done
} }