Gestion de la présence ou non d'espaces dans l'attribut 'Source' du

fichier debian/control
This commit is contained in:
wpetit 2020-07-08 11:42:38 +02:00
parent 5fd65bbb89
commit ef4c6d821f
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ if [ ! -f debian/control ]; then
exit 1
fi
package_name=$(grep -E '^Source:' debian/control | awk '{ print $2 }')
package_name=$(sed -n 's/^Source:[ \t]*\(.*\)$/\1/p' debian/control | tr -d '[:space:]')
project_name=$(tamarin_db get project_name)
if [ "${package_name}" != "${project_name}" ]; then