Skip to content

Commit 2fa9061

Browse files
authored
Remove local modifier in the prepare-release script (#153)
The reported error is: local: can only be used in a function
1 parent d97e6b9 commit 2fa9061

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/prepare-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ROOT="$(cd "$(dirname "$0")/.." && pwd)"
1212
LINUX_EXEC="$ROOT/scala-native-bindgen-linux"
1313
if [[ ! -e "$LINUX_EXEC" ]]; then
1414
docker-compose build bindgen
15-
local container="$(docker container create "scalabindgen/scala-native-bindgen:${VERSION:-latest}")"
15+
container="$(docker container create "scalabindgen/scala-native-bindgen:${VERSION:-latest}")"
1616
docker cp "$container:/scala-native-bindgen" "$LINUX_EXEC"
1717
docker container rm "$container"
1818
fi

0 commit comments

Comments
 (0)