Skip to content

Commit

Permalink
fix: fix sed condition
Browse files Browse the repository at this point in the history
  • Loading branch information
maystery committed Aug 18, 2020
1 parent a0a4aec commit 24b5e59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helperScripts/updateAbsoluteGithubLinksToChangeBranch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ echo ''
function proceed (){
echo ''
for t in ${files[@]}; do
sed -i "s/$1/$2/g" $t
sed -i "s/https:\/\/raw.githubusercontent.com\/occopus\/docs\/$1\/tutorials\//https:\/\/raw.githubusercontent.com\/occopus\/docs\/$2\/tutorials\//g" $t
echo -e "\e[92m $t Done"
done

Expand Down

0 comments on commit 24b5e59

Please sign in to comment.