mirror of
https://github.com/a2stuff/prodos-path.git
synced 2026-04-20 10:16:28 +00:00
Only run xattr if present
This commit is contained in:
@@ -29,7 +29,7 @@ $(OUTDIR)/%.o: %.s $(HEADERS)
|
||||
|
||||
$(OUTDIR)/%.BIN $(OUTDIR)/%.SYS: $(OUTDIR)/%.o
|
||||
ld65 $(LDFLAGS) -o $@ $<
|
||||
xattr -wx prodos.AuxType '00 20' $@
|
||||
command -v xattr &> /dev/null && xattr -wx prodos.AuxType '00 20' $@
|
||||
|
||||
$(OUTDIR)/%.CMD: $(OUTDIR)/%.cmd.o
|
||||
ld65 $(LDFLAGS) -o $@ $<
|
||||
|
||||
Reference in New Issue
Block a user