use = instead of == for posix compliance
When /bin/sh is set to a strict posix shell (like dash) the script does not work.
This commit is contained in:
parent
39f77bee60
commit
cadca93532
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ get_cspack()
|
|||
wget -nc -O $1.pk3 https://archive.org/download/hl-counter-strike/$2.zip
|
||||
}
|
||||
|
||||
if [ "$1" == "-accumulative" ]; then
|
||||
if [ "$1" = "-accumulative" ]; then
|
||||
get_cspack pak00 csbeta_1.0
|
||||
get_cspack pak01 csbeta_1.0_b2premaps
|
||||
get_cspack pak02 csbeta_1.0_to_1.1
|
||||
|
|
Loading…
Reference in a new issue