Only run xattr if present

This commit is contained in:
Joshua Bell 2021-03-07 15:58:30 -08:00
parent 9b898fca75
commit 3aedc2ad21
6 changed files with 6 additions and 6 deletions

View File

@ -36,4 +36,4 @@ $(OUTDIR)/%.o: %.s $(HEADERS)
$(OUTDIR)/%.BIN $(OUTDIR)/%.SYS: $(OUTDIR)/%.o $(OUTDIR)/%.BIN $(OUTDIR)/%.SYS: $(OUTDIR)/%.o
ld65 $(LDFLAGS) -o $@ $< ld65 $(LDFLAGS) -o $@ $<
xattr -wx prodos.AuxType '00 20' $@ command -v xattr &> /dev/null && xattr -wx prodos.AuxType '00 20' $@

View File

@ -31,4 +31,4 @@ $(OUTDIR)/%.o: %.s $(HEADERS)
$(OUTDIR)/%.SYS: $(OUTDIR)/%.o $(OUTDIR)/%.SYS: $(OUTDIR)/%.o
ld65 $(LDFLAGS) -o $@ $< ld65 $(LDFLAGS) -o $@ $<
xattr -wx prodos.AuxType '00 20' $@ command -v xattr &> /dev/null && xattr -wx prodos.AuxType '00 20' $@

View File

@ -31,4 +31,4 @@ $(OUTDIR)/%.o: %.s $(HEADERS)
$(OUTDIR)/%.SYS: $(OUTDIR)/%.o $(OUTDIR)/%.SYS: $(OUTDIR)/%.o
ld65 $(LDFLAGS) -o $@ $< ld65 $(LDFLAGS) -o $@ $<
xattr -wx prodos.AuxType '00 20' $@ command -v xattr &> /dev/null && xattr -wx prodos.AuxType '00 20' $@

View File

@ -31,4 +31,4 @@ $(OUTDIR)/%.o: %.s $(HEADERS)
$(OUTDIR)/%.SYS: $(OUTDIR)/%.o $(OUTDIR)/%.SYS: $(OUTDIR)/%.o
ld65 $(LDFLAGS) -o $@ $< ld65 $(LDFLAGS) -o $@ $<
xattr -wx prodos.AuxType '00 20' $@ command -v xattr &> /dev/null && xattr -wx prodos.AuxType '00 20' $@

View File

@ -31,4 +31,4 @@ $(OUTDIR)/%.o: %.s $(HEADERS)
$(OUTDIR)/%.SYS: $(OUTDIR)/%.o $(OUTDIR)/%.SYS: $(OUTDIR)/%.o
ld65 $(LDFLAGS) -o $@ $< ld65 $(LDFLAGS) -o $@ $<
xattr -wx prodos.AuxType '00 20' $@ command -v xattr &> /dev/null && xattr -wx prodos.AuxType '00 20' $@

View File

@ -34,4 +34,4 @@ $(OUTDIR)/%.o: %.s $(HEADERS)
$(OUTDIR)/%.SYS: $(OUTDIR)/%.o $(OUTDIR)/%.SYS: $(OUTDIR)/%.o
ld65 $(LDFLAGS) -o $@ $< ld65 $(LDFLAGS) -o $@ $<
xattr -wx prodos.AuxType '00 20' $@ command -v xattr &> /dev/null && xattr -wx prodos.AuxType '00 20' $@