Skip to content

Commit

Permalink
feat: bump version and fix macos bug (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ph0enixKM authored Jul 6, 2024
1 parent 2b96f87 commit ccc5bdb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "amber"
version = "0.3.3-alpha"
version = "0.3.4-alpha"
edition = "2021"
repository = "https://github.com/Ph0enixKM/Amber"

Expand Down
2 changes: 1 addition & 1 deletion src/std/main.ab
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ pub fun shell_constant_get(name: Text): Text {
}

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

pub fun shell_var_get(name: Text): Text {
Expand Down
2 changes: 1 addition & 1 deletion src/tests/stdlib/shell_var_get.ab
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * from "std"
main {
unsafe $declare -g test_shell_var_get="Hello Amber!"$
unsafe $export test_shell_var_get="Hello Amber!"$
echo unsafe shell_var_get("test_shell_var_get")
}

0 comments on commit ccc5bdb

Please sign in to comment.