Commit d35d395c authored by Adriano Bonat's avatar Adriano Bonat

No colors when grepping.

parent 5ee28a7c
...@@ -66,6 +66,9 @@ To install release candidates run `[sudo] gem install cocoapods --pre` ...@@ -66,6 +66,9 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
[Samuel Giddins](https://github.com/segiddins) [Samuel Giddins](https://github.com/segiddins)
[#3038](https://github.com/CocoaPods/CocoaPods/issues/3038) [#3038](https://github.com/CocoaPods/CocoaPods/issues/3038)
* Removing grep color mark up in embed frameworks script.
[Adriano Bonat](https://github.com/tanob)
[#3117](https://github.com/CocoaPods/CocoaPods/issues/3117)
## 0.36.0.beta.2 ## 0.36.0.beta.2
......
...@@ -74,7 +74,7 @@ module Pod ...@@ -74,7 +74,7 @@ module Pod
local basename local basename
basename=$(echo $1 | sed -E s/\\\\..+// && exit ${PIPESTATUS[0]}) basename=$(echo $1 | sed -E s/\\\\..+// && exit ${PIPESTATUS[0]})
local swift_runtime_libs local swift_runtime_libs
swift_runtime_libs=$(xcrun otool -LX "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/$1/${basename}" | grep @rpath/libswift | sed -E s/@rpath\\\\/\\(.+dylib\\).*/\\\\1/g | uniq -u && exit ${PIPESTATUS[0]}) swift_runtime_libs=$(xcrun otool -LX "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/$1/${basename}" | grep --color=never @rpath/libswift | sed -E s/@rpath\\\\/\\(.+dylib\\).*/\\\\1/g | uniq -u && exit ${PIPESTATUS[0]})
for lib in $swift_runtime_libs; do for lib in $swift_runtime_libs; do
echo "rsync -av \\"${SWIFT_STDLIB_PATH}/${lib}\\" \\"${destination}\\"" echo "rsync -av \\"${SWIFT_STDLIB_PATH}/${lib}\\" \\"${destination}\\""
rsync -av "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" rsync -av "${SWIFT_STDLIB_PATH}/${lib}" "${destination}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment