mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tools: fix os.chmod call (use octal permissions) in v ls
This commit is contained in:
parent
7f294c8278
commit
d7813965d5
@ -90,7 +90,7 @@ fn (upd VlsUpdater) exec_asset_file_name() string {
|
||||
|
||||
fn (upd VlsUpdater) update_manifest(new_path string, from_source bool, timestamp time.Time) ! {
|
||||
upd.log('Updating permissions...')
|
||||
os.chmod(new_path, 755)!
|
||||
os.chmod(new_path, 0o755)!
|
||||
|
||||
upd.log('Updating vls.config.json...')
|
||||
mut manifest := upd.manifest_config() or {
|
||||
|
Loading…
Reference in New Issue
Block a user