mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-28 07:18:30 +00:00
Fix redbean -A asset storing flag
This commit is contained in:
parent
db8217b37b
commit
84e89a55d4
1 changed files with 7 additions and 1 deletions
|
@ -7275,7 +7275,13 @@ static void GetOpts(int argc, char *argv[]) {
|
||||||
CASE('*', selfmodifiable = true);
|
CASE('*', selfmodifiable = true);
|
||||||
CASE('i', interpretermode = true);
|
CASE('i', interpretermode = true);
|
||||||
CASE('E', leakcrashreports = true);
|
CASE('E', leakcrashreports = true);
|
||||||
CASE('A', storeasset = true; StorePath(optarg));
|
case 'A':
|
||||||
|
if (!storeasset) {
|
||||||
|
storeasset = true;
|
||||||
|
MakeExecutableModifiable();
|
||||||
|
}
|
||||||
|
StorePath(optarg);
|
||||||
|
break;
|
||||||
#endif
|
#endif
|
||||||
#ifndef UNSECURE
|
#ifndef UNSECURE
|
||||||
CASE('B', suiteb = true);
|
CASE('B', suiteb = true);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue