1
0
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:
Delyan Angelov 2022-10-19 15:37:00 +03:00
parent 7f294c8278
commit d7813965d5
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -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 {