Skip to content

Commit

Permalink
fix: xtgz command to decompress tar.gz packages
Browse files Browse the repository at this point in the history
  • Loading branch information
jaromil committed Dec 28, 2024
1 parent 6ab3e80 commit e10073c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ int main(int argc, char **argv) {
{ "src", ko_no_argument, 311 },
#endif
{ "temp", ko_no_argument, 401 },
{ "utar", ko_required_argument, 501 },
{ "xtgz", ko_required_argument, 501 },
{ NULL, 0, 0 }
};
ketopt_t opt = KETOPT_INIT;
Expand Down Expand Up @@ -164,7 +164,7 @@ int main(int argc, char **argv) {
CJIT->write_pid = malloc(strlen(opt.arg)+1);
strcpy(CJIT->write_pid,opt.arg);
#if defined(SELFHOST)
} else if (c == 311) { // --temp
} else if (c == 311) { // --src
char cwd[PATH_MAX];
getcwd(cwd, sizeof(cwd));
_err("Extracting CJIT's own source to %s/cjit_source",cwd);
Expand Down

0 comments on commit e10073c

Please sign in to comment.