foxgirl-linux/browser/linux/binary_tarball/scripts/3_Configure_Source_Code.sh
2019-07-17 14:35:15 -05:00

16 lines
475 B
Bash
Executable file

#!/bin/sh
SOURCE_CODE_FOLDER=$1
FOLDER_TO_ADD=$2
printf "\n\n------------------------------ FINAL PREBUILD CONFIGURATION ---------------------------------\n";
# Copies our custom source code changes (mostly branding) to the source code
printf "\nCopying custom files to firefox source code\n";
cp -r $FOLDER_TO_ADD/* $SOURCE_CODE_FOLDER/;
# Disables pocket
printf "\nDisabling Pocket\n";
sed -i "s/'pocket'/#'pocket'/g" $SOURCE_CODE_FOLDER/browser/components/moz.build;