# Host a server for the charts
helm serve --repo-path . &
+ sleep 1
helm repo rm local
helm repo add local http://localhost:8879/charts
rm -rf elasticsearch/Makefile
make elasticsearch
- # terminate helm server
- pid=`/bin/pidof helm`
- kill ${pid}
+ # terminate helm server (the last backgrounded task)
+ kill $!
rm -rf ${helm_home}
}