forked from cryptonana/ex
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfix_components.sh
More file actions
14 lines (13 loc) · 1.2 KB
/
fix_components.sh
File metadata and controls
14 lines (13 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
cp openware.js ./src/openware.js
cd src;
find . -maxdepth 1 -type f -exec sed -i "s/\@openware\/components/\.\/openware/g" {} \;
find . -maxdepth 2 -type f -exec sed -i "s/\@openware\/components/\.\.\/openware/g" {} \;
find . -maxdepth 3 -type f -exec sed -i "s/\@openware\/components/\.\.\/\.\.\/openware/g" {} \;
find . -maxdepth 4 -type f -exec sed -i "s/\@openware\/components/\.\.\/\.\.\/\.\.\/openware/g" {} \;
find . -maxdepth 5 -type f -exec sed -i "s/\@openware\/components/\.\.\/\.\.\/\.\.\/\.\.\/openware/g" {} \;
find . -maxdepth 6 -type f -exec sed -i "s/\@openware\/components/\.\.\/\.\.\/\.\.\/\.\.\/\.\.\/openware/g" {} \;
find . -maxdepth 7 -type f -exec sed -i "s/\@openware\/components/\.\.\/\.\.\/\.\.\/\.\.\/\.\.\/\.\.\/openware/g" {} \;
find . -maxdepth 8 -type f -exec sed -i "s/\@openware\/components/\.\.\/\.\.\/\.\.\/\.\.\/\.\.\/\.\.\/\.\.\/openware/g" {} \;
find . -maxdepth 9 -type f -exec sed -i "s/\@openware\/components/\.\.\/\.\.\/\.\.\/\.\.\/\.\.\/\.\.\/\.\.\/\.\.\/openware/g" {} \;
find . -maxdepth 10 -type f -exec sed -i "s/\@openware\/components/\.\.\/\.\.\/\.\.\/\.\.\/\.\.\/\.\.\/\.\.\/\.\.\/\.\.\/openware/g" {} \;
find . -type f -exec sed -i "s/bitcoincashjs/bitcore-lib-cash/g" {} \;