Add variable SCRIPTS 

missed variable SCRIPTS assigned value
diff --git a/bootstrap.sh b/bootstrap.sh
index 2883e02..b3916d1 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -568,6 +568,8 @@
 
     pgrep salt-master | sed /$$/d | xargs --no-run-if-empty -i{} $SUDO kill -9 {} || true
     pkill -9 salt-minion
+    SCRIPTS=$(dirname $0)
+    
     test -e ${SCRIPTS}/.salt-master-setup.sh.passed || {
         export MASTER_IP=${MASTER_IP:-127.0.0.1}
         export MINION_ID=${MASTER_HOSTNAME}