Commit graph

5 commits

Author SHA1 Message Date
onur-ozkan e0fe1d6008 Make x capable of resolving symlinks
When bootstrapping from outside of the rust source,
instead of calling 'x' from the absolute path
(like /home/user/rust/x), we should be able to link 'x'
from the rust source to binary paths so it can be used easily.
Before this change, 'x' was not capable of finding 'x.py' when
called from the linked file.

Signed-off-by: onur-ozkan <work@onurozkan.dev>
2023-10-14 17:53:33 +03:00
MaxHearnden ea026f93d6
quote argument to sh -n
This prevents glob expansion (*.py) and field splitting
2023-09-25 20:22:20 +01:00
ozkanonur eea6202c24 check bootstrap scripts syntax
Signed-off-by: ozkanonur <work@onurozkan.dev>
2023-05-03 20:32:39 +03:00
Albert Larsan c83ddaef94
Add better python discovery
`x.ps1` and `x` will now search for python executables like `python3.9`
and `python3.10.exe`
2022-10-31 08:33:24 +01:00
Josh Stone de8dedb0a5 Use an extensionless x script for non-Windows 2022-08-12 15:39:26 -07:00
Renamed from x.sh (Browse further)