Skip to content

Commit d894013

Browse files
committed
Fix deploy script
1 parent decbe44 commit d894013

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/close-nexus-repository.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
###
2323
set -o errexit
2424
set -o nounset
25-
[[ ${DEBUG} ]] && set -o xtrace
25+
[[ -n ${DEBUG+defined} ]] && set -o xtrace
2626

2727
function usage() {
2828
echo "USAGE: ${BASH_SOURCE[0]} [-h] -a <artifactId> -g <groupId> -v <version> -u <userName> -p <password> -s <server>"

0 commit comments

Comments
 (0)