mirror of
https://codeberg.org/KeybadeBlox/JSRF-Decompilation.git
synced 2026-02-20 02:07:02 +03:00
Fix POSIX shell compatibility of delink script
Accidentally used == for a comparison instead of =, while only the latter is in the standard. Ref. https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html
This commit is contained in:
parent
ddc10a878c
commit
a8b04d24d5
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ main() {
|
|||
set -- $line
|
||||
set +f; IFS=$IFS_PREV
|
||||
|
||||
if [ "$2" == true ]; then # If object is marked for extraction
|
||||
if [ "$2" = true ]; then # If object is marked for extraction
|
||||
object_name=$1
|
||||
printf '\n--- %s ---\n' "$object_name"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue