diff options
| author | 2024-09-12 09:58:38 -0400 | |
|---|---|---|
| committer | 2024-09-12 09:58:38 -0400 | |
| commit | d41d846741cef5d7c7989d022594569043b8ef20 (patch) | |
| tree | 3ee8ccfe28d8da4b21d1367377ee79a113e0cd47 /src/lush.c | |
| parent | prevent lush workflow from getting stuck in tests (diff) | |
attempt to update build script to accept input into lush shell
Diffstat (limited to 'src/lush.c')
| -rw-r--r-- | src/lush.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1134,7 +1134,7 @@ int lush_run(lua_State *L, char ***commands, int num_commands) { } // check if the command is a lua script - char *ext = strchr(commands[0][0], '.'); + char *ext = strrchr(commands[0][0], '.'); if (ext) { ext++; if (strcmp(ext, "lua") == 0) { |
