This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Abort if things go wrong. Very important! | |
set -ex | |
# Fetch the old CHOST from make.conf or profile. | |
OLD_CHOST=$(portageq envvar CHOST) | |
# The new CHOST needs to end in hf. The vendor part doesn't really | |
# matter as long as it's not softfloat or softfp but the convention is |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
OLD_PWD=${PWD} | |
source /lib/gentoo/functions.sh || true | |
if [ -z "$1" ]; then | |
echo "usage: $0 /usr/portage/packages/dev-java/icedtea-X.X.X.X.tbz2 [-rX]" | |
exit 1 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module I18n | |
module Backend | |
module Base | |
protected | |
def load_file_with_sentences(filename) | |
load_file_without_sentences(filename).tap do |data| | |
unless Rails.configuration.paths["config/locales"].expanded.include?(filename) | |
data.each do |locale, d| | |
if d and d.key?("errors") |