Permalink
Browse files

updated to abstract the hard path of bash since freebsd does not incl…

…ude bash in the default path of /bin
  • Loading branch information...
chair300 committed Jul 1, 2018
1 parent dd1596e commit 6a342f79dff2091d1164d39f063d1bb8247a5fbc
Showing with 2 additions and 3 deletions.
  1. +1 −1 scripts/build_all.sh
  2. +1 −2 scripts/swagger.sh
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
set -u
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#http://www.apache.org/licenses/LICENSE-2.0.txt
#
@@ -28,4 +28,3 @@ _info "Updating API specification file..."
swagger generate spec -o ${__dir}/../swagger.json
_info "Validating API specification file..."
swagger validate ${__dir}/../swagger.json

0 comments on commit 6a342f7

Please sign in to comment.