mirror of
https://github.com/Rosalie241/RMG.git
synced 2026-07-11 01:24:01 +02:00
Script: improve Build.sh by using the builtin [[]] instead of []
This commit is contained in:
@@ -6,8 +6,8 @@ build_config="${1:-Debug}"
|
||||
build_dir="$toplvl_dir/Build/$build_config"
|
||||
threads="${2:-$(nproc)}"
|
||||
|
||||
if [ "$1" = "--help" ] ||
|
||||
[ "$1" = "-h" ]
|
||||
if [[ "$1" = "--help" ]] ||
|
||||
[[ "$1" = "-h" ]]
|
||||
then
|
||||
echo "$0 [Build Config] [Thread Count]"
|
||||
exit
|
||||
|
||||
Reference in New Issue
Block a user