Commit 67d451ba authored by Soomin Lee's avatar Soomin Lee Committed by Carola Nitz

deployVLCKit: change sed to perl

Signed-off-by: default avatarCarola Nitz <nitz.carola@googlemail.com>
parent 675650a8
......@@ -169,10 +169,9 @@ bumpPodspec()
local uploadURL=":http => '${UPLOAD_URL}${DISTRIBUTION_PACKAGE}'"
local podSHA=":sha256 => '${DISTRIBUTION_PACKAGE_SHA}'"
# NOTE: sed -i '' because macOS
sed -i '' 's#.*s.version.*#'" ${podVersion}"'#' "$1"
sed -i '' 's#.*:http.*#'" ${uploadURL}",'#' "$1"
sed -i '' 's#.*sha256.*#'" ${podSHA}"'#' "$1"
perl -i -pe's#s.version.*#'"${podVersion}"'#g' $1
perl -i -pe's#:http.*#'"${uploadURL},"'#g' $1
perl -i -pe's#:sha256.*#'"${podSHA}"'#g' $1
}
......
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