Skip to content

Commit

Permalink
Merge pull request #13 from ElRojo/moving-sed-line
Browse files Browse the repository at this point in the history
moving sed line by one
  • Loading branch information
ElRojo authored Aug 19, 2022
2 parents 383fc21 + 0d8ae4c commit 33e2177
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fat/media/Scripts/rfid_write.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ write_rom()

rfidFile=/media/fat/Scripts/rfid_process.sh
sed -i "/$cardNumber/d" "$rfidFile"
# '13i...' is the starting line for the case-statement. Change this if you add code or newlines to rfid_process.sh
sed -i "13i \"$cardNumber\") "play" \"$gameTitle\" ;;" "$rfidFile"
# '14i...' is the starting line for the case-statement. Change this if you add code or newlines to rfid_process.sh
sed -i "14i \"$cardNumber\") "play" \"$gameTitle\" ;;" "$rfidFile"

}

Expand Down

0 comments on commit 33e2177

Please sign in to comment.