nitros9project / nitros9

NitrOS-9 Operating System
14 stars 15 forks source link

change test for bsd vs gnu stat in level2/bootfiles/padup256 #16

Closed jfed6000 closed 11 months ago

jfed6000 commented 11 months ago

Linux uses dash for sh and doesn't recognize the [[ ]] syntax. This change eliminates the [[ ]] syntax and replaces it with a test to detect bsd vs gnu stat. This should be OS agnostic and work across multiple OS without having to test individually for each one.