Gestion de la présence ou non d'espaces dans l'attribut 'Source' du
fichier debian/control
This commit is contained in:
parent
5fd65bbb89
commit
ef4c6d821f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue