Skip to content

Commit 7e0024f

Browse files
author
tom
committed
Release 1.0.56
1 parent fd21357 commit 7e0024f

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

setup-mac.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,10 @@ function install_predixcli() {
232232
echo "Downloading latest Predix CLI: $cli_url"
233233
curl -L -O "$cli_url"
234234
mkdir -p predix-cli && tar -xf predix-cli.tar.gz -C predix-cli
235+
if [ -e predix-cli ]; then
236+
#tar -C is supposed to change directory but it doesn't sometimes
237+
cd predix-cli
238+
fi
235239
./install
236240
fi
237241
}
@@ -251,7 +255,10 @@ function update_predixcli() {
251255
echo "Downloading latest Predix CLI: $cli_url"
252256
curl -L -O "$cli_url"
253257
mkdir -p predix-cli && tar -xf predix-cli.tar.gz -C predix-cli
254-
echo "Please enter your system password, so the Predix CLI can be installed using sudo."
258+
if [ -e predix-cli ]; then
259+
#tar -C is supposed to change directory but it doesn't sometimes
260+
cd predix-cli
261+
fi
255262
./install
256263
fi
257264

version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "local setup",
3-
"version": "1.0.54",
3+
"version": "1.0.56",
44
"private": true,
55
"dependencies": {},
66
"author": "rishabhtulsian"

0 commit comments

Comments
 (0)