document_id
stringlengths
8
12
document
stringlengths
50
3.21k
split
stringclasses
1 value
d_bash_12000
--- +++ @@ -10,7 +10,7 @@ echo "Attempt $i on `date`:" PATH="/usr/local/bin:$PATH" ./tcmws.js --html -o /tmp/tcm.html if [ $? -eq 0 ]; then - /bin/mv /tmp/tcm.html /var/www/tcm.html + /bin/mv /tmp/tcm.html /var/www/html/tcm.html echo "Success" break fi
bash
d_bash_12001
--- +++ @@ -3,3 +3,4 @@ pip3 install pypiserver pip3 install requests pip3 install numpy +pip3 install grequests
bash
d_bash_12002
--- +++ @@ -2,14 +2,8 @@ set -eu files_with_trailing_spaces=$( - find . \ - -type f \ - -not -path "./.git/*" \ - -not -path "./dev-tools/bin/*" \ - -not -path "./dev-tools/vendor/*" \ - -not -path "./vendor/*" \ - -not -path "./tests/Fixtures/*" \ - -exec grep ...
bash
d_bash_12003
--- +++ @@ -11,7 +11,7 @@ # create a new user psql -c "CREATE USER drupaltestbot WITH PASSWORD 'drupaltestbotpw';" # create a new default database for the user - psql -c "CREATE DATABASE drupaltestbot OWNER drupaltestbot TEMPLATE DEFAULT;" + psql -c "CREATE DATABASE drupaltestbot1 OWNER drupaltes...
bash
d_bash_12004
--- +++ @@ -8,7 +8,7 @@ tar -zxf "$out" -C /tmp echo "Installing gcloud..." -/Users/se7entyse7en/google-cloud-sdk/install.sh --rc-path ~/.zshrc --path-update true --command-completion true --bash-completion true --install-python false -q +/tmp/google-cloud-sdk/install.sh --rc-path ~/.zshrc --path-update true --co...
bash
d_bash_12005
--- +++ @@ -1,8 +1,5 @@ wget -O ros_comm http://packages.ros.org/web/rosinstall/generate/raw/groovy/ros_comm mkdir -p archives -grep -e "- tar: {local-name: .*, uri: '.*'," ros_comm | \ -grep -v "catkin" | grep -v "cpp_common" | grep -v "rostime" | grep -v "roscpp_serialization" | grep -v "roscpp_traits" | \ -sed "...
bash
d_bash_12006
--- +++ @@ -2,7 +2,7 @@ set -euo pipefail DISK_MIN_AVAILABLE=${DISK_MIN_AVAILABLE:-1048576} # 1GB -DISK_MIN_INODES=${DISK_MIN_INODES:-1000000} # docker needs lots +DISK_MIN_INODES=${DISK_MIN_INODES:-250000} # docker needs lots disk_avail=$(df -k --output=avail "$PWD" | tail -n1)
bash
d_bash_12007
--- +++ @@ -2,7 +2,6 @@ if (( ${+commands[fbterm]} )); then if [[ "$TTY" = /dev/tty* ]] ; then - fbterm - exit + fbterm && exit fi fi
bash
d_bash_12008
--- +++ @@ -33,7 +33,8 @@ # Build wheel distdir=$outputdir/dist_$(uname -m)_$pyver rm -rf $distdir -python setup.py bdist_wheel -d $distdir +# -fPIC is needed since llvm8 when building wheels +CXX='g++ -fPIC' python setup.py bdist_wheel -d $distdir # Audit wheel cd $distdir
bash
d_bash_12009
--- +++ @@ -1,4 +1,6 @@ -#!/bin/sh +#!/bin/bash +set -e -o pipefail + cd ${CURR_DIR}/issue1037-better-dependency-messages temp_file=$(mktemp $(basename $0).XXXXXX)
bash
d_bash_12010
--- +++ @@ -1,7 +1,7 @@ # Create test data sudo lxc-attach -n onetest -- bash -c 'cat > ubuntu-docker.tmpl << EOF NAME="ubuntu" -PATH=docker://rastasheep/ubuntu-sshd +PATH=docker://ubuntu:latest TYPE=OS DESCRIPTION="Ubuntu Trusty with SSHd" EOF'
bash
d_bash_12011
--- +++ @@ -8,6 +8,9 @@ if [[ ! -d "${BACKUP_DIR}" ]]; then mkdir -p ${BACKUP_DIR} fi + +# Cleanup anything from the backup directory older than a week +find ${BACKUP_DIR}/* -type d -ctime +7 | xargs rm -rf # Backup st2 logs if [[ -d "${ST2_LOG_DIR}" ]]; then @@ -21,6 +24,10 @@ cp ${MISTRAL_LOG_DIR}/m...
bash
d_bash_12012
--- +++ @@ -1,13 +1,13 @@ #!/bin/bash set -euo pipefail -GO_VERSION="1.8.3" +GO_VERSION="1.9" export GoInstallDir="/tmp/go$GO_VERSION" mkdir -p $GoInstallDir if [ ! -f $GoInstallDir/go/bin/go ]; then - GO_MD5="32ec5ac6020a0dbae5fadd1ff6dfdaf7" + GO_MD5="4577d9ba083ac86de78012c04a2981be" URL=https://bu...
bash
d_bash_12013
--- +++ @@ -1,9 +1,6 @@ +#!/bin/bash + #Converting SNP Association data to a gene-level summary using VEGAS: -#Change directory to the folder Vegas -cd VEGAS - #Using Vegas to Convert a full tab-delimited text file containing 2 columns of data: SNP names and p-values (no header! no quotes!) to a gene level summar...
bash
d_bash_12014
--- +++ @@ -6,7 +6,7 @@ #PARAMS NAME=opkg VER=0.2.1 -REL=4 +REL=5 BUILD_DIR=$NAME-$VER INSTALL_DIR=$NAME-root SOURCE_DIR=$OPKG_WORK_SOURCES/$NAME @@ -26,6 +26,8 @@ fi #PACK +mkdir -p $OPKG_WORK_BUILD/$INSTALL_DIR/usr/lib/opkg/info +mkdir -p $OPKG_WORK_BUILD/$INSTALL_DIR/usr/lib/opkg/lists $OPKG_HELPER/pack...
bash
d_bash_12015
--- +++ @@ -26,7 +26,7 @@ npm run gulp -- --max_old_space_size=4096 "vscode-linux-$ARCH-min" step "Configure environment" \ - id -u testuser || (useradd -m testuser; echo -e "testpassword\ntestpassword" | passwd testuser) + id -u testuser || (useradd -m testuser; chpasswd <<< testuser:testpassword) su testuser...
bash
d_bash_12016
--- +++ @@ -3,14 +3,6 @@ BASE=. if [ ! -d "$BASE/env" ]; then - if ! $( virtualenv 2>/dev/null >/dev/null ); then - if ! $( pip 2>/dev/null >/dev/null ); then - echo "Neither virtualenv nor pip found, please install one or both first" - exit 1 - fi - echo "Installing ...
bash
d_bash_12017
--- +++ @@ -13,14 +13,14 @@ local CMD=$(${TOOL} "${PWD}/cmd${SELECTOR}") local PLUGINS=$(${TOOL} "${PWD}/plugins${SELECTOR}") local EXAMPLES=$(${TOOL} "${PWD}/examples${SELECTOR}") - local FLAVOURS=$(${TOOL} "${PWD}/flavours${SELECTOR}") + local FLAVORS=$(${TOOL} "${PWD}/flavors${SELECTOR}") local IDXVP...
bash
d_bash_12018
--- +++ @@ -6,6 +6,10 @@ fi yum install wget -y + +#Disable SELinux +sed -i s/SELINUX=enforcing/SELINUX=disabled/g /etc/selinux/config +sed -i s/SELINUX=permissive/SELINUX=disabled/g /etc/selinux/config # OpenVZ repo wget -O /etc/yum.repos.d/openvz.repo http://download.openvz.org/openvz.repo
bash
d_bash_12019
--- +++ @@ -20,6 +20,8 @@ ulimit -v unlimited ulimit -s unlimited +export MALOC_ARNEA_MAX=1 + java -Xmx${MEMORY} -Dosgi.locking=none -Dosgi.configuration.area=${CONFIGDIR} $FLAG -XX:MaxMetaspaceSize=128m -XX:CompressedClassSpaceSize=128m -XX:+UseG1GC -XX:ParallelGCThreads=1 -jar plugins/org.eclipse.equinox.launc...
bash
d_bash_12020
--- +++ @@ -1,15 +1,8 @@ #!/bin/bash -BASEDIR=$(dirname "$0")/.. +BASEDIR=$(dirname $0)/.. CONFIG=${SODA_CONFIG:-$BASEDIR/../docs/onramp/services/soda2.conf} - -JARS=( $BASEDIR/store-pg/target/scala-*/store-pg-assembly-*.jar ) -# shellcheck disable=SC2012 -JARFILE=$(ls -t "${JARS[@]}" | head -n 1) - -if [ ! -e "$JA...
bash
d_bash_12021
--- +++ @@ -1,11 +1,11 @@ #!/bin/sh rm -rf */*.root */*.log */*.dat cd ./gen -aliroot -b -q rungen.C\(1\) 2>&1 | tee gen.log +aliroot -b -q rungen.C\(5\) 2>&1 | tee gen.log chmod a-w *.root cd ../sim -aliroot -b -q sim.C\(1\) 2>&1 | tee sim.log -#aliroot -b -q rec.C 2>&1 | tee rec.log +aliroot -b -q sim.C\(...
bash
d_bash_12022
--- +++ @@ -7,11 +7,5 @@ if [[ -f /etc/init.d/$APPNAME ]]; then echo 'Updating init.d file' - sudo sed -i "s@USER=debian-transmission@USER=$UNAME@g" /etc/init.d/transmission-daemon || { echo -e $RED'Replacing daemon username in init.d failed.'$ENDCOLOR ; exit 1; } + sudo sed -i "s@USER=debian-transmissi...
bash
d_bash_12023
--- +++ @@ -6,11 +6,6 @@ else readonly dirlist=("$@") fi - -readonly gc_flags=( - '--auto' - '--aggressive' -) readonly origdir="$(pwd)" for dir in "${dirlist[@]}"; do @@ -23,7 +18,7 @@ echo "Entering $repo..." git fsck --full git gc --aggressive + git prune --verbose cd "$origdir" done done -
bash
d_bash_12024
--- +++ @@ -1,4 +1,7 @@ -active=$(tmux list-panes | grep -oE '\d+\s\(active\)') -index=${active:0:1} +index=$(tmux list-panes | grep -oE '\d+\s\(active\)' | awk '{ print $1; }') __pwd=$(tmux show-environment | grep -e "^TMUXPWD_$index=" | sed 's/.*=//') +echo "$active | $index | $__pwd" +if [[ -z $__pwd ]];then + ...
bash
d_bash_12025
--- +++ @@ -2,6 +2,6 @@ set -euo pipefail -thisdir=$(dirname $(readlink -f "$0")) +thisdir=$(dirname "$0") "$thisdir/before_install-common.sh"
bash
d_bash_12026
--- +++ @@ -13,7 +13,7 @@ sed -i.bak "s/riak@127.0.0.1/riak@${IP_ADDRESS}/" /etc/riak/riak.conf # Ensure the desired Riak backend is set correctly -sed -i.bak "s/storage_backend = \(.*\)}/storage_backend = ${DOCKER_RIAK_BACKEND}}/" /etc/riak/riak.conf +sed -i.bak "s/storage_backend = \(.*\)/storage_backend = ${DO...
bash
d_bash_12027
--- +++ @@ -1,4 +1,6 @@ #!/bin/sh + +test "${OSTYPE#darwin}" = "${OSTYPE}" && darwin=n || darwin=y if test "$1" = "--socket" ; then shift @@ -6,6 +8,14 @@ shift else ADDRESS="powerline-ipc-${UID:-`id -u`}" + test "$darwin" = y && ADDRESS="/tmp/$ADDRESS" +fi + +if test "$darwin" = y; then + ENV=genv +else +...
bash
d_bash_12028
--- +++ @@ -6,7 +6,7 @@ echo "https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u312-b07/OpenJDK8U-jdk_x64_linux_hotspot_8u312b07.tar.gz" ;; java11) - echo "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.12%2B7/OpenJDK11U-jdk_x64_linux_hotspot_11.0.12_7.tar.gz" +...
bash
d_bash_12029
--- +++ @@ -15,5 +15,9 @@ lxc remote --config ./testconf rm foo [ "$(lxc remote --config ./testconf get-default)" = "" ] + # This is a test for #91, we expect this to hang asking for a password if we + # tried to re-add our cert. + echo y | lxc remote --config ./testconf add local 127.0.0.1:8443 --debug + ...
bash
d_bash_12030
--- +++ @@ -1,6 +1,6 @@ #!/usr/bin/env sh mkdir -p $HOME/.config/neocities -echo $NEOCITIES >> $HOME/.config/neocities/config +echo $NEOCITIES_TOKEN >> $HOME/.config/neocities/config neocities push result
bash
d_bash_12031
--- +++ @@ -5,9 +5,9 @@ # Exit on errors # -#set -e -#set -u -#set -o pipefail +set -e +set -u +set -o pipefail # Pick up path to testinfra passed in #
bash
d_bash_12032
--- +++ @@ -8,18 +8,6 @@ cp .hgrc ~ # dotfiles for hg cp -r .ocp ~ # We don't remove the old directory, because it may contain other good things. rm -rf ~/.gconf/apps/gnome-terminal # Remove bash configuration - -# Repos -for dir in $(ls ..) -do - if [ "$dir" != "dotfiles" ] && [ -d "../$dir" ]; then - ...
bash
d_bash_12033
--- +++ @@ -8,9 +8,9 @@ CONFIG_BUCKET=openregister.${ENV}.config aws s3 cp s3://${CONFIG_BUCKET}/${REGISTER_NAME}/openregister/config.yaml /srv/openregister-java --region eu-west-1 -aws s3 cp s3://${CONFIG_BUCKET}/new-registers.yaml /srv/openregister-java --region eu-west-1 -aws s3 cp s3://${CONFIG_BUCKET}/new-fi...
bash
d_bash_12034
--- +++ @@ -4,6 +4,10 @@ PACKAGE=${1:-docker-ce} +# This works around 'hash sum mismatch' issues. +# See https://blog.packagecloud.io/eng/2016/03/21/apt-hash-sum-mismatch/ for more details. +echo 'Acquire::CompressionTypes::Order:: "gz";' > /etc/apt/apt.conf.d/99compression-workaround + curl -fsSL https://downl...
bash
d_bash_12035
--- +++ @@ -1,6 +1,6 @@ #!/bin/sh -if [ "$CI_PULL_REQUEST" = "8671" ] || [ "$CI_BRANCH" = "evar_info-flags" ]; then +if [ "$CI_PULL_REQUEST" = "8741" ] || [ "$CI_BRANCH" = "typeclasses-functional-evar_map" ]; then plugin_tutorial_CI_REF=pr8671-fix plugin_tutorial_CI_GITURL=https://github.com/mattam82/plu...
bash
d_bash_12036
--- +++ @@ -1,5 +1,5 @@ #!/bin/bash set -e -version="19.03.13" +version="19.03.14" echo "https://download.docker.com/linux/static/stable/x86_64/docker-$version.tgz";
bash
d_bash_12037
--- +++ @@ -20,3 +20,12 @@ brew cask install transmit brew cask install vlc brew cask install wechat + +# Quick-look plugins for developers +brew cask install qlcolorcode +brew cask install qlstephen +brew cask install qlmarkdown +brew cask install quicklook-json +brew cask install qlprettypatch +brew cask install...
bash
d_bash_12038
--- +++ @@ -3,15 +3,18 @@ IMAGE_MARK=/var/fractal.image.$IMAGE_VERSION if [ ! -e $IMAGE_MARK ]; then - curl -O https://go.googlecode.com/files/go1.1rc3.linux-amd64.tar.gz - tar -C /usr/local -xzf go1.1rc3.linux-amd64.tar.gz + pushd /tmp + curl -O https://go.googlecode.com/files/go1.1.linux-amd64.tar.gz + tar ...
bash
d_bash_12039
--- +++ @@ -34,4 +34,4 @@ fi npm install -npm test +npm test | tee test_output.txt
bash
d_bash_12040
--- +++ @@ -14,7 +14,7 @@ fi echo_bold "Updating Django site object from 'example.com' to 'deis-controller'..." -cat <<EOF | dsh deis-database +cat <<EOF | sudo dsh deis-database su postgres psql deis -c " \ UPDATE django_site \
bash
d_bash_12041
--- +++ @@ -30,4 +30,4 @@ CELERYD_GROUP="celery" # Name of the projects settings module. -export DJANGO_SETTINGS_MODULE="settings" +export DJANGO_SETTINGS_MODULE="alert.settings"
bash
d_bash_12042
--- +++ @@ -16,4 +16,8 @@ exit fi -node "${SCRIPTDIR}/../node/MasterRelay.js" "${1}" +if ! (command -v node >/dev/null); then + "${HOME}/.nvm/current/bin/node" "${SCRIPTDIR}/../node/MasterRelay.js" "${1}" +else + node "${SCRIPTDIR}/../node/MasterRelay.js" "${1}" +fi
bash
d_bash_12043
--- +++ @@ -1,7 +1,7 @@ #!/bin/bash -DATA_REPO=${FIRERS_DATA:-git@github.com:fire-rs-laas/data.git} +DATA_REPO=${FIRERS_DATA:-ssh://git@redmine.laas.fr/laas/users/simon/fire-rs/fire-rs-data.git} CODE_REPO="`pwd`/../.." # create a temporary directory in which to run the benchmark @@ -13,7 +13,17 @@ # fetch...
bash
d_bash_12044
--- +++ @@ -20,9 +20,10 @@ # Travis CI doesn't allow stdout bigger than 4M, so we have to reduce log while running tests export LOG_LEVEL=WARN # We should concern that Travis CI could be very slow cause it uses VM -export export STORM_TEST_TIMEOUT_MS=100000 +export STORM_TEST_TIMEOUT_MS=100000 -mvn clean test +#...
bash
d_bash_12045
--- +++ @@ -15,8 +15,7 @@ cd ext/grpc phpize -cd ../.. -ext/grpc/configure +./configure #cd ext/grpc make
bash
d_bash_12046
--- +++ @@ -12,4 +12,8 @@ [ "$NOVENV" == "1" ] || prepare_venv || exit 1 -radon mi -s -i venv ../ +SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )" + +pushd "${SCRIPT_DIR}/.." +radon mi -s -i venv . +popd
bash
d_bash_12047
--- +++ @@ -1,4 +1,4 @@ #!/bin/bash -for file in *.f; do ftn -c $file; done +for file in *.f; do ftn -O3 -c $file; done gcc main.cc dgemm.o dgesv.o dgetrf.o dgetrf2.o dgetrs.o dlaswp.o dtrsm.o xerbla.o lsame.o ilaenv.o idamax.o dlamch.o dscal.o ieeeck.o iparmq.o -lm -lgfortran -o main
bash
d_bash_12048
--- +++ @@ -2,8 +2,11 @@ set -euo pipefail cd ${KOKORO_ARTIFACTS_DIR}/git/tink +cd tools -cd tools +# TODO(b/155225382): Avoid modifying the sytem Python installation. +pip3 install --user protobuf + use_bazel.sh $(cat .bazelversion) time bazel build -- ... time bazel test -- ...
bash
d_bash_12049
--- +++ @@ -31,6 +31,3 @@ alias pg-stop='pg_ctl -D /usr/local/var/postgres stop -s -m fast' alias bower='noglob bower' - -alias pc='pbcopy' -alias pb='pbpaste'
bash
d_bash_12050
--- +++ @@ -14,4 +14,4 @@ VECTOR_SHA=$(git rev-parse --short=12 HEAD) # use the ACTUAL SHA rather than assume develop -CI_PACKAGE=true DIST_VERSION=$VECTOR_SHA-react-$REACT_SHA-js-$JSSDK_SHA scripts/package.sh -d +CI_PACKAGE=true DIST_VERSION=$VECTOR_SHA-react-$REACT_SHA-js-$JSSDK_SHA scripts/package.sh
bash
d_bash_12051
--- +++ @@ -1,11 +1,14 @@ #!/bin/bash -OUTPUT_PATH="gs://research-graph-synthetic/${USER}/sampling/$(date +"%Y-%m-%d_%H-%M-%S")" +TIMESTAMP="$(date +"%Y-%m-%d-%H-%M-%S")" +OUTPUT_PATH="gs://research-graph-synthetic/${USER}/sampling/${TIMESTAMP}" TEMP_LOCATION="${OUTPUT_PATH}/temp" echo "OUTPUT_PATH: ${OUTPUT_PAT...
bash
d_bash_12052
--- +++ @@ -1,5 +1,5 @@ #!/bin/bash -if grep '"image/png":' -R . --include "*.ipynb"; then +if grep '"image/png":' -R . --include "*.ipynb" --exclude venv; then >&2 echo "You may not check in binary data into the repository." >&2 echo "See e.g. .jupyter/jupyter_notebook_config.py for how to exclude output....
bash
d_bash_12053
--- +++ @@ -22,3 +22,7 @@ #Configures Alfred to add applications-directory to search scope brew cask alfred link + +#Configures Git +git config --global user.email "hallo@muph.li" +git config --global user.name "muphli"
bash
d_bash_12054
--- +++ @@ -20,10 +20,10 @@ cmake --build . cmake --build . --target docs if [ -n "$TRAVIS_OS_NAME" ]; then - luarocks --local make $(find -maxdepth 1 -name '*.rockspec') + luarocks --local make $(find "$BUILD_DIR_FIXED" -maxdepth 1 -name '*.rockspec') luarocks --local pack tinyspline mvn clean package ...
bash
d_bash_12055
--- +++ @@ -1,2 +1,2 @@ -#!/bin/bash -exe=`dmenu_run -l 5 -nb '#151617' -nf '#d8d8d8' -sb '#d8d8d8' -sf '#151617' -fn '-xos4-terminus-medium-r-*-*-14-*'` && eval "exec $exe" +#!/usr/bin/env bash +exe=`dmenu_run -l 5 -nb '#151617' -nf '#d8d8d8' -sb '#d8d8d8' -sf '#151617' -fn 'Inconsolata-11:Regular'` && eval "exec $e...
bash
d_bash_12056
--- +++ @@ -5,7 +5,7 @@ #restart ci cd /home/build/ci fig stop +rm -rf /home/build/.ci/* # get rid of *.uuid files fig build -# fig exec ? rm *.uuid fig up -d
bash
d_bash_12057
--- +++ @@ -7,7 +7,7 @@ --net=host --pid=host \ --ulimit nofile=1000000 \ -e APP_NAME="appname-example $MADE_UP_BUILD_NUMBER" \ - -e SERVER=www.google.com:80 \ + -e SERVER=ipv4.icanhazip.com:80 \ --name appname-example-$MADE_UP_BUILD_NUMBER \ haproxy-example
bash
d_bash_12058
--- +++ @@ -3,7 +3,7 @@ case "$1" in java8) - echo "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u272-b10/OpenJDK8U-jdk_x64_linux_hotspot_8u272b10.tar.gz" + echo "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u275-b01/OpenJDK8U-jdk_x64_linux_hotspot_8u275b...
bash
d_bash_12059
--- +++ @@ -31,7 +31,7 @@ ROLE="${1:-app}" case ${ROLE} in worker) - echo "running delayed_job worker" + echo "running worker" bundle exec rake jobs:work ;; *)
bash
d_bash_12060
--- +++ @@ -11,4 +11,4 @@ rm -rf /training rm -rf /etc/puppet - +ntpdate time.apple.com
bash
d_bash_12061
--- +++ @@ -14,3 +14,4 @@ alias gpri='git rebase -i $(git branch | cut -c 3- | pick)' alias ggui='/usr/local/opt/git/libexec/git-core/git-gui &' alias gm='git merge' +alias editgit='vim ~/.gitconfig'
bash
d_bash_12062
--- +++ @@ -16,6 +16,10 @@ PUBKEY=$srcdir/etc/user.pub export PUBKEY +if test -n "$DEBUG"; then + libssh2_sshd_params="-d -d" +fi + chmod go-rwx "$srcdir"/etc/host* $SSHD -f /dev/null -h "$srcdir"/etc/host \ -o 'Port 4711' \ @@ -23,7 +27,8 @@ -o "AuthorizedKeysFile $srcdir/etc/user.pub" \ -o '...
bash
d_bash_12063
--- +++ @@ -8,5 +8,5 @@ cd /root/oggm pip3 install -e . pytest oggm --mpl-upload $MPL --cov-config .coveragerc --cov=oggm --cov-report term-missing --run-slow --run-test-env $OGGM_TEST_ENV -coverage combine +coverage combine || true coveralls || true
bash
d_bash_12064
--- +++ @@ -1,4 +1,6 @@ #!/bin/bash + +TARGET_TRIPLE=$(lli -version | grep 'Default target' | sed 's/.*: \(.*\)/\1/') TESTS=0 FAILURES=0 @@ -9,7 +11,7 @@ SUBSYSTEM=$1 for TEST_FILE in `ls tests/${SUBSYSTEM}/test-*.llisp`; do TESTS=$(($TESTS + 1)) - DIFF=$(lli test-${SUBSYSTEM}.bc $TEST_F...
bash
d_bash_12065
--- +++ @@ -9,7 +9,7 @@ # Build LAPACK. # Enable threading. This can be controlled to a certain number by # setting OPENBLAS_NUM_THREADS before loading the library. -make QUIET_MAKE=1 DYNAMIC_ARCH=1 BINARY=${ARCH} NO_LAPACK=0 NO_AFFINITY=1 USE_THREAD=1 +make QUIET_MAKE=1 DYNAMIC_ARCH=1 BINARY=${ARCH} NO_LAPACK=0 N...
bash
d_bash_12066
--- +++ @@ -2,7 +2,7 @@ set -v -e -o pipefail -if [ -z "$FRONTEND" -o "$FRONTEND" \> 2.065.z ]; then +if [ -z "$FRONTEND" -o "$FRONTEND" \> 2.066.z ]; then vibe_ver=$(jq -r '.versions | .["vibe-d"]' < dub.selections.json) dub fetch vibe-d --version=$vibe_ver # get optional dependency dub test --co...
bash
d_bash_12067
--- +++ @@ -1,6 +1,6 @@ #! /bin/bash -INPUTFILE=/user/worker/hbase-dump-06-15-2016-aman +INPUTFILE='/user/worker/hbase-dump-06-15-2016-aman/201*/*' NUM_EXECUTORS=350 source ${DIG_CRF_HOME}/checkMemexConnection.sh
bash
d_bash_12068
--- +++ @@ -4,7 +4,7 @@ root_dir=`dirname $script_dir` test_packages="." -go_test_flags="-v -race -timeout 2s" +go_test_flags="-v -race -timeout 5s" echo Running go test on packages "'$test_packages'" with flags "'$go_test_flags'"
bash
d_bash_12069
--- +++ @@ -3,8 +3,8 @@ PATCHDIR=$PWD cd /usr/src/kernel echo $PATCHDIR -patch -p 4 --dry-run -i $PATCHDIR/patchUVCDriver.diff -patch -p 4 --dry-run -i $PATCHDIR/patchUVCInclude.diff +patch -p 4 -i $PATCHDIR/patchUVCDriver.diff +patch -p 4 -i $PATCHDIR/patchUVCInclude.diff
bash
d_bash_12070
--- +++ @@ -13,15 +13,15 @@ function vundle () { vundle-init - vim -c "execute \"PluginInstall\" | q | q" + vim -c "execute \"PluginInstall\" | qa" } function vundle-update () { vundle-init - vim -c "execute \"PluginInstall!\" | q | q" + vim -c "execute \"PluginInstall!\" | qa" } function vundle-...
bash
d_bash_12071
--- +++ @@ -1,13 +1,15 @@ #!/bin/bash -eux -mkdir /tmp/vbox -VER=$(cat /home/vagrant/.vbox_version) -wget http://download.virtualbox.org/virtualbox/$VER/VBoxGuestAdditions_$VER.iso -mount -o loop VBoxGuestAdditions_$VER.iso /tmp/vbox -sh /tmp/vbox/VBoxLinuxAdditions.run -umount /tmp/vbox -rmdir /tmp/vbox -rm *.iso...
bash
d_bash_12072
--- +++ @@ -20,3 +20,13 @@ alias l='ls -la' alias ll='ls -l' +# https://gist.github.com/b00f68b40e3ebcc1269c +function find_rake { + if [[ -f Gemfile && -x bin/rake ]]; then + bin/rake "$@" + else + rake "$@" + fi +} + +alias rake=find_rake
bash
d_bash_12073
--- +++ @@ -1,4 +1,4 @@ rm ejson.js rm base64.js -wget https://raw.github.com/meteor/meteor/devel/packages/ejson/ejson.js -wget https://raw.github.com/meteor/meteor/devel/packages/ejson/base64.js +wget https://raw.githubusercontent.com/meteor/meteor/devel/packages/ejson/ejson.js +wget https://raw.githubusercontent....
bash
d_bash_12074
--- +++ @@ -14,13 +14,13 @@ assert_postgres_version_matches() { local gpdb_src_sha=$1 - if [[ ! "$(postgres --gp-version)" =~ "commit:$gpdb_src_sha" ]]; then - echo "bin_gpdb version: '$(postgres --gp-version)' does not match gpdb_src commit: '${gpdb_src_sha}'. Exiting..." + if ! readelf --string-dump=.rod...
bash
d_bash_12075
--- +++ @@ -2,6 +2,7 @@ set -e +apt-get update apt-get -y install libseccomp2 libsystemd-journal0 mkdir -p install
bash
d_bash_12076
--- +++ @@ -32,14 +32,16 @@ git log --no-walk --format=$@ } +parent=4b825dc642cb6eb9a060e54bf8d69288fbee4904 gitcommits | while read sha; do gitattr "%h %cI %aN" $sha | read short date author gitmodified $sha | while read file; do - gitadded $sha -- $file | read added - gitremoved $sha -- $fil...
bash
d_bash_12077
--- +++ @@ -7,5 +7,6 @@ sudo apt-get install -qq --force-yes valgrind ${CXX} if [ "$STL" == "libc++" ] +then sudo apt-get install -qq --force-yes libc++-dev fi
bash
d_bash_12078
--- +++ @@ -1,2 +1,2 @@ #!/bin/bash -docker ps -a | grep unittest- | sed -e 's/.*\(unittest-[0-9]*\).*/\1/' | xargs -r docker rm +docker ps -a | grep unittest- | sed -e 's/.*\(unittest-[0-9]*\).*/\1/' | xargs -r docker rm -f
bash
d_bash_12079
--- +++ @@ -3,3 +3,6 @@ # pasting with tabs doesn't perform completion zstyle ':completion:*' insert-tab pending + +# topdf converts to pdf, no point in completing existing PDFs +compctl -g "^*.pdf" topdf
bash
d_bash_12080
--- +++ @@ -1,13 +1,12 @@ #!/bin/sh -SHOW_FIREFOX=$1 -USE_DEBUGGER=$2 +USE_DEBUGGER=$1 features/support/enhanced_support_stop.sh Xvfb :99 -ac -extension GLX > log/xvfb.log 2>&1 & -if [ "$SHOW_FIREFOX" = "true" ] +if [ "$USE_DEBUGGER" = "debug" ] then echo "Loading selenium on 4444, showing Firefox" bun...
bash
d_bash_12081
--- +++ @@ -5,6 +5,7 @@ async_simple\ sync_args\ async_fds\ + async_shmem\ " RES=""
bash
d_bash_12082
--- +++ @@ -4,9 +4,9 @@ if [ ! "$(ls -A $HOME/gnatsd)" ]; then mkdir -p $HOME/gnatsd cd $HOME/gnatsd - wget https://github.com/nats-io/gnatsd/releases/download/v0.9.6/gnatsd-v0.9.6-linux-amd64.zip -O gnatsd.zip + wget https://github.com/nats-io/gnatsd/releases/download/v1.0.4/gnatsd-v1.0.4-linux-amd64.zip -O...
bash
d_bash_12083
--- +++ @@ -7,3 +7,10 @@ cd $WORKSPACE/repo rvm use 2.1.2 bundle exec berks up +if [ $? == 0 ]; +then + VERSION=`cat $WORKSPACE/repo/metadata.rb | grep -m1 version | sed 's/'\''//g' | awk '{print "v"$2}'` + COOKBOOK=`cat $WORKSPACE/repo/metadata.rb | grep -m1 name | sed 's/'\''//g' | cut -d ' ' -f2` + # Write l...
bash
d_bash_12084
--- +++ @@ -6,7 +6,7 @@ echo "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u282-b08/OpenJDK8U-jdk_x64_linux_hotspot_8u282b08.tar.gz" ;; java11) - echo "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.9.1%2B1/OpenJDK11U-jdk_x64_linux_hotspot_11.0.9.1_1...
bash
d_bash_12085
--- +++ @@ -1,5 +1,5 @@ #!/bin/bash -ex -VERSION=9.3.0 +VERSION=9.3.2 cd `dirname $0`
bash
d_bash_12086
--- +++ @@ -13,15 +13,17 @@ fi echo "Installing glide v0.11.1..." -git clone https://github.com/Masterminds/glide.git $GOPATH/src/github.com/Masterminds/glide +if [ ! -d "$GOPATH/src/github.com/Masterminds/glide" ]; then + git clone https://github.com/Masterminds/glide.git $GOPATH/src/github.com/Masterminds/glid...
bash
d_bash_12087
--- +++ @@ -7,7 +7,7 @@ git clone https://github.com/facebook/folly cd folly/folly git fetch -git checkout v0.37.0 +git checkout v0.32.0 autoreconf --install ./configure
bash
d_bash_12088
--- +++ @@ -1,11 +1,5 @@ #!/bin/sh -e # Format output of alias print dump into more readable format - -if [ -f "TEMP.AWK" ]; then - echo "Somehow 'TEMP.AWK' already exists" - exit 1 -fi - awk -F= 'BEGIN { print "ALIAS | COMMAND";
bash
d_bash_12089
--- +++ @@ -16,12 +16,9 @@ set -x ARM_SKIP_TESTS="-//tensorflow/lite/... \ --//tensorflow/python:nn_grad_test \ -//tensorflow/python/client:session_list_devices_test \ --//tensorflow/python/data/kernel_tests:iterator_test_cpu \ --//tensorflow/python/data/kernel_tests:iterator_test_gpu \ --//tensorflow/python/eag...
bash
d_bash_12090
--- +++ @@ -3,7 +3,7 @@ # get list of available X windows. x=`emacsclient --alternate-editor '' --eval '(x-display-list)' 2>/dev/null` -if [ -z "$x" ] ;then +if [ -z "$x" ] || [ "$x" = "nil" ] ;then # Create one if there is no X window yet. emacsclient --alternate-editor "" --create-frame "$@" else
bash
d_bash_12091
--- +++ @@ -10,9 +10,6 @@ DOCKER_RUN_BLOCKS=false /var/micropcf/docker-run "$domain" -cf api "api.$domain" --skip-ssl-validation -cf auth admin admin -cf target -o micropcf-org -s micropcf-space cf push app -o cloudfoundry/lattice-app -m 32M curl -v "http://app.${domain}"
bash
d_bash_12092
--- +++ @@ -2,7 +2,11 @@ root -l <<EOF gSystem->Load("libROBAST") THtml html -html.SetInputDir(".:src:include") +html.SetInputDir(".:include") +html.SetHomepage("http://robast.github.io/") html.SetProductName("ROBAST") html.MakeAll() EOF + + +
bash
d_bash_12093
--- +++ @@ -9,7 +9,7 @@ -e GEM_QGIS_TEST=y \ qgis/qgis:final-3_8_3 -docker exec -it qgis sh -c "apt update; DEBIAN_FRONTEND=noninteractive apt install -y python3-scipy python3-matplotlib python3-pyqt5.qtwebkit python3-nose" +docker exec -it qgis sh -c "apt update; DEBIAN_FRONTEND=noninteractive apt install -y p...
bash
d_bash_12094
--- +++ @@ -15,4 +15,4 @@ # Extract strings from all source files. # If your framework depends on KI18n, use $XGETTEXT. If it uses Qt translation # system, use $EXTRACT_TR_STRINGS. -$EXTRACT_TR_STRINGS `find . -name \*.cpp -o -name \*.h -name \*.qml` -o $podir/kdesignerplugin5.pot +$EXTRACT_TR_STRINGS `find . -nam...
bash
d_bash_12095
--- +++ @@ -13,11 +13,13 @@ if [ ! -z ${windows} ]; then exit 1 else - sed -i'' -e "s|/etc/liquidpromptrc|$PREFIX/etc/liquidpromptrc|g" liquidprompt - sed -i'' \ - -e "s|~/.config/liquidprompt/nojhan.theme|$PREFIX/etc/liquidprompt/liquid.theme|" \ - -e "s|~/.config/liquidprompt/nojhan.ps1|$PREFIX/et...
bash
d_bash_12096
--- +++ @@ -1,6 +1,9 @@ #!/bin/bash +source flocker-client/bin/activate + export FLOCKER_ACCEPTANCE_NODES=$(cat control.txt agents.txt | sort | uniq | paste -s -d: -) +export FLOCKER_ACCEPTANCE_NUM_AGENT_NODES=$(cat control.txt agents.txt | sort | uniq | wc -l) export FLOCKER_ACCEPTANCE_CONTROL_NODE=$(cat contro...
bash
d_bash_12097
--- +++ @@ -1,4 +1,5 @@ pushd . cd runtime - RUST_BACKTRACE=1 multirust run nightly-2015-04-20 cargo run --bin=server --release + multirust override nightly-2015-04-20 + RUST_BACKTRACE=1 cargo run --bin=server --release popd
bash
d_bash_12098
--- +++ @@ -1,5 +1,4 @@ GIT=https://gitlab.redox-os.org/redox-os/orbterm.git -BRANCH=redox-unix BINDIR=/ui/bin CARGOFLAGS="--bin orbterm -- -C lto" DEPENDS="orbital"
bash
d_bash_12099
--- +++ @@ -16,5 +16,3 @@ # Set up application gem install bundler gem install sass -cd /design-patterns -bundle
bash