Skip to content

Commit

Permalink
fix bashscript substring so it works
Browse files Browse the repository at this point in the history
for beta versions too.
  • Loading branch information
daniellee committed May 12, 2017
1 parent b1fbad4 commit d01da7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

_grafana_tag=$1
_grafana_version=${_grafana_tag:1:5}
_grafana_version=${_grafana_tag:1}

if [ "$_grafana_version" != "" ]; then
echo "Building version ${_grafana_version}"
Expand Down

0 comments on commit d01da7b

Please sign in to comment.