Skip to content

Commit

Permalink
gnu sed is just sed in macos latest
Browse files Browse the repository at this point in the history
  • Loading branch information
jaromil committed Oct 21, 2024
1 parent 1453b4f commit 8c53bae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/embed-libtcc1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ command -v xxd > /dev/null || {

echo "// $lib" > $dst
xxd -i $lib >> $dst
gsed -i 's/unsigned char lib_tinycc_libtcc1_a/const unsigned char libtcc1/' $dst
gsed -i 's/unsigned int lib_tinycc_libtcc1_a_len/const unsigned int libtcc1_len/' $dst
sed -i 's/unsigned char lib_tinycc_libtcc1_a/const unsigned char libtcc1/' $dst
sed -i 's/unsigned int lib_tinycc_libtcc1_a_len/const unsigned int libtcc1_len/' $dst

0 comments on commit 8c53bae

Please sign in to comment.