Skip to content

Commit ccc5bdb

Browse files
authored
feat: bump version and fix macos bug (#280)
1 parent 2b96f87 commit ccc5bdb

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "amber"
3-
version = "0.3.3-alpha"
3+
version = "0.3.4-alpha"
44
edition = "2021"
55
repository = "https://github.com/Ph0enixKM/Amber"
66

src/std/main.ab

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ pub fun shell_constant_get(name: Text): Text {
256256
}
257257

258258
pub fun shell_var_set(name: Text, val: Text): Null {
259-
$declare -g \${nameof name}="\${nameof val}" 2> /dev/null$?
259+
$export \${nameof name}="\${nameof val}" 2> /dev/null$?
260260
}
261261

262262
pub fun shell_var_get(name: Text): Text {

src/tests/stdlib/shell_var_get.ab

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * from "std"
22
main {
3-
unsafe $declare -g test_shell_var_get="Hello Amber!"$
3+
unsafe $export test_shell_var_get="Hello Amber!"$
44
echo unsafe shell_var_get("test_shell_var_get")
55
}

0 commit comments

Comments
 (0)