[Git][java-team/pkg-java-scripts][master] 2 commits: Fixed the unbound variable errors in setup-salsa-repository

Emmanuel Bourg (@ebourg) gitlab at salsa.debian.org
Fri May 13 09:26:50 BST 2022



Emmanuel Bourg pushed to branch master at Debian Java Maintainers / pkg-java-scripts


Commits:
bb04fce7 by Emmanuel Bourg at 2022-05-13T10:25:50+02:00
Fixed the unbound variable errors in setup-salsa-repository

- - - - -
9cff30e0 by Emmanuel Bourg at 2022-05-13T10:26:16+02:00
Update to Standards-Version 4.6.1

- - - - -


2 changed files:

- setup-salsa-repository
- stdver.sh


Changes:

=====================================
setup-salsa-repository
=====================================
@@ -20,7 +20,7 @@ then
         exit 1
 fi
 
-if [ -z "$1" ]; then
+if [ -z "${1:-}" ]; then
     echo "Usage: ./setup-salsa-repository <packagename>"
     exit 1;
 fi
@@ -33,7 +33,7 @@ check_return_code() {
     fi
 }
 
-test -n "$SALSA_TOKEN" || . ~/.salsarc
+test -n "${SALSA_TOKEN:-}" || . ~/.salsarc
 
 PACKAGE=$1
 


=====================================
stdver.sh
=====================================
@@ -3,7 +3,7 @@
 # Update the Standards-Version field in debian/control
 #
 
-STANDARDS_VERSION=4.6.0.1
+STANDARDS_VERSION=4.6.1
 
 echo "Updating Standards-Version to $STANDARDS_VERSION..."
 echo ""



View it on GitLab: https://salsa.debian.org/java-team/pkg-java-scripts/-/compare/7c5d140e9325f726c149dbe1c34c02ec2f31e6cb...9cff30e028b248d3bcb2092bb8906715406fb1a7

-- 
View it on GitLab: https://salsa.debian.org/java-team/pkg-java-scripts/-/compare/7c5d140e9325f726c149dbe1c34c02ec2f31e6cb...9cff30e028b248d3bcb2092bb8906715406fb1a7
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20220513/717e082c/attachment.htm>


More information about the pkg-java-commits mailing list