document_id
stringlengths
8
12
document
stringlengths
50
3.21k
split
stringclasses
1 value
d_bash_3200
--- +++ @@ -9,7 +9,7 @@ case "$INSTALL_TYPE" in dev) - pip install .[dev] + pip install -e .[dev] ;; dev_sdist) python setup.py sdist
bash
d_bash_3201
--- +++ @@ -8,7 +8,7 @@ mkdir $HADOOP_HOME if [ $HADOOP_DISTRO = "cdh" ]; then - URL="http://archive.cloudera.com/cdh5/cdh/5/hadoop-2.2.0-cdh5.0.0-beta-1.tar.gz" + URL="http://archive.cloudera.com/cdh5/cdh/5/hadoop-latest.tar.gz" export HADOOP_PROTOCOL_VER=9 elif [ $HADOOP_DISTRO = "hdp" ]; then ...
bash
d_bash_3202
--- +++ @@ -1,6 +1,4 @@ #!/bin/sh - -# http://stackoverflow.com/questions/6796982/clang-and-the-default-compiler-in-os-x-lion psg () { ps auxww | grep "$1" | grep -v grep
bash
d_bash_3203
--- +++ @@ -18,6 +18,10 @@ cd ${SCRIPT_DIR}/../../.. make clean +# openssl fails to build if it's last on this bot. +# TODO(dpolukhin): figure it out why other packages break openssl build. +BuildPackage openssl + # ffmpeg also builds lame, vorbis, theora, and ogg # sdl_* build sdl, png, freetype BuildPackage ...
bash
d_bash_3204
--- +++ @@ -3,7 +3,7 @@ set -o errexit set -o pipefail -export SUITES='jessie stretch buster bullseye' +export SUITES='stretch buster bullseye' export REPO='balenalib/rpi-raspbian' LATEST='buster' dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
bash
d_bash_3205
--- +++ @@ -1,13 +1,13 @@ #!/usr/bin/env bash # Generate & push code signing keys to keyserver.ubuntu.com, source into environment -source ${TRAVIS_BUILD_DIR}/.travis.gpg.sh +. ${TRAVIS_BUILD_DIR}/.travis.gpg.sh set -ex # Utilize tokenized `.travis.settings.xml` to do deployment cp ${TRAVIS_BUILD_DIR}/.travis....
bash
d_bash_3206
--- +++ @@ -8,4 +8,4 @@ $script_path/extended/bootstrap/compile-library.sh "$script_path/generated/extended/compiler/compiler.reuse" "$temporary_dir" printf "\n$(cat $script_path/extended/stdin_wrapper.ml)\nPrintf.printf \"%%s\" (_list_to_string (to_ocaml (fn_sexps_45to_45definitions (parse _stdin_list))))\n" >> $t...
bash
d_bash_3207
--- +++ @@ -13,6 +13,6 @@ COMPLETION_WAITING_DOTS="true" # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) -plugins=(asdf colored-man-pages command-not-found copypath docker docker-compose heroku history-substring-search vi-mode z) +plugins=(asdf colored-man-pages command-no...
bash
d_bash_3208
--- +++ @@ -47,6 +47,6 @@ shift local cid="$(docker run -d "$@" $PROVIDER run)" CONTAINERS+=($cid) - local name=$(docker inspect --format '{{ .Name }}' $cid) + local name=$(docker inspect --format '{{ .Name }}' $cid | sed -e 's/^\///g') eval "export $output='$name'" }
bash
d_bash_3209
--- +++ @@ -18,7 +18,6 @@ touch ${applicationXml} echo "<server>" >> ${applicationXml} -cat ${applicationXml} addApplication decisioncenter addApplication decisionmodel @@ -27,6 +26,6 @@ addApplication teamserver-dbdump echo "</server>" >> ${applicationXml} -cat ${applicationXml} + # End - Add DC Apps
bash
d_bash_3210
--- +++ @@ -2,7 +2,7 @@ if [ "$TRAVIS_MCSERVER_BUILD_TYPE" == "COVERAGE" ] then - find tests -type f -name '*.gcda' -exec cp {} $(dirname {})/../$(basename {}) + find tests -type f -name '*.gcda' -exec sh -c 'cp {} $(dirname {})/../$(basename {})' \; coveralls --exclude lib --exclude Android --gcov-options -q ...
bash
d_bash_3211
--- +++ @@ -4,3 +4,7 @@ make release make test + +if [ "$TRAVIS_RUST_VERSION" = "nightly" ]; then + travis_wait 20 make benchmark +fi
bash
d_bash_3212
--- +++ @@ -26,11 +26,11 @@ rm -rf package/* mkdir -p package/{BUILD,RPMS,SOURCES,SPECS,SRPMS} -cp build/isis_nexus_streamer-1.0.0.tar.gz package/SOURCES/ +cp build/isis_nexus_streamer-0.1.0.tar.gz package/SOURCES/ cp code/isis_nexus_streamer.spec package/SPECS/ rpmbuild \ --define "_topdir $(pwd)/packag...
bash
d_bash_3213
--- +++ @@ -20,5 +20,7 @@ . /opt/monasca/bin/activate export OS_USERNAME=mini-mon export OS_PASSWORD=password +export OS_USER_DOMAIN_NAME=default export OS_PROJECT_NAME=mini-mon +export OS_PROJECT_DOMAIN_NAME=default export OS_AUTH_URL=http://127.0.0.1:35357/v3/
bash
d_bash_3214
--- +++ @@ -5,4 +5,5 @@ if [ "${PLATFORM}" = "android" ] && [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_BRANCH}" = "master" ]; then cd "$TRAVIS_BUILD_DIR"/android; ./gradlew uploadArchives -PsonatypeUsername="$SONATYPE_USERNAME" -PsonatypePassword="$SONATYPE_PASSWORD" + cd "$TRAVIS_BUILD_DIR" fi
bash
d_bash_3215
--- +++ @@ -14,6 +14,6 @@ cd bin cat manifest | while read f; do echo Deploying $f - curl -T $f -uxiaq:$BINTRAY_CREDENTIAL \ + curl -T $f -u$BINTRAY_CREDENTIAL \ https://api.bintray.com/content/elves/elvish/elvish/$VERSION/$f'?publish=1' done
bash
d_bash_3216
--- +++ @@ -28,11 +28,13 @@ # check whether we're running on Linux if type -P uname >/dev/null && [ $(uname) == 'Linux' ]; then # if so, add '-fPIC' to CFLAGS - sed -i -e 's/CFLAGS\s*=.*/& -fPIC/' Makefile + sed -e 's/CFLAGS\s*=.*/& -fPIC/' Makefile > Makefile.rapi_edit +else + cp --force Makefile Mak...
bash
d_bash_3217
--- +++ @@ -1,4 +1,7 @@ #!/bin/bash + +set -e + ./compile_code.sh "$@" XROAD=`pwd`
bash
d_bash_3218
--- +++ @@ -10,4 +10,4 @@ VERSION=${GIT_VERSION} fi -echo -n ${VERSION} +/bin/echo -n ${VERSION}
bash
d_bash_3219
--- +++ @@ -8,16 +8,6 @@ if [ "$(git rev-parse master)" = "$TRAVIS_COMMIT" ]; then - # build doxygen from source so we can have the latest and greatest - sudo apt-get install flex bison - git clone --branch Release_1_8_9_1 --depth 1 https://github.com/doxygen/doxygen.git - cd doxygen - ./configur...
bash
d_bash_3220
--- +++ @@ -5,5 +5,6 @@ format=${1} tag=${2} version=${tag#v} +dir_name=qbs-src-${version} -git archive --format=${format} --prefix=qbs-${version}/ -o qbs-${version}.src.${format} ${tag} +git archive --format=${format} --prefix=${dir_name}/ -o ${dir_name}.${format} ${tag}
bash
d_bash_3221
--- +++ @@ -1,5 +1,6 @@ #!/bin/sh -chown -R $UID "$HOME" +[ -z "$(cat /etc/passwd | grep jenkins)" ] && useradd -U -d "$HOME" -p 1234 -s /bin/false jenkins +chown -R jenkins "$HOME" cd "$HOME" -sudo -u "#$UID" /usr/bin/java $JENKINS_JAVA_ARGS -jar /opt/jenkins.war $JENKINS_ARGS +sudo -u jenkins /usr/bin/java $JEN...
bash
d_bash_3222
--- +++ @@ -21,6 +21,7 @@ echo "require_relative \"${filename}\"" >> "${test_suite}" done -ruby "${test_suite}" - +ruby -Itest "${test_suite}" +RES=$? rm "${test_suite}" +exit $RES
bash
d_bash_3223
--- +++ @@ -41,7 +41,7 @@ mkdir "$PORTS_DIR/$category" fi - cp -R "$SOURCE/$port" "$PORTS_DIR/$category" + ln -s "$SOURCE/$port" "$PORTS_DIR/$category/" done cd $PORTS_DIR
bash
d_bash_3224
--- +++ @@ -2,7 +2,7 @@ set -e -curl -fsSL https://raw.githubusercontent.com/neovim/neovim/master/.ci/common.sh | source /dev/stdin +source <(curl -fsSL https://raw.githubusercontent.com/neovim/neovim/master/.ci/common.sh) set_environment /opt/neovim-deps
bash
d_bash_3225
--- +++ @@ -12,7 +12,7 @@ echo "https://github.com/AdoptOpenJDK/openjdk14-binaries/releases/download/jdk-14.0.1%2B7/OpenJDK14U-jdk_x64_linux_hotspot_14.0.1_7.tar.gz" ;; java15) - echo "https://github.com/AdoptOpenJDK/openjdk15-binaries/releases/download/jdk15-2020-06-24-06-14/OpenJDK15-jdk_x64_linux_hotspot...
bash
d_bash_3226
--- +++ @@ -9,5 +9,5 @@ $RUBY_RABBITMQ_HTTP_API_CLIENT_RABBITMQCTL set_permissions -p / guest ".*" ".*" ".*" # Reduce retention policy for faster publishing of stats -$RUBY_RABBITMQ_HTTP_API_CLIENT_RABBITMQCTL eval 'supervisor2:terminate_child(rabbit_mgmt_sup_sup, rabbit_mgmt_sup), application:set_env(rabbitmq_ma...
bash
d_bash_3227
--- +++ @@ -4,7 +4,7 @@ PROJECTS="step-controller libserial libatom libplanar mxu11x0 planar-display \ planar-editor pui pui-keyboard pui-test mems-gyroscope simunit \ - uso-iso d2k-dask" + uso-iso d2k-dask pci-dask pci429-4" PROJECTS_DIR="/home/ilya/sync" # This names are the same...
bash
d_bash_3228
--- +++ @@ -10,7 +10,7 @@ if [[ "$inst_ver" != "$new_ver" ]]; then echo "Updating Zoom from $inst_ver to $new_ver" - dpkg -i /tmp/zoom.deb + gdebi -n /tmp/zoom.deb else echo "Zoom already up-to-date: $inst_ver" fi
bash
d_bash_3229
--- +++ @@ -16,7 +16,7 @@ rm liquibase*.tar.gz rm mysql-connector*.tar.gz # copy config script - mv setup.ph liquibase/ + mv setup.pl liquibase/ cd liquibase/ ./setup.pl # If setup was successful, procede, else exit with error code
bash
d_bash_3230
--- +++ @@ -1,6 +1,4 @@ -#!/bin/bash -# strict mode http://redsymbol.net/articles/unofficial-bash-strict-mode/ -set -euo pipefail +#!/bin/sh IFS=$'\n\t' # if this if the first run, generate a useful config
bash
d_bash_3231
--- +++ @@ -1,6 +1,6 @@ #!/usr/bin/env bash -export TMUX_POWERLINE_DIR_HOME="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")" +export TMUX_POWERLINE_DIR_HOME="$(dirname "$(realpath "${BASH_SOURCE[0]}")")" source "${TMUX_POWERLINE_DIR_HOME}/config/helpers.sh" source "${TMUX_POWERLINE_DIR_HOME}/config/paths.sh"
bash
d_bash_3232
--- +++ @@ -2,7 +2,7 @@ W_ITERATIONS=${W_ITERATIONS:-60} W_PERIOD_SECS=${W_PERIOD_SECS:-1} -W_ZK_ADDRESS=${w_ZK_ADDRESS:-localhost} +W_ZK_ADDRESS=${W_ZK_ADDRESS:-localhost} W_ZK_PORT=${W_ZK_PORT:-$ZK_PORT} W_ZK_PORT=${W_ZK_PORT:-2181}
bash
d_bash_3233
--- +++ @@ -10,7 +10,7 @@ example/**/*.dart # Verify that all the tests pass. -pub run test +pub run --checked test/all_tests.dart # Verify the coverage of the tests. if [ "$COVERALLS_TOKEN" ] && [ "$TRAVIS_DART_VERSION" = "stable" ]; then
bash
d_bash_3234
--- +++ @@ -2,7 +2,7 @@ (cd codec/decoder && python ../../build/mktargets.py --directory codec/decoder --library decoder --exclude StdAfx.cpp) (cd codec/encoder && python ../../build/mktargets.py --directory codec/encoder --library encoder --exclude DllEntry.cpp) (cd codec/common && python ../../build/mktargets.py...
bash
d_bash_3235
--- +++ @@ -1,4 +1,5 @@ #!/bin/bash +# use FLASK_RUN_PORT=8888 to set port source venv/bin/activate export FLASK_APP=`pwd`/runweb.py export FLASK_DEBUG=1
bash
d_bash_3236
--- +++ @@ -16,16 +16,14 @@ set -x cd bazel_pip +virtualenv --system-site-packages --python=python .env +source .env/bin/activate pip --version pip install portpicker pip install *.whl # Use default configuration yes "" | python configure.py - -# Run as non-root to aviod file permission related test failur...
bash
d_bash_3237
--- +++ @@ -16,11 +16,11 @@ # Check for kubectl in local path. command -v kubectl >/dev/null 2>&1 || { echo >&2 "Command kubectl required in $PATH to use this script, exiting"; exit 1; } -# Loop 20 times, start one pod every 15 seconds. -for i in $(seq 1 20); do +# Loop 15 times, start one pod every ~20 seconds. ...
bash
d_bash_3238
--- +++ @@ -9,5 +9,6 @@ fi docker-compose build -docker-compose run -e GEM_PATH=/usr/local/bundle:/root/.gem/ruby/2.2.0:/usr/local/lib/ruby/gems/2.2.0 app bin/test_run.sh -#docker-compose run app bin/test_run.sh +# Force GEM_PATH so that down the line, _ORIGINAL_GEM_PATH is available in WorkDir::Base +# for makin...
bash
d_bash_3239
--- +++ @@ -1,9 +1,16 @@ alias e="exit" + +# Interactive queues alias i="seqcloud interactive" alias i2="seqcloud interactive_64gb" + +# ls alias la="ls -a" alias lF="ls -F" alias ll="ls -lh" + +# Disable R prompt to save workspace +alias R="R --no-save" # export PROMPT_DIRTRIM=2
bash
d_bash_3240
--- +++ @@ -1,32 +1,39 @@ #!/bin/bash - -ZK_CHROOT=${ZK_CHROOT:-/} -echo "ZK_CHROOT is ${ZK_CHROOT}" - function join { local IFS="$1"; shift; echo "$*"; } -#Add entries for zookeeper peers. -hosts=() -for i in $(seq 255) -do - zk_name=$(printf "ZK%02d" ${i}) - zk_addr_name="${zk_name}_PORT_2181_TCP_ADDR" ...
bash
d_bash_3241
--- +++ @@ -8,3 +8,8 @@ # emacs style bindkey '^a' beginning-of-line bindkey '^e' end-of-line + +# Insert sudo at the beginning of a line +insert_sudo () { zle beginning-of-line; zle -U "sudo " } +zle -N insert_sudo insert_sudo +bindkey "^s" insert_sudo
bash
d_bash_3242
--- +++ @@ -6,5 +6,5 @@ sed -i.bak "s/jellyfish_dir = quake_dir/jellyfish_dir = $PREFIX\/bin/g" $SRC_DIR/bin/quake.py mkdir -p $PREFIX/bin -mv bin/* $PREFIX/bin/ +cp bin/* $PREFIX/bin/
bash
d_bash_3243
--- +++ @@ -2,7 +2,7 @@ echo "$(~/bin/daysuntil 2019-03-01) days - mantid v3.14 code freeze" > ~/.daysuntil.deadlines echo "$(~/bin/daysuntil 2019-03-25) days - mantid v3.14 release" >> ~/.daysuntil.deadlines echo "$(~/bin/daysuntil 2019-03-31) days - CHKM" >> ~/.daysuntil.deadlines -echo "$(~/bin/daysuntil 2019-0...
bash
d_bash_3244
--- +++ @@ -3,14 +3,17 @@ CMAKE_BIN= echo "DEBUG: TravisCI host OS = $1" if [ "$1" == "linux" ]; then +sudo apt-get update bash -c "cd ~/ wget --no-check-certificate https://cmake.org/files/v3.5/cmake-3.5.2-Linux-x86_64.tar.gz tar -xf cmake-3.5.2-Linux-x86_64.tar.gz" CMAKE_BIN=~/cmake-3.5.2-Linux-x86_64/bin/...
bash
d_bash_3245
--- +++ @@ -1,6 +1,6 @@ alias d='docker' -alias dc='docker-compose' -alias drm='docker-rm' +alias dc='log_and_run_command docker-compose' +alias drm='log_and_run_command docker-rm' alias dcl='docker-clean' alias dcd='dc down' alias dcb='dc build'
bash
d_bash_3246
--- +++ @@ -6,17 +6,16 @@ exit -1 fi -add-apt-repository universe -apt-get update -sudo apt-get install libgconf2-4 libnss3-1d libxss1 - if [ $(which apt) ]; then + add-apt-repository universe + apt-get update + sudo apt-get install libgconf2-4 libnss3-1d libxss1 -y -qq wget https://dl.google.com/linux/d...
bash
d_bash_3247
--- +++ @@ -9,4 +9,5 @@ "$MVN" clean install cd .. "$MVN" clean install -P parent | grep -v "^[INFO].*Download" | grep -v "longer than 100" ; test ${PIPESTATUS[0]} -eq 0 +"$MVN" clean install -P updater | grep -v "^[INFO].*Download" | grep -v "longer than 100" ; test ${PIPESTATUS[0]} -eq 0 "$MVN" clean install -P...
bash
d_bash_3248
--- +++ @@ -16,7 +16,7 @@ set -e if [[ "$GCC6_REQUIRED" == "true" ]]; then - sudo apt-get -y install gcc-6 c++-6 ; fi + sudo apt-get -y install gcc-6; fi # Download and Install prlimit for memlock if [[ ! -d "$PRLIMIT_INSTALL_DIR" ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
bash
d_bash_3249
--- +++ @@ -1,10 +1,18 @@ #!/bin/bash # Edit this file to match your folders + +BACKUP="tangerine-apks" +if [ ! -d "$BACKUP" ]; then +mkdir $HOME/$BACKUP +fi + + echo echo "********" echo "Cleaning" echo "********" ant clean +# ant debug clean echo echo "********" echo "Compacting database" @@ -25,4 +33,15 ...
bash
d_bash_3250
--- +++ @@ -7,7 +7,7 @@ if [ -z $process ]; then echo "Web server is not started starting it with rootDir: ${rootDir}" - node node_modules/http-server/bin/http-server ${rootDir} -p $port & + node node_modules/http-server/bin/http-server ${rootDir} -p $port -c-1 & else echo "Web server is already starte...
bash
d_bash_3251
--- +++ @@ -32,9 +32,9 @@ name: psycopg2 args: database: $POSTGRES_DB_1 - user: $POSTGRES_USER_1 - password: $POSTGRES_PASS_1 - host: $POSTGRES_HOST_1 + user: $PGUSER + password: $PGPASSWORD + host: $PGHOST sslmode: disable EOF @@ -42,5 +42,8 @@ name: psycopg2 args: database: $...
bash
d_bash_3252
--- +++ @@ -19,12 +19,14 @@ [ -e $lib_archive ] || wget http://xmlsoft.org/sources/$lib_archive tar xzf $lib_archive cd $lib_basename - # Use minimal and fastest options. - configure_args='--disable-dependency-tracking --disable-static --without-python' + # Use minimal and build maximally self...
bash
d_bash_3253
--- +++ @@ -5,7 +5,7 @@ exit 1 fi -ALIVE_PIN="2" +ALIVE_PIN="4" SHUTDOWN_PIN="3" # Register PINS needed for reboot and alive LED
bash
d_bash_3254
--- +++ @@ -1,6 +1,9 @@ -sudo apt-get update +sudo apt-get update -qq -sudo apt-get install -qq libgeos++-dev libproj-dev build-essential liblzo2-dev liblzma-dev zlib1g-dev libprotobuf-c0-dev postgresql-contrib-9.3 postgresql-9.3-postgis-2.1-scripts libprotobuf-c0 zlib1g libleveldb-dev +# leveldb => libleveldb-dev ...
bash
d_bash_3255
--- +++ @@ -2,7 +2,7 @@ # Reset the tree to the checkout cg-reset -cg-clean -d +cg-clean -d -x #cg-restore -f ./tp/netlib/version.py # Update to the latest version @@ -19,3 +19,7 @@ # Build the deb package dpkg-buildpackage -us -uc -b -rfakeroot + +# Reset the tree to the checkout +cg-reset +cg-clean -d -...
bash
d_bash_3256
--- +++ @@ -11,7 +11,7 @@ # Git pager if [[ -x `which git` ]]; then - export GIT_PAGER=`which less` + export GIT_PAGER="`which less`" fi # I am a lazy bum
bash
d_bash_3257
--- +++ @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -exu # Packages to exclude PKGS=`go list github.com/hyperledger/fabric-sdk-go/test/... 2> /dev/null | \ @@ -11,5 +11,13 @@ cd ../../ gocov test -ldflags "$GO_LDFLAGS" $PKGS -p 1 -timeout=10m | gocov-xml > integration-report.xml -echo "Cleaning up..." -cd ./tes...
bash
d_bash_3258
--- +++ @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# +# Test VMDq mode with two pools with different MACs + SNABB_SEND_BLAST=true ./testsend.snabb $SNABB_PCI_INTEL1 0 source2.pcap & BLAST=$! @@ -6,5 +9,10 @@ SNABB_RECV_SPINUP=2 SNABB_RECV_DURATION=5 ./testvmdqrecv.snabb $SNABB_PCI_INTEL0 "12:34:56:78:9a:bc" 1 4 > res...
bash
d_bash_3259
--- +++ @@ -1,31 +1,4 @@ #!/usr/bin/env bash - -LUA_VERSION=$(lua -v | cut -f 2 -d ' ') -(sed -e "s@LUA_VERSION@${LUA_VERSION}@g" -e "s@CONDA_PREFIX@${PREFIX}@g" | \ - sed -E "s@^(V=.+)\.[0-9]+@\1@g" \ - > "lua.pc") << "EOF" -V=LUA_VERSION -R=LUA_VERSION - -prefix=CONDA_PREFIX -INSTALL_BIN=${prefix}/bin -INSTALL_INC...
bash
d_bash_3260
--- +++ @@ -8,7 +8,7 @@ /tmp/usr/bin/lcov --gcov-tool "$GCOV" --remove coverage.info 'tests/*' '/usr/*' --output-file coverage.info /tmp/usr/bin/lcov --gcov-tool "$GCOV" --list coverage.info - coverage run --branch src/python/botan.py + LD_LIBRARY_PATH=. coverage run --branch src/python/botan.py ...
bash
d_bash_3261
--- +++ @@ -7,3 +7,4 @@ alias golinux="GOOS=linux GOARCH=amd64 go" alias godarwin="GOOS=darwin GOARCH=amd64 go" +alias goraspbian="GOOS=linux GOARCH=arm GOARM=7 go"
bash
d_bash_3262
--- +++ @@ -25,7 +25,9 @@ vagrant ssh -c "cd /vagrant/package && VERSION=$VERSION ./build-package.sh" # Pull the produced package from the virtual machine by catting it through ssh. -vagrant ssh -c "cat /vagrant/package/$PKGFNAME" > $PKGFNAME +# Only using cat caused corrupted files, likely due to encoding issues...
bash
d_bash_3263
--- +++ @@ -1,4 +1,4 @@ #!/usr/bin/env bash -export TEMPLATE_ELASTIC_VERSION="5.6.4" +export TEMPLATE_ELASTIC_VERSION="5.6.3" export TEMPLATE_SUPPORT_DIAGNOSTICS_VERSION="6.2"
bash
d_bash_3264
--- +++ @@ -5,6 +5,7 @@ $HOME/.local/bin:\ $HOME/.local/go/bin:\ $HOME/.cargo/bin:\ +$HOME/.poetry/bin:\ /usr/local/go/bin:\ /usr/local/bin:\ /usr/local/sbin:\
bash
d_bash_3265
--- +++ @@ -15,8 +15,9 @@ # Install Homebrew: https://brew.sh/ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" -# Add Homebrew to the main PATH -export PATH=/opt/homebrew/bin:$PATH +# Add Homebrew to the main PATH as per post-installation instructions +echo 'eval "$...
bash
d_bash_3266
--- +++ @@ -1,3 +1,5 @@ +#!/bin/bash + [[ -s "/etc/default/evm" ]] && source "/etc/default/evm" # Aliases:
bash
d_bash_3267
--- +++ @@ -12,8 +12,8 @@ #zstyle ':autocomplete:*' key-binding off #zstyle ':autocomplete:*' config off #zstyle ':completion:*' tag-order '! history-words recent-directories recent-files' '-' -zstyle ':completion:*:complete:*:' tag-order \ - '! history-words ancestor-directories recent-directories recent-files' ...
bash
d_bash_3268
--- +++ @@ -1,37 +1,33 @@ #!/bin/bash -sudo apt-get install -y git curl wget net-tools build-essential pkg-config libtool autoconf automake +sudo apt-get install -y git curl wget net-tools +sudo apt-get install -y build-essential pkg-config libtool autoconf automake sudo apt-get install -y vim emacs sudo apt-g...
bash
d_bash_3269
--- +++ @@ -28,8 +28,8 @@ DIR="backups/$(date +%Y-%m-%d)" SKIP_DOWNLOAD=false DRY_RUN=false -# By default, ignore the trade tariff databases -IGNORE="tariff tariff_temporal tariff_demo" +# By default, ignore the trade tariff and external_link_tracker databases +IGNORE="tariff tariff_temporal tariff_demo external_l...
bash
d_bash_3270
--- +++ @@ -1,13 +1,13 @@ #!/usr/bin/env bash -echo -en 'travis_fold:start:Log\r' +echo -en 'travis_fold:start:Log\r' # Causes travis to create a folding group in the stdout output with the title "Log" echo "================= Full Log =================" annotate-output +"" ant full 2>&1 | tee build.log EXIT=${PIP...
bash
d_bash_3271
--- +++ @@ -4,7 +4,7 @@ while read line do if [[ -n "$line" && "$line" != \#* ]] ; then - pip install --use-mirrors $line + pip install $line fi ((a = a + 1)) done < $1
bash
d_bash_3272
--- +++ @@ -22,6 +22,7 @@ libfcl-dev libxi-dev libxmu-dev +coinor-libipopt-dev ' APT=$APT_CORE'
bash
d_bash_3273
--- +++ @@ -3,10 +3,10 @@ # shellcheck disable=SC1091 source ./docker/builder/get_bano.sh -docker-compose -p "${PROJECT}" run --entrypoint /bin/bash addok -c "zcat ./addresses/BAN_odbl.sjson.gz | jq -c 'del(.housenumbers[]?.id)' | addok batch" +docker-compose -p "${PROJECT}" run --rm --entrypoint /bin/bash addok ...
bash
d_bash_3274
--- +++ @@ -7,17 +7,18 @@ exit 1 fi -for DIR in /mnt/config /oe_layers_config; do - if [ ! -d "$DIR" ]; then - echo "${DIR} does not exist" >&2 - exit 1 - fi -done - # Copy the config to the image +if [ ! -d "/mnt/config" ]; then + echo "The /mnt/config directory does not exist" >&2 + exit 1 +fi rsy...
bash
d_bash_3275
--- +++ @@ -22,8 +22,3 @@ print_start cask tableplus install cask tableplus - -echo "\nTo install the 'code' command:" -echo "- Launch VS Code." -echo "- Open the Command Palette > Shell Command: Install 'code' command in PATH" -echo "More details: https://code.visualstudio.com/docs/setup/mac"
bash
d_bash_3276
--- +++ @@ -7,10 +7,10 @@ if [ $cont = "Y" ]; then echo "Running tests" - winpty docker-compose exec mlsb python -m unittest discover -s api/test + winpty docker-compose exec mlsb python -m unittest discover -s api/test -p test*.py elif [ $cont = "y" ]; then echo "Running tests" - winpty docke...
bash
d_bash_3277
--- +++ @@ -1,8 +1,16 @@ #!/bin/bash -e -if [ -z "$VIRTUAL_ENV" ]; then - echo "ERROR: You are not running within a virtual environment" >&2 - exit 1 +if [ -n "$USE_VIRTUALENV" ]; then + VIRTUALENV_DIR="/var/tmp/virtualenvs/$USE_VIRTUALENV" + export PIP_DOWNLOAD_CACHE=/var/tmp/pip_download_cache + + vir...
bash
d_bash_3278
--- +++ @@ -2,7 +2,7 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. -cd $2 +cd $2/.. test -d _virtualenv || virtualenv _virtualenv test -d $1/src/test/wpt/metadata || mkdir -p $1/src/test/wpt/metadata
bash
d_bash_3279
--- +++ @@ -8,18 +8,26 @@ for arg in "$@" do param="" - if [ "${arg:0:1}" == "-" ]; then - arg="${arg:1}" - param="-v" - elif [ "${arg:0:1}" == "+" ]; then - arg="${arg:1}" - elif [ "${arg:0:1}" == "=" ]; then - arg=" ${arg:1} " + ...
bash
d_bash_3280
--- +++ @@ -10,14 +10,14 @@ SCRAPES="BritBox-scrapes" PROGRAMS_FILE="$SCRAPES/BritBoxPrograms.csv" -MOVIES_JSON_FILE="BritBoxMovies-$LONGDATE.json" -SHOWS_JSON_FILE="BritBoxShows-$LONGDATE.json" +MOVIES_JSON_FILE="BBoxMovies-$LONGDATE.json" +SHOWS_JSON_FILE="BBoxShows-$LONGDATE.json" grep -B4 startUrl movieTem...
bash
d_bash_3281
--- +++ @@ -12,7 +12,7 @@ python setup.py develop || exit 1 echo -e "\e[0;35mDone installing\e[0m" echo -e "\e[0;35mAttempting to import package from python...\e[0m" -python -c "import pyautoupdate" && echo -e "\e[0;32mInstallation successful\e0m]" +python -c "import pyautoupdate" && echo -e "\e[0;32mInstallation ...
bash
d_bash_3282
--- +++ @@ -5,7 +5,8 @@ if [[ -n $SSH_CONNECTION ]]; then export EDITOR='vim' else - export EDITOR='mvim' + # export EDITOR='mvim' + export EDITOR='vim' fi ###############################################################################
bash
d_bash_3283
--- +++ @@ -59,5 +59,13 @@ ${cmd} ${1} } + replace(){ + local file=${1} + local pattern=$(readvar ${2}) + local replace=$(readvar ${3}) + + sed -i "s;${pattern};${replace};g" ${file} + } + $@ }
bash
d_bash_3284
--- +++ @@ -28,15 +28,17 @@ ;; stop) - if df -T | grep "/mnt/usb" | grep "fuseblk"; then - echo "Unmounting (-f) usb..." - if umount -f /mnt/usb; then - echo "...done" - fi - else - echo "Unmounting usb..." - if umount /mnt/usb; then - echo "...done" ...
bash
d_bash_3285
--- +++ @@ -20,4 +20,5 @@ test_it DELETE panic "" "" test_it_fail GET panic "" "Child has not panicked or panic has been cleared" test_it_fail DELETE panic "" "No panic to clear" +test_it GET version "" "varnish-agent 2.0" exit $ret
bash
d_bash_3286
--- +++ @@ -5,7 +5,8 @@ if [[ ${TRAVIS_EVENT_TYPE} == "cron" ]]; then BLOCKCHAIN_TYPE="geth" else - BLOCKCHAIN_TYPE="tester" + # FIXME: chagne to "tester" once the test failures are fixed + BLOCKCHAIN_TYPE="geth" fi coverage run \
bash
d_bash_3287
--- +++ @@ -10,6 +10,7 @@ GIT_PS1_SHOWUNTRACKEDFILES='true' GIT_PS1_SHOWUPSTREAM='auto' GIT_PS1_STATESEPARATOR=' ' + GIT_PS1_DESCRIBE_STYLE='branch' __gps1="__git_ps1 '%s '" else __gps1="git branch 2>/dev/null | grep '^*' | colrm 1 2"
bash
d_bash_3288
--- +++ @@ -10,3 +10,7 @@ # Ship a debug build of our current RN apphubdeploy --plist-file ./Example/Emission/Info.plist --target debug + +# To avoid build failures, kill the node_modules folder +# e.g. https://travis-ci.org/artsy/emission/builds/158175879 +rm -rf node_modules
bash
d_bash_3289
--- +++ @@ -6,7 +6,7 @@ ### Deploy Xcode extension ### ############################## -if [ "$APPCENTER_BRANCH" == "master" ]; then +if [ "$APPCENTER_BRANCH" == "appcenter" ]; then appcenter \ build queue \ --app quicktype/quicktype-xcode \
bash
d_bash_3290
--- +++ @@ -2,7 +2,7 @@ #cd "$(dirname "${BASH_SOURCE}")" #git pull function doIt() { - rsync --exclude "init" --exclude ".git/" --exclude ".DS_Store" --exclude "bootstrap.sh" --exclude "Brewfile" --exclude "README.md" -av . ~ + rsync --exclude "init" --exclude ".git/" --exclude ".DS_Store" --exclude "bootstrap.sh...
bash
d_bash_3291
--- +++ @@ -3,7 +3,7 @@ function build_documentation { tag=$1 rm -rf build - make html + make html SPHINXBUILD="$PYTHON `which sphinx-build`" API_TEMP=`mktemp -d` rm -rf $OUTPUT_DIR/$tag/ mkdir -p $OUTPUT_DIR/$tag/ @@ -17,6 +17,10 @@ } OUTPUT_DIR=$1 +PYTHON=$2 +if [ -z "$PYTHON" ] ...
bash
d_bash_3292
--- +++ @@ -1,4 +1,4 @@ # Fix 'failed to open: /homeless-shelter/.cargo/.package-cache' in rust 1.36. -if [[ -z $IN_NIX_SHELL && -z $CARGO_HOME ]]; then +if [[ -z ${IN_NIX_SHELL-} && -z ${CARGO_HOME-} ]]; then export CARGO_HOME=$TMPDIR fi
bash
d_bash_3293
--- +++ @@ -9,4 +9,6 @@ autoreconf -v --install || exit 1 cd $ORIGDIR || exit $? -$srcdir/configure "$@" +if [ x$NOCONFIGURE = x ]; then + $srcdir/configure "$@" +fi
bash
d_bash_3294
--- +++ @@ -7,4 +7,4 @@ # export LSCOLORS="Gxfxcxdxbxegedabagacad" # Set rsync flags for APFS. -export RSYNC_FLAGS="${RSYNC_FLAGS} --iconv=utf-8,utf-8-mac" +export RSYNC_FLAGS_APFS="${RSYNC_FLAGS} --iconv=utf-8,utf-8-mac"
bash
d_bash_3295
--- +++ @@ -11,3 +11,5 @@ elif [ -f ~/.profile ]; then source ~/.profile > /dev/null fi + +if [ -e ~/.nix-profile/etc/profile.d/nix.sh ]; then . ~/.nix-profile/etc/profile.d/nix.sh; fi
bash
d_bash_3296
--- +++ @@ -14,7 +14,7 @@ # sed -i.bak -E 's!scissors: .+!scissors: '$version'!' pubspec.yaml echo "# Building $EXAMPLE_NAME" -pub upgrade +pub get pub build 2>&1 | \ egrep -v "^Took .*? to compile " | \ egrep -v ".*? took .*? msec." | \
bash
d_bash_3297
--- +++ @@ -14,6 +14,5 @@ git ls-files crashstats | xargs check.py | bin/linting.py echo "Starting tests..." -FORCE_DB=true coverage run manage.py test --noinput --with-xunit -coverage xml $(find crashstats lib -name '*.py') +FORCE_DB=true manage.py test --noinput echo "Tests finished."
bash
d_bash_3298
--- +++ @@ -16,17 +16,6 @@ npm install chmod +x run.sh -# install and enable the systemd service +# and install the systemd service cp config/mozilla-gateway-wifi-setup.service /etc/systemd/system/mozilla-gateway-wifi-setup.service -systemctl enable mozilla-gateway-wifi-setup.service - -# disable hostapd and dns...
bash
d_bash_3299
--- +++ @@ -5,7 +5,7 @@ read apiVersion rm -rf target/docs -git clone git@github.com:kuujo/copycat.git target/docs -b gh-pages +git clone git@github.com:kuujo/catalyst.git target/docs -b gh-pages mvn javadoc:javadoc -Pjavadoc -Djv=$apiVersion cd target/docs git add -A
bash