We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
build_rust_sdk.sh
1 parent 738295a commit 20d0278Copy full SHA for 20d0278
tools/sdk/build_rust_sdk.sh
@@ -7,7 +7,12 @@ set -e
7
read -p "Do you want to build the Rust SDK from local source (yes/no) default to yes? " buildLocal
8
buildLocal=${buildLocal:-yes}
9
10
-date=$(gdate +%Y%m%d%H%M%S)
+if [[ "$OSTYPE" == "linux-gnu"* ]]; then
11
+ date=$(date +%Y%m%d%H%M%S)
12
+else
13
+ date=$(gdate +%Y%m%d%H%M%S)
14
+fi
15
+
16
elementPwd=$(pwd)
17
18
# Ask for the Rust SDK local source path
0 commit comments