packages: fixup script

This commit is contained in:
Dmitriy Pleshevskiy 2024-02-28 17:21:40 +03:00
parent 91d8c45b54
commit 50fa4f9638
Signed by: pleshevskiy
GPG Key ID: 17041163DA10A9A2
1 changed files with 5 additions and 5 deletions

View File

@ -211,14 +211,14 @@ do
done
cd "${CURRENT_DIR}"
for encrypted_file in $(awk '{print $2}' ${TMPDIR}/${BASENAME}/${TMPFILE}); do
rsync -rp -R "${encrypted_file}" "${TMPDIR}/${BASENAME}"
done
while read encrypted_file; do
rsync -rp -R "${encrypted_file}" "${TMPDIR}/${BASENAME}"
done < ${TMPDIR}/${BASENAME}/${TMPFILE}
cd "${TMPDIR}/${BASENAME}"
for encrypted_file in $(awk '{print $2}' ${TMPFILE}); do
while read encrypted_file; do
git add "${encrypted_file}"
done
done < ${TMPDIR}/${BASENAME}/${TMPFILE}
git commit -m "New encrypted files" || true
popd