We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4bc7da3 commit 981c316Copy full SHA for 981c316
bin/compile.sh
@@ -249,7 +249,7 @@ find $BUILD_DIR/.build/$BUILD_CONFIGURATION -type f -perm /a+x -exec cp {} $BUIL
249
generate_pins_file() {
250
if [[ ! -f $BUILD_DIR/Package.pins ]]; then
251
local swift_version="$(get_swift_version_from_cli)"
252
- if [ $(echo "$swift_version>=3.1" | bc) == 1 ]; then
+ if [ $(echo $swift_version 3.1 | awk '{ print ($1 >= $2) ? "true" : "false" }') == "true" ]; then
253
swift package pin --all
254
status "Generated Package.pins (Swift $swift_version)"
255
else
0 commit comments