Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 @@include@@variables.include | |
| 2 | |
|
Michael Moss
2016/09/01 15:58:42
While looking into crbug.com/642953, I noticed tha
| |
| 3 APT_GET="`which apt-get 2> /dev/null`" | 1 APT_GET="`which apt-get 2> /dev/null`" |
| 4 APT_CONFIG="`which apt-config 2> /dev/null`" | 2 APT_CONFIG="`which apt-config 2> /dev/null`" |
| 5 | 3 |
| 6 SOURCES_PREAMBLE="### THIS FILE IS AUTOMATICALLY CONFIGURED ### | 4 SOURCES_PREAMBLE="### THIS FILE IS AUTOMATICALLY CONFIGURED ### |
| 7 # You may comment out this entry, but any other modifications may be lost.\n" | 5 # You may comment out this entry, but any other modifications may be lost.\n" |
| 8 | 6 |
| 9 # Parse apt configuration and return requested variable value. | 7 # Parse apt configuration and return requested variable value. |
| 10 apt_config_val() { | 8 apt_config_val() { |
| 11 APTVAR="$1" | 9 APTVAR="$1" |
| 12 if [ -x "$APT_CONFIG" ]; then | 10 if [ -x "$APT_CONFIG" ]; then |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 275 get_lib_dir() { | 273 get_lib_dir() { |
| 276 if [ "$DEFAULT_ARCH" = "i386" ]; then | 274 if [ "$DEFAULT_ARCH" = "i386" ]; then |
| 277 LIBDIR=lib/i386-linux-gnu | 275 LIBDIR=lib/i386-linux-gnu |
| 278 elif [ "$DEFAULT_ARCH" = "amd64" ]; then | 276 elif [ "$DEFAULT_ARCH" = "amd64" ]; then |
| 279 LIBDIR=lib/x86_64-linux-gnu | 277 LIBDIR=lib/x86_64-linux-gnu |
| 280 else | 278 else |
| 281 echo Unknown CPU Architecture: "$DEFAULT_ARCH" | 279 echo Unknown CPU Architecture: "$DEFAULT_ARCH" |
| 282 exit 1 | 280 exit 1 |
| 283 fi | 281 fi |
| 284 } | 282 } |
| OLD | NEW |