Escape some variables in latest post
This commit is contained in:
parent
ed2fa488a7
commit
fe30dbd1b5
1 changed files with 7 additions and 7 deletions
|
@ -18,15 +18,15 @@ The build script that is used to run Erlang tests looks like this:
|
||||||
|
|
||||||
{% highlight bash %}
|
{% highlight bash %}
|
||||||
# Setup
|
# Setup
|
||||||
source $HOME/.kerl/installs/17.3/activate
|
source "$HOME/.kerl/installs/17.3/activate"
|
||||||
gitlabdir=$(basename `pwd`)
|
gitlabdir=$(basename "$(pwd)")
|
||||||
appdir=$(cat src/*.app.src | tr ',' '\n' | sed '2q;d' | tr -d ' ' | tr -d '\n')
|
appdir=$(cat src/*.app.src | tr ',' '\n' | sed '2q;d' | tr -d ' ' | tr -d '\n')
|
||||||
|
|
||||||
# Rename directory
|
# Rename directory
|
||||||
cd ..
|
cd ..
|
||||||
rm -rf $appdir
|
rm -rf "$appdir"
|
||||||
mv $gitlabdir $appdir
|
mv "$gitlabdir" "$appdir"
|
||||||
cd $appdir
|
cd "$appdir"
|
||||||
|
|
||||||
# Run tests
|
# Run tests
|
||||||
make dialyze
|
make dialyze
|
||||||
|
@ -37,8 +37,8 @@ ls -rt $(find ./logs -name "cover.html") | tail -n 1 | xargs cat | grep -F 'Tota
|
||||||
|
|
||||||
# Cleanup
|
# Cleanup
|
||||||
cd ..
|
cd ..
|
||||||
mv $appdir $gitlabdir
|
mv "$appdir" "$gitlabdir"
|
||||||
cd $gitlabdir
|
cd "$gitlabdir"
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
**Setup**
|
**Setup**
|
||||||
|
|
Loading…
Reference in a new issue