From 9b11ed284358910c6ee7fa4d088f81677bc92fbc Mon Sep 17 00:00:00 2001
From: Nat Goodspeed <nat@lindenlab.com>
Date: Thu, 22 Jan 2015 14:43:08 -0500
Subject: [PATCH] Ensure AUTOBUILD is in native_path form for non-cygwin tools.
 Until we can propagate the corresponding buildscripts changes, we must
 explicitly put AUTOBUILD in proper form. For now, assume that AUTOBUILD has
 not yet been normalized.

---
 build.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/build.sh b/build.sh
index 9e1ebf21495..b66d1a07057 100755
--- a/build.sh
+++ b/build.sh
@@ -216,6 +216,8 @@ fi
 # Check to see if we're skipping the platform
 eval '$build_'"$arch" || pass
 
+# ensure AUTOBUILD is in native path form for child processes
+AUTOBUILD="$(native_path "$AUTOBUILD")"
 # set "$autobuild" to cygwin path form for use locally in this script
 autobuild="$(shell_path "$AUTOBUILD")"
 if [ ! -x "$autobuild" ]
-- 
GitLab