From 32e73d778305427ba2198d34c810da232ecc27fe Mon Sep 17 00:00:00 2001 From: Ray Milkey Date: Fri, 9 Mar 2018 09:52:29 -0800 Subject: [PATCH] allow for null 5th parameter Change-Id: Ib2fa030b52403a293f379f8c4ffa8e81ec5c2840 --- tools/dev/bash_profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/dev/bash_profile b/tools/dev/bash_profile index 31c779f333..474237c7d2 100644 --- a/tools/dev/bash_profile +++ b/tools/dev/bash_profile @@ -228,7 +228,7 @@ function cell { spec=${3:-3+1} spec=${spec/+/%2B} user=${4:-$(id -un)} - hint=${5:""} + hint=${5:-""} query="duration=$duration&spec=$spec&user=$user&cellNameHint=$hint" curl -sS -X POST "http://$CELL_WARDEN:4321/?$query" -d "$(cat ~/.ssh/id_rsa.pub)" > $aux . $aux