summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/ptxdist2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ptxdist b/bin/ptxdist
index fda077008..71ec41c35 100755
--- a/bin/ptxdist
+++ b/bin/ptxdist
@@ -224,7 +224,7 @@ check_version() {
#
# If not the developer has to fix it :P
#
- if [ "${PTXDIST_VERSION_SCM:+-git}" = "${config_scm:+-git}" ]; then
+ if [ -n "${PTXDIST_VERSION_SCM}" -a -n "${config_scm}" ]; then
return 0
fi