move the declaration to multiline to simplify the copy and paste
Sylvestre Ledru
5 years ago
43 | 43 | |
44 | 44 | if head -n1 "$PKGDIR/debian/changelog" | grep -qv UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; then |
45 | 45 | git checkout "$PREVBRANCH" |
46 | abort 0 "Package already released on branch $RELBRANCH. If that was a mistake then run \`git branch -D $RELBRANCH\`, and re-run this script ($0 $*). You might have to delete the remote branch too (\`git push --delete origin $RELBRANCH\`)." | |
46 | abort 0 "Package already released on branch $RELBRANCH. If that was a mistake then run:\ngit branch -D $RELBRANCH\nAnd re-run this script ($0 $*). You might have to delete the remote branch too:\ngit push --delete origin $RELBRANCH" | |
47 | 47 | fi |
48 | 48 | |
49 | 49 | ( cd "$PKGDIR" |