From ba6c116918da23cfb0a0db5f69bb393e0f235b1f Mon Sep 17 00:00:00 2001
From: Jondy Zhao <jondy.zhao@gmail.com>
Date: Mon, 27 May 2013 21:29:07 +0800
Subject: [PATCH] Add extra path to scripts.

---
 windows/scripts/build-slapos.sh         | 1 +
 windows/scripts/init-slapos-node.sh     | 1 +
 windows/scripts/slapos-client-config.sh | 1 +
 windows/scripts/slapos-node-config.sh   | 1 +
 4 files changed, 4 insertions(+)

diff --git a/windows/scripts/build-slapos.sh b/windows/scripts/build-slapos.sh
index 88ce688..0d5ba9d 100755
--- a/windows/scripts/build-slapos.sh
+++ b/windows/scripts/build-slapos.sh
@@ -1,4 +1,5 @@
 #! /bin/bash
+export PATH=/usr/local/bin:/usr/bin:$PATH
 
 slapos_home=/opt/slapos
 slapos_cache=/opt/download-cache
diff --git a/windows/scripts/init-slapos-node.sh b/windows/scripts/init-slapos-node.sh
index 7229071..9409e0a 100755
--- a/windows/scripts/init-slapos-node.sh
+++ b/windows/scripts/init-slapos-node.sh
@@ -10,6 +10,7 @@
 #
 #    4. 
 #    
+export PATH=/usr/local/bin:/usr/bin:$PATH
 
 ifname=re6stnet-lo
 
diff --git a/windows/scripts/slapos-client-config.sh b/windows/scripts/slapos-client-config.sh
index 51293d4..4afeefc 100755
--- a/windows/scripts/slapos-client-config.sh
+++ b/windows/scripts/slapos-client-config.sh
@@ -6,6 +6,7 @@
 #
 #    ./slapos-client-config certificate_file key_file
 #
+export PATH=/usr/local/bin:/usr/bin:$PATH
 
 #
 # Show error message and waiting for user to press any key quit
diff --git a/windows/scripts/slapos-node-config.sh b/windows/scripts/slapos-node-config.sh
index 59fe69d..5c342d9 100755
--- a/windows/scripts/slapos-node-config.sh
+++ b/windows/scripts/slapos-node-config.sh
@@ -18,6 +18,7 @@
 #
 #    ./slapos-node-config
 #
+export PATH=/usr/local/bin:/usr/bin:$PATH
 
 #
 # Return connection name by line, and replace space with '%'
-- 
2.30.9