summary refs log tree commit diff
path: root/pkgs/development/beam-modules/mix-bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/beam-modules/mix-bootstrap')
-rwxr-xr-xpkgs/development/beam-modules/mix-bootstrap2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/beam-modules/mix-bootstrap b/pkgs/development/beam-modules/mix-bootstrap
index 6c9a20c6de2..d7a912ee1ed 100755
--- a/pkgs/development/beam-modules/mix-bootstrap
+++ b/pkgs/development/beam-modules/mix-bootstrap
@@ -40,7 +40,7 @@ main(Args) ->
 -spec fixup_app_name(file:name()) -> string().
 fixup_app_name(Path) ->
     BaseName = filename:basename(Path),
-    case string:tokens(BaseName, "-") of
+    case string:split(BaseName, "-") of
         [Name, _Version] -> Name;
         Name -> Name
     end.