diff --git a/scripts/preview_docc.sh b/scripts/preview_docc.sh index 8995fd7..7632359 100755 --- a/scripts/preview_docc.sh +++ b/scripts/preview_docc.sh @@ -1,5 +1,4 @@ #!/bin/bash - ##===----------------------------------------------------------------------===## ## ## This source file is part of the SwiftServiceLifecycle open source project @@ -28,4 +27,4 @@ ## ##===----------------------------------------------------------------------===## -xcrun swift package --disable-sandbox preview-documentation --target $1 +swift package --disable-sandbox preview-documentation --target $1 diff --git a/scripts/soundness.sh b/scripts/soundness.sh index c39e492..e096df8 100755 --- a/scripts/soundness.sh +++ b/scripts/soundness.sh @@ -73,7 +73,7 @@ for language in swift-or-c bash dtrace; do matching_files=( -name '*' ) case "$language" in swift-or-c) - exceptions=( -name Package.swift -o -name Package@*.swift ) + exceptions=( -name Package.swift -o -name 'Package@*.swift' ) matching_files=( -name '*.swift' -o -name '*.c' -o -name '*.h' ) cat > "$tmp" <<"EOF" //===----------------------------------------------------------------------===//