mirror of https://github.com/gorhill/uBlock.git
fix opera make script
This commit is contained in:
parent
34c7f4401f
commit
b6b1edb288
|
@ -23,14 +23,17 @@ cp platform/chromium/*.json $DES/
|
||||||
cp LICENSE.txt $DES/
|
cp LICENSE.txt $DES/
|
||||||
|
|
||||||
echo "*** uBlock0.opera: concatenating content scripts"
|
echo "*** uBlock0.opera: concatenating content scripts"
|
||||||
cat $DES/js/vapi-usercss.pseudo.js > /tmp/contentscript.js
|
cat $DES/js/vapi-usercss.js > /tmp/contentscript.js
|
||||||
echo >> /tmp/contentscript.js
|
echo >> /tmp/contentscript.js
|
||||||
grep -v "^'use strict';$" $DES/js/vapi-usercss.real.js >> /tmp/contentscript.js
|
grep -v "^'use strict';$" $DES/js/vapi-usercss.real.js >> /tmp/contentscript.js
|
||||||
echo >> /tmp/contentscript.js
|
echo >> /tmp/contentscript.js
|
||||||
|
grep -v "^'use strict';$" $DES/js/vapi-usercss.pseudo.js >> /tmp/contentscript.js
|
||||||
|
echo >> /tmp/contentscript.js
|
||||||
grep -v "^'use strict';$" $DES/js/contentscript.js >> /tmp/contentscript.js
|
grep -v "^'use strict';$" $DES/js/contentscript.js >> /tmp/contentscript.js
|
||||||
mv /tmp/contentscript.js $DES/js/contentscript.js
|
mv /tmp/contentscript.js $DES/js/contentscript.js
|
||||||
rm $DES/js/vapi-usercss.pseudo.js
|
rm $DES/js/vapi-usercss.js
|
||||||
rm $DES/js/vapi-usercss.real.js
|
rm $DES/js/vapi-usercss.real.js
|
||||||
|
rm $DES/js/vapi-usercss.pseudo.js
|
||||||
|
|
||||||
# Opera-specific
|
# Opera-specific
|
||||||
cp platform/opera/manifest.json $DES/
|
cp platform/opera/manifest.json $DES/
|
||||||
|
|
Loading…
Reference in New Issue