document_id
stringlengths
8
12
document
stringlengths
50
3.21k
split
stringclasses
1 value
d_bash_11800
--- +++ @@ -10,8 +10,9 @@ export KBNAME="webbox_$ME" export RWW_JAR="${SECURESTORE_HOME}/rww/read-write-web.jar" export RWW_PORT="8213" -export LOG_RWW="$HOME/.webbox/data/logs/rww.log" -export LOG_SECURESTORE="$HOME/.webbox/data/logs/webbox_server.log" -export LOG_4S="$HOME/.webbox/data/logs/4store.log" +export L...
bash
d_bash_11801
--- +++ @@ -1,3 +1,3 @@ #!/bin/sh set -e -curl -s http://sensu.global.ssl.fastly.net/apt/pool/jessie/main/s/sensu/ | grep - | cut -d'>' -f2 | cut -d'_' -f2 | sort | tail -n1 +curl -s http://sensu.global.ssl.fastly.net/apt/pool/stretch/main/s/sensu/ | grep - | cut -d'>' -f2 | cut -d'_' -f2 | sort | tail -n1
bash
d_bash_11802
--- +++ @@ -9,7 +9,7 @@ ### Merge Coverage Results ### ############################## istanbul-combine -d ${__COVERAGE_PATH} -r lcovonly -p both \ - ${__SRC_PATH}*/tests/frontend/coverage/**/coverage-final.json \ + ${__SRC_PATH}*/tests/frontend/coverage/report.json \ ${__SRC_PATH}*/tests/backend/coverage/cove...
bash
d_bash_11803
--- +++ @@ -7,7 +7,7 @@ ubuntu-drivers autoinstall # Be absolutely sure ansible is installed -apt-get install -y python-dev python-pip +apt-get install -y python-dev python-pip git pip install ansible # Attempt to run the main ansible installer
bash
d_bash_11804
--- +++ @@ -21,24 +21,18 @@ curl -L https://www.chef.io/chef/install.sh | sudo bash fi - if [ ! -e ~/.rvm/scripts/rvm ]; then - echo "rvm not installed, installing" - gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 - curl -sSL https://get.rvm.io | bash -s stable...
bash
d_bash_11805
--- +++ @@ -23,6 +23,7 @@ NDK=$(ls -1d $(dirname $SDK)/android-ndk-* | tail -1) fi -$SDK/tools/android update project -n glbuffer -p . --target android-4 +exampletarget=$($SDK/tools/android list targets | awk '/android-[0-9]/{gsub("\"", ""); split($4, a, "-"); if (a[2] >= 4) { print $4}}' | head -n1) +$SDK/to...
bash
d_bash_11806
--- +++ @@ -1 +1,8 @@ -export NODE_PATH="/usr/local/lib/node_modules:$NODE_PATH" + +export NVM_DIR="$HOME/.nvm" +NVM_HOMEBREW="/usr/local/opt/nvm/nvm.sh" +[ -s "$NVM_HOMEBREW" ] && \. "$NVM_HOMEBREW" + +[ -x "$(command -v npm)" ] && export NODE_PATH=$NODE_PATH:`npm root -g` + +# export NODE_PATH="/usr/local/lib/node_...
bash
d_bash_11807
--- +++ @@ -5,4 +5,14 @@ # Tasks to run after functional testing has completed. # ============================================================================== -# ... +echo "Performing post-test cleanup:" + +cd /var/www/vagrant/html + +# Delete test user account created in `user/register.js` +echo "Deleting QA_T...
bash
d_bash_11808
--- +++ @@ -46,5 +46,14 @@ # Install CURL apt-get install -y curl +# Install make +apt-get install -y make + +# Install Ruby 1.9.3 +apt-get install -y ruby1.9.3 + +# Install gems +gem install rails +
bash
d_bash_11809
--- +++ @@ -6,7 +6,7 @@ declare -r ROOT=$(realpath $(dirname $0)/..) declare -r TEST=$ROOT/src/NodaTime.Test -declare -r DOTCOVER_VERSION=2019.3.4 +declare -r DOTCOVER_VERSION=2021.1.3 declare -r REPORTGENERATOR_VERSION=4.0.12 nuget.exe install -Verbosity quiet -OutputDirectory $ROOT/packages -Version $DOTCOV...
bash
d_bash_11810
--- +++ @@ -1,6 +1,6 @@ cp ~/.zshrc ./program_config/zsh/zsh_config.orig cp ~/.vimrc ./program_config/vim/vim_config - +cp ~/Library/Application\ Support/Kodi/userdata/favourites.xml ./program_config/kodi/favourites.xml
bash
d_bash_11811
--- +++ @@ -1 +1,2 @@ +alias git=hub alias hubb='hub browse $(ghq list | fzf --prompt "hub> " --height 40% --reverse | cut -d "/" -f 2,3)'
bash
d_bash_11812
--- +++ @@ -1,7 +1,7 @@ -#!/bin/bash + #!/bin/bash ./sandbox_setup.sh cd sandbox -phpunit --coverage-text --coverage-clover=../coverage.clover +./vendor/bin/phpunit --coverage-text --coverage-clover=../coverage.clover cd .. ./sandbox_destroy.sh
bash
d_bash_11813
--- +++ @@ -9,7 +9,3 @@ [ -d "$HOME/.cabal/bin" ] && path=($HOME/.cabal/bin $path) export BROWSER=google-chrome-stable - -# Linux only plugins -zplug "plugins/systemd", from:oh-my-zsh, if:$OS_IS_LINUX -zplug "plugins/debian", from:oh-my-zsh, if:$OS_IS_LINUX
bash
d_bash_11814
--- +++ @@ -9,7 +9,3 @@ -f=ut_sonar_test_reporter -o=test_results.xml \ --failure-exit-code=0 -echo The content of coverage.xml file: -echo ----------------------------- -cat coverage.xml -echo -----------------------------
bash
d_bash_11815
--- +++ @@ -8,6 +8,9 @@ set -x +git config --global user.email "pivotal-lattice-eng@pivotal.io" +git config --global user.name "Concourse CI" + pushd lattice-website >/dev/null bundle install apt-get install node -y --no-install-recommends
bash
d_bash_11816
--- +++ @@ -27,7 +27,6 @@ source $DEVSTACK_DIR/openrc admin demo openstack dataprocessing plugin update fake /tmp/fake_config.json -openstack dataprocessing plugin show fake sudo -H -u stack tox -e py27integration retval=$?
bash
d_bash_11817
--- +++ @@ -1,6 +1,25 @@ #!/usr/bin/env bash . scripts/deploy.sh + +if [[ ! $(git secrets 2>/dev/null) ]]; then + echo "⚠️ This repository should be checked against leaked AWS credentials ⚠️" + echo "We highly recommend you run the following:" + echo " brew install git-secrets" + echo "then to set up the gi...
bash
d_bash_11818
--- +++ @@ -18,17 +18,8 @@ conda update --yes conda # configure and activate the conda environment - if [[ "$USE_MKL" == "true" ]]; then - conda create -n testenv --yes python=$PYTHON_VERSION pip nose \ - numpy=$NUMPY_VERSION scipy=$SCIPY_VERSION numpy scipy \ - scikit-lear...
bash
d_bash_11819
--- +++ @@ -4,5 +4,5 @@ source docker-helper.sh docker-compose build -dyarn install --force +dinstall docker-compose up --force-recreate
bash
d_bash_11820
--- +++ @@ -6,7 +6,7 @@ apt-get update apt-get upgrade -y -apt-get install -y git puppet +apt-get install -y git puppet apt-transport-https /etc/puppet/bin/install_modules.sh
bash
d_bash_11821
--- +++ @@ -23,6 +23,7 @@ -o bosh-deployment/jumpbox-user.yml \ -o bosh-src/ci/bats/ops/remove-health-monitor.yml \ -o bosh-deployment/local-bosh-release.yml \ + -o bosh-deployment/experimental/blobstore-https.yml \ -v dns_recursor_ip=8.8.8.8 \ -v director_name=bats-director \ -v local_bosh_release...
bash
d_bash_11822
--- +++ @@ -15,9 +15,6 @@ export SCRIPT_DIR=$(cd `dirname $0` && pwd -P) source $SCRIPT_DIR/functions -if [ "4.8" != "latest" ]; then - export PUPPET_GEM_VERSION='~> 4.8.0' -fi prepare_environment
bash
d_bash_11823
--- +++ @@ -10,4 +10,4 @@ sudo apt-get update -qq -y sudo apt-get install -y mongodb-org -sudo systemctl start mongod +sudo service mongodb start
bash
d_bash_11824
--- +++ @@ -1,6 +1,6 @@ ## Load smart urls if available for d in $fpath; do - if [[ -e "$d/url-quote-magic"]]; then + if [[ -e "$d/url-quote-magic" ]]; then autoload -U url-quote-magic zle -N self-insert url-quote-magic fi
bash
d_bash_11825
--- +++ @@ -17,6 +17,8 @@ chmod 0700 /home/stanley/.ssh chown -R stanley:stanley /home/stanley -# Enable passwordless sudo +# Apply sudo fix for local 'circleci' user +sh -c 'echo "circleci ALL=(ALL) NOPASSWD: SETENV: ALL" >> /etc/sudoers.d/st2' +# Enable passwordless sudo for 'stanley' user sh -c 'echo...
bash
d_bash_11826
--- +++ @@ -18,7 +18,7 @@ -p 9090:80 \ "abernix/meteord:node-${NODE_VERSION}-base" -sleep 50 +sleep 120 appContent=`curl http://localhost:9090` clean
bash
d_bash_11827
--- +++ @@ -15,7 +15,7 @@ emulator-check accel hyper-v cpu-info # If you want audio pass QEMU_AUDIO_DRV=pa -> https://www.wagner.pp.ru/fossil/vws/wiki?name=QEMU+audio export QEMU_AUDIO_DRV=none -emulator -verbose -show-kernel -avd android-28-emulator -no-audio -no-window -gpu swiftshader_indirect -memory 2048 -ski...
bash
d_bash_11828
--- +++ @@ -10,6 +10,11 @@ echo "out" > /sys/class/gpio/gpio23/direction echo "1" > /sys/class/gpio/gpio23/value + # 5V_ON + echo "496" > /sys/class/gpio/export + echo "out" > /sys/class/gpio/gpio496/direction + echo "1" > /sys/class/gpio/gpio496/value + # CTL2 echo "506" > /sys/clas...
bash
d_bash_11829
--- +++ @@ -9,6 +9,7 @@ # The rest of my fun git aliases alias glog="git log --pretty=format:'%Cred%h%Creset %s %C(yellow)%an%Creset' --graph" alias gp='git push origin HEAD' +alias gpa='git push -u origin --all' alias gd='git diff' alias ga='git add' alias gc='git commit'
bash
d_bash_11830
--- +++ @@ -1,3 +1,25 @@ #!/bin/bash SRC_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) -ln -s $SRC_DIR/bash_profile ~/.bash_profile + +# on OS X we can use .bash_profile, but on Linux desktops we'll +# want to use .profile instead (for a graphical, non-login shell) + +OS=$(uname -s) +DEST="" +if [ "$OS" = "...
bash
d_bash_11831
--- +++ @@ -22,7 +22,6 @@ ( cd ~/git/vocab pip install -r requirements.txt - pip install auxlib python setup.py install ) )
bash
d_bash_11832
--- +++ @@ -5,7 +5,7 @@ alias cp="\cp" function main() { - local url="https://github.com/rinatz/dotfiles/archive/master.tar.gz" + local url="https://github.com/rinatz/dotfiles/archive/main.tar.gz" local temp temp=$(mktemp -d /tmp/dotfiles-XXXXXX)
bash
d_bash_11833
--- +++ @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -e -set -x + export GOOGLE_CREDENTIALS_FILE="/tmp/google-account.json" export GCLOUD_PROJECT="terraform-ci-acc-tests" export TF_ACC=1 @@ -15,6 +15,7 @@ # to disk for use in tests. echo "${google_json_account}" > /tmp/google-account.json +set -x # Create GO...
bash
d_bash_11834
--- +++ @@ -37,7 +37,7 @@ apic_model = apicapi.db.noop_manager EOF -${AIMCTL} -c "${AIMCONF}" -c "${AIMLOCALCONF}" config replace +${AIMCTL} -c "${AIMCONF}" -c "${AIMLOCALCONF}" config update echo Starting Aid exec ${AIMAID} --config-dir "${AIMDIR}" --config-dir "${AIMLOCALDIR}"
bash
d_bash_11835
--- +++ @@ -34,12 +34,14 @@ mkdir "$dest" mkdir "$dest/content" -cp rsrc/docbook-schemas-pkg.xml "$dest/expath-pkg.xml" -cp rsrc/docbook-schemas-cxan.xml "$dest/cxan.xml" -cp "$src/docbook.nvdl" "$dest/content/" -cp "$src/sch/docbook.sch" "$dest/content/" -cp -R "$src/rng" ...
bash
d_bash_11836
--- +++ @@ -8,6 +8,7 @@ objdump -dlrwCS -Mintel $1 || gobjdump -dlrwCS -Mintel $1; } +# Source http://wiki.bash-hackers.org/snipplets/print_horizontal_line func horizontal_divider() { printf '%*s\n' "${COLUMNS:-$(tput cols)}" '' | tr ' ' - } @@ -17,5 +18,4 @@ alias gvim="gvim --remote-tab-silent" alias c...
bash
d_bash_11837
--- +++ @@ -5,6 +5,7 @@ # All rights reserved. # # PROVIDE: testbed +# REQUIRE: sshd # . /etc/emulab/paths.sh
bash
d_bash_11838
--- +++ @@ -4,10 +4,19 @@ set -o nounset set -o pipefail +function cleanup_xvfb() { + if [[ -n "${xvfb_process:-}" ]]; then + kill -SIGTERM "${xvfb_process}" + fi +} + +trap cleanup_xvfb EXIT + echo "[INFO] Starting virtual framebuffer for headless tests..." export DISPLAY=':10' export SCREEN='0' Xvfb "${DIS...
bash
d_bash_11839
--- +++ @@ -9,6 +9,9 @@ mkdir -p "$deploy/$TARGET/$revision" test -f Cargo.lock || cargo generate-lockfile + + export V8_LIBS=$PWD/v8-build/lib/libv8uber.a + export V8_SOURCE=$PWD/v8-build cross build --bin rq --target $TARGET --release
bash
d_bash_11840
--- +++ @@ -1,3 +1,5 @@ +#!/bin/sh + set -ev opam update --yes
bash
d_bash_11841
--- +++ @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -for CNAME in crunchy-postgres crunchy-pgbadger crunchy-pgbouncer crunchy-grafana crunchy-prometheus +for CNAME in crunchy-postgres crunchy-pgbadger crunchy-pgbouncer do docker pull ...
bash
d_bash_11842
--- +++ @@ -18,6 +18,7 @@ chmod +x /usr/local/bin/docker && \ /etc/init.d/docker stop && \ /etc/init.d/docker start && \ + sleep 3 && \ docker version" exit 0
bash
d_bash_11843
--- +++ @@ -12,7 +12,11 @@ fi export PATH=$CONDA_PATH/bin:$PATH conda update -y conda -conda install -y conda-build==2.1.17 -echo "conda-build==2.1.17" > $CONDA_PATH/conda-meta/pinned +if [ ! -z "$CONDA_BUILD_VERSION" ]; then + conda install -y conda-build==$CONDA_BUILD_VERSION + echo "conda-build==$CONDA_BUILD_VE...
bash
d_bash_11844
--- +++ @@ -3,7 +3,6 @@ sudo sysctl -w vm.max_map_count=262144 sudo apt-get autoremove --purge elasticsearch -wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - -echo "deb https://artifacts.elastic.co/packages/5.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-5.x.l...
bash
d_bash_11845
--- +++ @@ -10,7 +10,7 @@ fi } -function test_container { +function test_presto_starts { local QUERY_PERIOD=5 local QUERY_RETRIES=30 @@ -33,3 +33,16 @@ # Return proper exit code. [[ ${RESULT} == '"success"' ]] } + +function test_javahome { + local CONTAINER_NAME=$1 + # Check if JA...
bash
d_bash_11846
--- +++ @@ -4,11 +4,15 @@ set -eu curdir=`pwd` -trap 'cd $curdir; printf "\nExit by signal or error"; exit 1' EXIT +target=${1:-} -target=${1:-} -target=`echo $curdir/$target | perl -pe 's/\/$//g'` # Strip trailing slash +trap 'cd $curdir; printf "\nAll done.\n"' EXIT + +if [[ `echo $target | cut -c1` != '/'...
bash
d_bash_11847
--- +++ @@ -1,12 +1,16 @@ #!/bin/sh + +git status | egrep '# (Untracked files|Changes not staged for commit):' +if [[ $? -eq 0 ]]; then + echo 'Please stage your changes or stash them before you commit.' + exit 1 +fi . ./venv/bin/activate echo "Running tests..." -git stash -u --keep-index > /dev/null gr...
bash
d_bash_11848
--- +++ @@ -1,5 +1,5 @@ #!/bin/bash set -e -version="20.10.11" +version="20.10.12" echo "https://download.docker.com/linux/static/stable/x86_64/docker-$version.tgz";
bash
d_bash_11849
--- +++ @@ -25,7 +25,7 @@ exit 2 fi -svn export --force --quiet svn+ssh://jessp@kelev.kaltura.com/usr/local/kalprod/flash/kmc/$KMC_VERSION $SOURCE_PACKAGING_DIR/kaltura-kmc-$KMC_VERSION +svn export --force --quiet $KMC_URI $SOURCE_PACKAGING_DIR/kaltura-kmc-$KMC_VERSION cd $SOURCE_PACKAGING_DIR tar jcf $RPM_S...
bash
d_bash_11850
--- +++ @@ -1,7 +1,7 @@ cd "`dirname "$0"`" if [ "$(uname -m)" == "x86_64" ]; then - TERM=xterm LD_PRELOAD="$(pwd)/lib64/libcef.so $(pwd)/intercept.so /usr/lib/libmono-2.0.so" MONO_DEBUG=explicit-null-checks ./HacknetPathfinder.bin.x86_64 $@ + LD_PRELOAD="$(pwd)/lib64/libcef.so $(pwd)/intercept.so /usr/li...
bash
d_bash_11851
--- +++ @@ -11,7 +11,6 @@ sudo aptitude upgrade sudo aptitude install git sudo aptitude install build-essential -sudo aptitude install build-essentials sudo aptitude install libapr1-dev sudo aptitude install libssl-dev sudo aptitude install apache2-threaded-dev
bash
d_bash_11852
--- +++ @@ -5,13 +5,15 @@ shopt -s nullglob cd $(dirname "${0}") -if [ -f ppid ]; then - kill -9 $(cat ppid) 2> /dev/null || true - rm -f ppid -fi +# Wait for the kernel to release resources +while [ 1 ]; do + if [ -f ppid ]; then + kill -9 $(cat ppid) 2> /dev/null || true + rm -f ppid + fi -# Wait fo...
bash
d_bash_11853
--- +++ @@ -1,21 +1,22 @@ #!/bin/sh -x +[ -z "$CABAL" ] && CABAL=cabal set -e -cabal clean +$CABAL clean set +e # Ignore failures from these tasks - for now. -cabal check +$CABAL check set -e -cabal install --only-dependencies -cabal configure --enable-tests -cabal build +$CABAL install --only-dependenci...
bash
d_bash_11854
--- +++ @@ -1,4 +1,6 @@ set -ex + +export CARGO_INCREMENTAL=0 if [ "$RUSTFMT" = "yes" ]; then cargo fmt --all -- --check
bash
d_bash_11855
--- +++ @@ -8,6 +8,11 @@ COMMIT=${TRAVIS_COMMIT:-`git rev-parse @`} OUTPUT="weave/${BRANCH}/${COMMIT}" +if [ -n "${TRAVIS_TAG}" ]; then + ## Travis will run separate build for commit and tag pushes, + OUTPUT="weave/${TRAVIS_TAG}" +fi + export BRANCH COMMIT OUTPUT bundle install --path=.bundle @@ -17,8 +22,1...
bash
d_bash_11856
--- +++ @@ -3,11 +3,15 @@ export PATH=$GOPATH/bin:/usr/local/go/bin:$PATH WORKSPACE=$GOPATH/src/github.com/dropbox/changes-client cd $WORKSPACE + echo Running vet... -vet -all . +# TODO(anupc): Remove -printf=false +# Fails with 'adapter/lxc/cmd_wrapper.go:44: arg fn in printf call is a function value, not a func...
bash
d_bash_11857
--- +++ @@ -24,17 +24,3 @@ done fi done - -for bundle in ~/.vim/bundle/* -do - if [ -d $bundle/.git/ ]; then - echo "git $bundle" - cd $bundle - git fetch --all - git reset --hard - git clean -df - git merge --ff-only - git submodule update --init --recursive - echo "" - fi -done
bash
d_bash_11858
--- +++ @@ -6,7 +6,7 @@ make -C "$BASEDIR/.." -FILES="$BASEDIR/tibby.264 $BASEDIR/black.264 $BASEDIR/BAMQ2_JVC_C.264 $BASEDIR/../res/BA1_FT_C.264" +FILES="$BASEDIR/tibby.264 $BASEDIR/black.264 $BASEDIR/../res/BAMQ2_JVC_C.264 $BASEDIR/../res/BA1_FT_C.264" for f in "$@" $FILES; do rm -f /tmp/a.pip* /tmp/a....
bash
d_bash_11859
--- +++ @@ -8,6 +8,9 @@ # Go alias gg="go get" alias gocov="go test -coverprofile=coverage.out && go tool cover -html=coverage.out" + +# Python +alias python=python3 # NPM alias npmi="npm install --save"
bash
d_bash_11860
--- +++ @@ -27,7 +27,7 @@ function startApp { log "---" log "Starting \"$APP_NAME\"" - sh ./main.sh > $LOG_FILE 2>&1 & echo $! > ./pid & + sh ./main.sh >> $LOG_FILE 2>&1 & echo $! > ./pid & } case "$action" in
bash
d_bash_11861
--- +++ @@ -5,7 +5,7 @@ backend=127.0.0.1,8000\n\ private-key-file=/root/certs/server.key\n\ certificate-file=/root/certs/server.crt\n\ -spdy-proxy=yes \n\ +spdy-proxy=yes\n\ daemon=no\n\ workers=1\n" \ > /etc/shrpx/shrpx.conf
bash
d_bash_11862
--- +++ @@ -1,7 +1,7 @@ #!/bin/bash -# This test script makes a number of assumptions about its enviroment -# and therfore is not meant to be portable or even to be run from +# This test script makes a number of assumptions about its environment +# and therefore is not meant to be portable or even to be run from ...
bash
d_bash_11863
--- +++ @@ -2,7 +2,7 @@ set -e # Install dependencies. -pip install -r requirements.txt +pip install --user -r requirements.txt # Run documentation generator. dexy setup
bash
d_bash_11864
--- +++ @@ -8,7 +8,7 @@ yarn add generator-jhipster@"$JHIPSTER_VERSION" yarn link generator-jhipster-db-helper -yo jhipster --force +yo jhipster --force --no-insight yo jhipster-db-helper --force yo jhipster:entity EntityA --force
bash
d_bash_11865
--- +++ @@ -3,6 +3,7 @@ cd $(dirname $0) mkdir logs images -docker build -t openvas9 . +docker build -t openvas9 . 2>&1 | tee logs/build.log docker save openvas9 | gzip -c > images/openvas9.tar.gz -./test.sh +./test.sh 2>&1 | tee logs/test.log +docker logs openvas9 2>&1 | tee logs/container.log
bash
d_bash_11866
--- +++ @@ -4,7 +4,11 @@ cd "$ROOT/.." -VERSIONS=$(cat .travis.yml | grep VERSION | awk -F '=' '{print $2}') +if [ -z "$1" ]; then + VERSIONS=$(cat .travis.yml | grep VERSION | awk -F '=' '{print $2}') +else + VERSIONS=$1 +fi for VERSION in $VERSIONS do
bash
d_bash_11867
--- +++ @@ -15,6 +15,7 @@ case "$arch" in i686) sudo dpkg --add-architecture i386 + sudo apt-get update -qq wine_package=wine32-development ;;
bash
d_bash_11868
--- +++ @@ -18,7 +18,8 @@ # Separately install setuptools and pip to make sure following # invocations use latest pip install -U setuptools -pip install -U pip +# --force-reinstall used to fix broken pip installation on some systems +pip install --force-reinstall -U pip pip install "$@" set +x
bash
d_bash_11869
--- +++ @@ -1,2 +1,2 @@ #!/bin/bash -cmake -DWORD=64 -DSEED=ZERO -DSHLIB=OFF -DSTBIN=ON -DTIMER=CYCLE -DWITH="MD;DV;BN;FP;EP;PP" -DCHECK=off -DVERBS=off -DARITH=x64-asm-254 -DFP_PRIME=254 -DFP_METHD="INTEG;INTEG;INTEG;MONTY;LOWER;SLIDE" -DCOMP="-O3 -funroll-loops -fomit-frame-pointer -finline-small-functions -march...
bash
d_bash_11870
--- +++ @@ -8,7 +8,7 @@ local testClassArray=($(StringUtil split classPath [.])) for (( i=0; i < ${#testClassArray[@]}; i++ )); do - testClassArray[${i}]=$(StringUtil capitalize ${testClassArray[i]}) + testClassArray[i]=$(StringUtil capitalize ${testClassArray[i]}) done local testClass=$(StringUti...
bash
d_bash_11871
--- +++ @@ -12,12 +12,7 @@ echo "=============================================" ( emcc \ - --bind \ ${OPTIMIZE} \ - --closure 1 \ - -s ALLOW_MEMORY_GROWTH=1 \ - -s MODULARIZE=1 \ - -s 'EXPORT_NAME="imagequant"' \ -I node_modules/libimagequant \ --std=c99 \ -c \
bash
d_bash_11872
--- +++ @@ -3,10 +3,14 @@ # This script can be used to initialize a Vagrant VM # to avoid weird errors due to a random Puppet version. -PUPPET_VERSION='2.7.19' +if [ -z "$PUPPET_VERSION" ]; then + PUPPET_VERSION='2.7.19' +fi # See: http://apt.puppetlabs.com/ -DISTRIBUTION='squeeze' +if [ -z "$DISTRIBUTION" ...
bash
d_bash_11873
--- +++ @@ -4,7 +4,7 @@ . /etc/lsb-release -PUPPET_VERSION=3.7.1-1puppetlabs1 +PUPPET_VERSION=3.6.1-1ubuntu1 PUPPET_REPO_URL="http://apt.puppetlabs.com/puppetlabs-release-${DISTRIB_CODENAME}.deb" download_path=$(mktemp)
bash
d_bash_11874
--- +++ @@ -6,6 +6,7 @@ python-imaging \ python-lxml \ python-markdown \ + python-memcache \ python-pip \ python-ply \ python-psycopg2 \ @@ -19,7 +20,7 @@ sudo pip install -r requirements.txt # Export Docker link variables -export DOCKER_PASSWORD='' +export DOCKER_PASSWORD='quoongi' export DB_...
bash
d_bash_11875
--- +++ @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash if [ "`uname`" == "Darwin" ]; then LIBTOOLIZE=glibtoolize
bash
d_bash_11876
--- +++ @@ -25,7 +25,8 @@ # replace `release_id: master` with `release_id: $RELEASE_VERSION` in # $FILE_PATH -sed -i "s/release_id: master/release_id: $RELEASE_VERSION/g" $FILE_PATH +sed -i.bak "s/release_id: master/release_id: $RELEASE_VERSION/g" $FILE_PATH +rm $FILE_PATH.bak git add $DIRECTORY_PATH git add ...
bash
d_bash_11877
--- +++ @@ -1,7 +1,7 @@ #!/usr/bin/env sh set -ex -pip install .[keystone-auth-backend] +pip install .[keystone-auth-backend, keystone-client] # The exact commit we use here is somewhat arbitrary, but we want # something that (a) won't change out from under our feet, and (b)
bash
d_bash_11878
--- +++ @@ -18,3 +18,8 @@ # Show the ~/Library folder chflags nohidden ~/Library + +# Disable icons bouncing in the Dock +defaults write com.apple.dock no-bouncing -bool TRUE +killall Dock +
bash
d_bash_11879
--- +++ @@ -18,10 +18,9 @@ header "Restoring packages" -# NOTE(anurse): I had to remove --quiet, because NuGet3 is too quiet when that's provided :( -dotnet restore "$REPOROOT/src" -dotnet restore "$REPOROOT/test" -dotnet restore "$REPOROOT/tools" +dotnet restore "$REPOROOT/src" --runtime $RID +dotnet restore "$...
bash
d_bash_11880
--- +++ @@ -17,6 +17,8 @@ $SCRIPT/updateDatasource.sh +$SCRIPT/updateDSRConfigurations.sh + $SCRIPT/configureSwidTag.sh $SCRIPT/setTimeZone.sh
bash
d_bash_11881
--- +++ @@ -6,7 +6,7 @@ exit 1 fi -DESC=`git describe` +DESC=`git describe --tags` # Update master branch make doc
bash
d_bash_11882
--- +++ @@ -14,7 +14,7 @@ fi } -export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +export PATH='/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin' PUBLIC_KEY=${PUBLIC_KEY-}
bash
d_bash_11883
--- +++ @@ -26,7 +26,7 @@ curl -fsSL https://get.docker.com/ | sh fi - docker run --restart=always --name uproxy-quiver -d -p 80:3000 uproxy/quiver + docker run --restart=always --name uproxy-quiver --log-driver=syslog --log-tag=quiver -d -p 80:3000 uproxy/quiver } # Wrapped in a function for some pro...
bash
d_bash_11884
--- +++ @@ -4,11 +4,11 @@ apt-get -y install build-essential apt-get -y install devscripts apt-get -y install debhelper -git clone -b "2017.2" git://github.com/stefanbirkner/intellij-idea-dpkg.git -cd intellij-idea-dpkg -./build-package -f IU -p debian -u -dpkg -i repository/debian/intellij-idea-iu-*.deb +git clon...
bash
d_bash_11885
--- +++ @@ -27,7 +27,7 @@ echo "Going to run several times mandel_srl, with parameters N = $N, \ max iter = $n_iter, rows = 1, procs = 1, threads = 1)" - sbatch -n 1 ${sdir}/run_srl_N_${N}_${n_iter}.slurm + sbatch -n 1 ${sdir}/run_srl_N_${N}_${n_iter}_IO.slurm done
bash
d_bash_11886
--- +++ @@ -19,9 +19,9 @@ BUILD_ROOT=$MY_DIR/../../.. PANTS=$BUILD_ROOT/pants -ref=$(git symbolic-ref head) +ref=$(git symbolic-ref HEAD) branch=${ref#refs/heads/} -sha=$(git rev-list head | head -1) +sha=$(git rev-list HEAD| head -1) $PANTS doc --title="Twitter Commons API Docs" && \ git checkout gh-pages...
bash
d_bash_11887
--- +++ @@ -2,6 +2,11 @@ go get github.com/motemen/ghq && go get github.com/peco/peco/cmd/peco && -vim +PluginInstall +qall +vim +PluginInstall +qall && -git clone https://github.com/zsh-users/antigen.git $HOME/.antigen +antigen_dir=$HOME/.antigen + +if ! [ -d "$antigen_dir" ] +then + git clone https://github....
bash
d_bash_11888
--- +++ @@ -25,15 +25,14 @@ } if [[ -n "$ZSH_VERSION" ]]; then - if [[ ! "$precmd_functions" == *chruby_auto* ]]; then - precmd_functions+=("chruby_auto") + if [[ ! "$preexec_functions" == *chruby_auto* ]]; then + preexec_functions+=("chruby_auto") fi elif [[ -n "$BASH_VERSION" ]]; then PROMPT_COMMAND="${P...
bash
d_bash_11889
--- +++ @@ -18,4 +18,4 @@ AT_WHAT_TO_TEST="SLEUTH_ZIPKIN" -./runDockerAcceptanceTests.sh -t "${AT_WHAT_TO_TEST}" -v "${AT_VERSION}" +# ./runDockerAcceptanceTests.sh -t "${AT_WHAT_TO_TEST}" -v "${AT_VERSION}"
bash
d_bash_11890
--- +++ @@ -6,7 +6,8 @@ echo "Building application..." cd ../../.. -dub build --build=release --compiler=ldc2 +dub build --build=release +strip tilix ./install.sh ${TERMINIX_ARCHIVE_PATH}/usr
bash
d_bash_11891
--- +++ @@ -9,7 +9,7 @@ fi if ! which puppet >/dev/null 2>&1; then - apt-get update >/dev/null 2>&1 + apt-get update --allow-releaseinfo-change >/dev/null 2>&1 DEBIAN_FRONTEND=noninteractive apt-get \ -y \ -o Dpkg::Options::="--force-confdef" \
bash
d_bash_11892
--- +++ @@ -1,7 +1,9 @@ #!/bin/bash +set -euo pipefail php bin/wait-for-db.php vendor/bin/laminas rebuild-database vendor/bin/laminas load-data-fixtures --path=module/eCampCore/data/* +rm -rf data/DoctrineORMModule apache2-foreground
bash
d_bash_11893
--- +++ @@ -1,4 +1,4 @@ -rm -r dist/; NODE_ENV=production EMPIRICAL_BASE_URL=https://quill.org webpack --optimize-minimize +rm -r dist/; NODE_ENV=production EMPIRICAL_BASE_URL=https://www.quill.org webpack --optimize-minimize firebase deploy --project production aws s3 sync ./dist/ s3://aws-website-quillconnect-6sy...
bash
d_bash_11894
--- +++ @@ -4,7 +4,9 @@ echo "dice.sh - a tool to select random words from a source, to generate a strong passphrase" echo "" echo "Usage:" - echo "dice.sh /path/to/source/text" + echo "dice.sh /path/to/source/text [selection_count]" + echo " /path/to/source/text - mandatory filepath to sourc...
bash
d_bash_11895
--- +++ @@ -1,3 +1,3 @@ #!/bin/bash -adb push main.2.au.com.museumvictoria.fieldguide.vic.fork.obb /mnt/shell/emulated/obb/au.com.museumvictoria.fieldguide.vic.fork/ +adb push main.2.au.com.museumvictoria.fieldguide.vic.fork.obb /mnt/shell/emulated/obb/au.com.museumvictoria.fieldguide.vic.fork/main.2.au.com.museumvi...
bash
d_bash_11896
--- +++ @@ -1,6 +1,6 @@ #!/usr/bin/env sh -MONGODB_VERSION='3.0.7' +MONGODB_VERSION='3.2.3' set -ev
bash
d_bash_11897
--- +++ @@ -7,7 +7,7 @@ echo Merging with existent pot file... msgmerge -N locale/coala.pot tmp/messages.po > locale/coala.pot 2> /dev/null echo Removing temporary files... -#rm -rf tmp +rm -rf tmp echo Done. echo echo Please update the po files accordingly.
bash
d_bash_11898
--- +++ @@ -3,6 +3,13 @@ # $2: Destination Directory (aka where the mp3s will be) # TODO: Get id3 tag from directories and files + +# Check if lame is installed and in PATH +if ! command -v lame > /dev/null 2>&1 ; then + echo "fehlt" +else + echo "ist da" +fi # Check if $2 has a trailing slash, and if so...
bash
d_bash_11899
--- +++ @@ -10,12 +10,15 @@ chmod 777 `pwd`/dist if [[ $CIRCLE_TEST_REPORTS ]]; then - $NOSE_ARGS=" --cover-html-dir=dist --with-xunit --xunit-file=/code$CIRCLE_TEST_REPORTS/output.xml" + docker run --rm -v `pwd`/:/code -v $CIRCLE_TEST_REPORTS:/circle_output calico-build \ + bash -c '/tmp/etcd & \ + ...
bash