mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: allow spaces in pkg name (again)
This commit is contained in:
@ -76,8 +76,8 @@ do
|
||||
;;
|
||||
-pkg | -package)
|
||||
[ "$#" -ge 2 ] || usage "'$1' option requires an argument"
|
||||
# mark empty as 'none', disallow '!' and spaces in string
|
||||
package=$(echo "${2:-none}" | sed -e 's/!//g' -e 's/ //g')
|
||||
# mark empty as 'none', disallow '!' in string
|
||||
package=$(echo "${2:-none}" | sed -e 's/!//g')
|
||||
shift 2
|
||||
;;
|
||||
-v | -version)
|
||||
|
||||
Reference in New Issue
Block a user