svn commit: r1932524 - subversion/trunk/tools/dev/unix-build
| Newsgroups | gmane.comp.version-control.subversion.svn |
|---|---|
| Message-ID | <177441655869.3184646.758904052881520272@svn03-he-fi> |
Author: hartmannathan
Date: Wed Mar 25 05:29:18 2026
New Revision: 1932524
Log:
* tools/dev/unix-build/Makefile.svn
('svn-retrieve' target): Add quoting to avoid an error like:
/bin/sh: 4: [: !=: unexpected operator
which occurs if $(BRANCH) is the empty string.
Modified:
subversion/trunk/tools/dev/unix-build/Makefile.svn
Modified: subversion/trunk/tools/dev/unix-build/Makefile.svn
==============================================================================
--- subversion/trunk/tools/dev/unix-build/Makefile.svn Wed Mar 25 04:34:04 2026 (r1932523)
+++ subversion/trunk/tools/dev/unix-build/Makefile.svn Wed Mar 25 05:29:18 2026 (r1932524)
@@ -1830,7 +1830,7 @@ $(SVN_OBJDIR)/.retrieved:
if [ "$(TAG)" != "none" ]; then \
branchdir="tags/$(TAG)"; \
co="export"; \
- elif [ $(BRANCH) != trunk ]; then \
+ elif [ "$(BRANCH)" != "trunk" ]; then \
branchdir="branches/$(BRANCH)"; \
co="co"; \
else \