Commit 1fda98fe authored by Soomin Lee's avatar Soomin Lee Committed by Carola Nitz

deployVLCKit: change sed to perl

Signed-off-by: 's avatarCarola Nitz <nitz.carola@googlemail.com>
(cherry picked from commit 67d451ba)
parent ab670957
......@@ -171,10 +171,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