document_id
stringlengths
8
12
document
stringlengths
50
3.21k
split
stringclasses
1 value
d_bash_8200
--- +++ @@ -15,8 +15,10 @@ echo "Stopping buildkite-agent systemd service" systemctl --no-reload disable buildkite-agent || : - systemctl stop buildkite-agent || : - systemctl stop 'buildkite-agent@*' || : + systemctl stop buildkite-agent || : + + systemctl --no-reload disable "buildkite-agent@*" || :...
bash
d_bash_8201
--- +++ @@ -1,7 +1,8 @@ #!/bin/bash # copy a file to each user's home directory and grant ownership to -# that user. +# that user. I asked a question on StackExchange regarding this: +# http://unix.stackexchange.com/questions/331174/how-can-i-copy-a-file-to-every-users-home-dir-in-bash/ for homedir in /home/* ...
bash
d_bash_8202
--- +++ @@ -13,6 +13,10 @@ rm -r io_scene_nif/pyffi/formats/rockstar rm -r io_scene_nif/pyffi/formats/tga rm -r io_scene_nif/pyffi/qskope +cp AUTHORS.rst io_scene_nif +cp CHANGELOG.rst io_scene_nif +cp LICENSE.rst io_scene_nif +cp README.rst io_scene_nif zip -9r "${DIR}/${NAME}-${VERSION}.zip" io_scene_nif -x \*/...
bash
d_bash_8203
--- +++ @@ -1,3 +1,7 @@ +log "cleaning files" + +cp /dev/null /var/log/auth.log >/dev/null + log "substituting placeholders for real data in config files" substitute_files=($(find /etc /opt/local/etc -type f | sort | xargs \
bash
d_bash_8204
--- +++ @@ -4,7 +4,10 @@ CHROME_EXTERNS="https://raw.githubusercontent.com/google/closure-compiler/master/contrib/externs/chrome_extensions.js" # Temporary until new Closure Compiler release. ENCODING_EXTERNS="https://raw.githubusercontent.com/google/closure-compiler/master/externs/w3c_encoding.js" -OUTPUT="output...
bash
d_bash_8205
--- +++ @@ -4,9 +4,6 @@ DIRS=( keys certs logs) _V=0 TAIL_LOGS=0 - -# Clean up when exiting -trap 'echo 'Cleaning up;kill $(jobs -p)' EXIT usage() { cat <<EOF @@ -50,7 +47,7 @@ tail -f logs/*.log } -while getopts "hv" opt; do +while getopts "hvt" opt; do case $opt in h) usage
bash
d_bash_8206
--- +++ @@ -8,7 +8,7 @@ if [[ ( $DOXYGEN_INSTALLED != 0 ) || ( $DOT_INSTALLED != 0 ) ]]; then echo "Doxygen and dot must be installed to build this documentation." -echo "To install on ubuntu, run 'sudo apt-get install doxygen dot'." +echo "To install on ubuntu, run 'sudo apt-get install doxygen graphviz'." exit...
bash
d_bash_8207
--- +++ @@ -4,7 +4,7 @@ # set -e -INFLUXDB_VERSIONS="0.13-alpine 1.0-alpine 1.1.0-rc1-alpine" +INFLUXDB_VERSIONS="0.13-alpine 1.0-alpine 1.1.0-rc2-alpine" for version in ${INFLUXDB_VERSIONS} do
bash
d_bash_8208
--- +++ @@ -4,7 +4,7 @@ exit 1 fi target=$1 -curl http://cloud.github.com/downloads/SiteSupport/gevent/gevent-1.0rc2.tar.gz > gevent-1.0rc2.tar.gz +#curl http://cloud.github.com/downloads/SiteSupport/gevent/gevent-1.0rc2.tar.gz > gevent-1.0rc2.tar.gz tar -xvf gevent-1.0rc2.tar.gz cd gevent-1.0rc2 python setup...
bash
d_bash_8209
--- +++ @@ -1,4 +1,4 @@ #!/bin/bash -export VERSION="2.1.0.Final" +export VERSION="2.4.0.Final" export KEYCLOAK="keycloak-${VERSION}"
bash
d_bash_8210
--- +++ @@ -8,8 +8,7 @@ "mappings" : { "_default_":{ "_ttl" : {"enabled":true, "default":"2d"}, - "@timestamp" : {"type" : "date"} - }, + }, "mysql" : { "properties" : { "Server":{"type":"string"}, @@ -27,7 +26,8 @@ "responseTime":{"type":"...
bash
d_bash_8211
--- +++ @@ -1,8 +1,15 @@ #!/bin/bash +# Make localhost the name of the host grep "ServerName localhost" /etc/apache2/apache2.conf if [ $? -ne 0 ]; then echo "ServerName localhost" >> /etc/apache2/apache2.conf +fi + +# Make /var/www/htdocs the webroot +grep "html" /etc/apache2/apache2.conf +if [ $? -ne 0 ]; ...
bash
d_bash_8212
--- +++ @@ -23,7 +23,7 @@ cp -a ../../Examples/$1/* Examples/ find Examples -name project.pbxproj -exec sed -i -f ../fix_paths.sed {} \; cp ../../README.md ../../VERSION ../../LICENSE ../INSTALL.md . - find . -name .DS_Store -exec rm -f {} \; + find . -name .DS_Store -or -name build -exec rm -f {} \; cd .. ...
bash
d_bash_8213
--- +++ @@ -2,7 +2,9 @@ find "$@" -type f -print0 | xargs -0 sed -i -r \ -e 's/Drupal\\wmcontroller\\Entity\\(AbstractPresenter|HasPresenterInterface|PresenterInterface)/Drupal\\wmpresenter\\Entity\\\1/g' \ + -e 's/Drupal\\wmcontroller\\Entity\\Cache/Drupal\\wmpage_cache\\Cache/g' \ -e 's/Drupal\\wmcontroll...
bash
d_bash_8214
--- +++ @@ -3,7 +3,7 @@ dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd $dir -virtualenv -p python3 ~/venvs/system-of-record +virtualenv -p python2 ~/venvs/system-of-record source ~/venvs/system-of-record/bin/activate pip install -r requirements.txt
bash
d_bash_8215
--- +++ @@ -25,7 +25,12 @@ until cabal install --jobs --only-dependencies; do :; done cabal configure --ghc-options "$ghc_options" cabal build --jobs -find dist/build -type f -perm -u=x,g=x,o=x -exec strip --strip-all {} + + +# Strip all statically linked executables +find dist/build \ + -type f \ + -perm -u=x,g...
bash
d_bash_8216
--- +++ @@ -14,5 +14,6 @@ git add . git commit -m "Generated coner-core-client-java $TRAVIS_TAG" git tag "$TRAVIS_TAG" -git remote add origin "https://${GITHUB_JAVA_CLIENT_API_KEY}@github.com/caeos/coner-core-client-java.git" +git remote add origin "https://carltonwhitehead:${GITHUB_JAVA_CLIENT_API_KEY}@github.com...
bash
d_bash_8217
--- +++ @@ -8,3 +8,9 @@ export USE_ANDROIDX_REMOTE_BUILD_CACHE=false impl/build.sh buildOnServer --no-configuration-cache + +# run a separate createArchive task to prepare a repository +# folder in DIST. +# This cannot be merged with the buildOnServer run because +# snapshot version is not a proper release versio...
bash
d_bash_8218
--- +++ @@ -6,3 +6,6 @@ # Run examples and test/extern/ferguson/. export CHPL_START_TEST_ARGS="release/examples extern/ferguson" + +# llvm and gmp do not (yet) work together +export CHPL_GMP=none
bash
d_bash_8219
--- +++ @@ -6,7 +6,9 @@ if [ -d /etc/udev/rules.d ]; then install -m 644 -o root 99-k290-config.rules /etc/udev/rules.d/ fi -install -m 755 -o root k290-fnkeyctl.sh /usr/lib/systemd/system-sleep/ +if [ -d /usr/lib/systemd/system-sleep/ ]; then + install -m 755 -o root k290-fnkeyctl.sh /usr/lib/systemd/system-sl...
bash
d_bash_8220
--- +++ @@ -41,4 +41,4 @@ alias capify!="bundle exec cap install" # Install rust nightly -alias getrust="curl -sSf https://static.rust-lang.org/rustup.sh | sh; sudo ldconfig" +alias rustup="curl -sSf https://static.rust-lang.org/rustup.sh | sh; echo 'You might need to do sudo ldconfig now!'"
bash
d_bash_8221
--- +++ @@ -19,6 +19,7 @@ rsync -av * "${builtcontent}" \ --exclude=*docker* \ --exclude=Dockerfile \ + --include=.htaccess \ --exclude-from=./.dockerignore cd "${builtcontent}"
bash
d_bash_8222
--- +++ @@ -39,7 +39,10 @@ # 'ARCHFLAGS' fixes a problem with OSX refusing to compile a dependency export ARCHFLAGS="-Wno-error=unused-command-line-argument-hard-error-in-future" # at time of writing, macs dont have ipython and a lower version of Fabric - pip install -r mac-requirements.txt + pip...
bash
d_bash_8223
--- +++ @@ -1,4 +1,4 @@ #!/bin/sh - -export PATH=$(echo $PATH | sed 's/8/7/g') -mvn -s settings.xml clean install -Dsolutions.codechecking.phase=verify +echo 'test' +#export PATH=$(echo $PATH | sed 's/8/7/g') +#mvn -s settings.xml clean install -Dsolutions.codechecking.phase=verify
bash
d_bash_8224
--- +++ @@ -1,13 +1,5 @@ #!/bin/bash -set -e -DEV_HOST=${DEV_HOST:-localhost:8080} - -# This is just here to make sure your environment is sane -docker info - -curl -s http://${DEV_HOST}/v1/authorized_keys | sudo tee -a /root/.ssh/authorized_keys - -# Setting the uuid=test-agent is to make this not conflict with t...
bash
d_bash_8225
--- +++ @@ -3,8 +3,11 @@ # Exit on any error set -e -IMAGE_PATH="eu.gcr.io/${GCLOUD_PROJECT}/frontend:$CIRCLE_BRANCH-latest" +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +IMAGE_PATH="eu.gcr.io/${GCLOUD_PROJECT}/frontend:${CIRCLE_BRANCH}-latest" +NAMESPACE="production" # Push the frontend images to ...
bash
d_bash_8226
--- +++ @@ -5,3 +5,5 @@ alias npit='npm init' alias npi='npm install' alias npr='npm run' + +alias oc='open ./coverage/lcov-report/index.html'
bash
d_bash_8227
--- +++ @@ -7,18 +7,22 @@ ln -sf $file ~/.${filename%.symlink} done -# install homebrew -if [[ $OSTYPE == darwin* && ! $(command -v brew 2>/dev/null) ]]; then - echo "Mac without homebrew?!?! Fixing..." - ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" -else - ...
bash
d_bash_8228
--- +++ @@ -6,13 +6,13 @@ if [ ! -f "$HOME/local/tgz/master.tar.gz" ]; then mkdir -p $HOME/local/tgz - wget -P $HOME/local/tgz http://genometools.org/pub/binary_distributions/gt-1.5.7-Linux_x86_64-64bit-complete.tar.gz + wget -P $HOME/local/tgz http://genometools.org/pub/binary_distributions/gt-1.5.8-Li...
bash
d_bash_8229
--- +++ @@ -1,4 +1,5 @@ #!/bin/bash +# This script assumes it is run from its own directory. # construct the colon-separated classpath of jar files in the lib directory, # plus the src directory @@ -6,10 +7,16 @@ echo $CP +# Read CDS connection data from global config file, using +# very hackish YAML parsi...
bash
d_bash_8230
--- +++ @@ -29,7 +29,7 @@ libdir="$1" version="${2:-*}" -python="cp$(python --version 2>&1 | perl -pne 's|^\w+\s(\d)\.(\d+)\.\d+$|\1\2|g')" +python="cp$(python --version 2>&1 | perl -pe 's|^\w+\s(\d)\.(\d+)\.\d+$|\1\2|g')" wheel="python_mbedtls-$version-$python-$python"'m*.whl' C_INCLUDE_PATH="/usr/include:$l...
bash
d_bash_8231
--- +++ @@ -1,2 +1,2 @@ #!/bin/bash -CC=avr-gcc CXX=c++ LINK="-mmcu=atmega128 -Wl,-gc-sections" COMP="-O2 -ggdb -Wa,-mmcu=atmega128 -mmcu=atmega128 -ffunction-sections -fdata-sections" cmake -DARCH=AVR -DWORD=8 -DOPSYS=NONE -DSEED=LIBC -DSHLIB=OFF -DSTBIN=ON -DTIMER=NONE -DWITH="DV;BN;FP;EP;EC;PP;PC;CP;MD" -DBENCH=...
bash
d_bash_8232
--- +++ @@ -2,6 +2,6 @@ set -e rm -f Gemfile.lock bundle install --path "${HOME}/bundles/${JOB_NAME}" -export GOVUK_APP_DOMAIN=development +export GOVUK_APP_DOMAIN=dev.gov.uk bundle exec rake test bundle exec rake publish_gem
bash
d_bash_8233
--- +++ @@ -1,4 +1,6 @@ #!/bin/bash + +set -x DIR=$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd) @@ -8,5 +10,5 @@ for vm in services tiler app; do - with_backoff vagrant provision ${vm} + with_backoff vagrant reload --provision ${vm} done
bash
d_bash_8234
--- +++ @@ -13,7 +13,7 @@ echo "Building Surelog" echo "-------------------------------------------" ( - make release + make -j4 release ) echo "-------------------------------------------"
bash
d_bash_8235
--- +++ @@ -4,7 +4,7 @@ # # The . or source builtin requires at least 1 argument. Overload the no # argument version to 'cd ..' instead. -dot() { +_dot() { file=$1 if [ $# -gt 0 ] then @@ -14,7 +14,7 @@ cd .. fi } -alias .=dot +alias .=_dot alias ..="cd ../.." alias ...="cd ../../.....
bash
d_bash_8236
--- +++ @@ -9,6 +9,7 @@ Caskroom/cask/osxfuse bison dialog + imagemagick jq openssl sshfs
bash
d_bash_8237
--- +++ @@ -5,10 +5,10 @@ RUBY=ruby-1.8.7-p330 GEMSET=psc -set +x +set +xe . ~/.rvm/scripts/rvm rvm use "${RUBY}@${GEMSET}" -set -x +set -xe ruby install_gems.rb export JAVA_OPTS="-Xmx256M -XX:MaxPermSize=128M"
bash
d_bash_8238
--- +++ @@ -3,7 +3,7 @@ cd ${WORKSPACE}/test TEST_RESULTS="test_results" -ARCHIVE_NAME="${TEST_RESULTS}_${JOB_BASE_NAME}_${BUILD_NUMBER}.zip" +ARCHIVE_NAME="${TEST_RESULTS}_${JOB_BASE_NAME}_${BUILD_NUMBER}_${STAGE_NAME/ /}.zip" find $TEST_RESULTS/ -name "*.zip" | xargs -I '{}' mv '{}' ../
bash
d_bash_8239
--- +++ @@ -11,7 +11,7 @@ echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config echo -e "Host bitbucket.org\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config # Install console_bridge - git clone https://github.com/ros/console_bridge.git + git clone git://github.com/ros/console_bridge.git ...
bash
d_bash_8240
--- +++ @@ -1,9 +1,9 @@ #!/bin/sh -echo "Merging ${TRAVIS_BRANCH} to master" +echo "Merging ${TRAVIS_BRANCH} to develop" git config --global user.email "travis@travis-ci.org" git config --global user.name "Travis CI" git config --global push.default current # need to do it, bc Travis checks out a commit by has...
bash
d_bash_8241
--- +++ @@ -25,3 +25,5 @@ add_hdp_repo \ "http://public-repo-1.hortonworks.com/ambari/centos6/1.x/updates/1.6.1/ambari.repo" \ "/etc/yum.repos.d/ambari.repo" + +yum makecache
bash
d_bash_8242
--- +++ @@ -1,7 +1,7 @@ # Bootstrap script for EosMetrics # Run this script on a clean source checkout to get ready for building. -FILE_MUST_EXIST=eosmetrics/eosmetrics.h +FILE_MUST_EXIST=configure.ac test -n "$srcdir" || srcdir=`dirname "$0"` test -n "$srcdir" || srcdir=.
bash
d_bash_8243
--- +++ @@ -5,6 +5,16 @@ APP_LOCATION="$(pwd)/.." fi +if [ "${1}" = "" ]; then + echo "usage: ${APP_LOCATION}/Resources/bin/elfcloud-fuse your@domain.fi /your/mount/point" + + DIALOG_TEXT="Currently elfCLOUD-FUSE doesn't have GUI for mounting.\nPlease use this application from commandline:\n${APP_LOCATION...
bash
d_bash_8244
--- +++ @@ -23,8 +23,8 @@ pushd $FSDOC_ODIR for f in "${FST_FILES[@]}" do - fe=`basename $f` - f="${fe%.*}" + fe=`basename $f` # SI: should just be able to strip -s md if fsdoc outputs X.fst.md. + f="${fe%.*}" # md="${f}.md" html="${f}.html" pandoc $md -f markdown -t html -o $html
bash
d_bash_8245
--- +++ @@ -20,7 +20,10 @@ make \ cmake \ libboost-dev \ + libc++1 \ libc++-dev \ + libc++abi1 \ + libc++abi-dev \ python3-pip \ python3-setuptools \ python3-networkx \
bash
d_bash_8246
--- +++ @@ -1,4 +1,15 @@ #!/bin/bash + +# This runs benchmarks, by default from develop branch of +# github.com/tendermint/go-merkle +# You can customize this by optional command line args +# +# INSTALL_USER.sh [branch] [repouser] +# +# set repouser as your username to time your fork + +BRANCH=${1:-develop} +REPOUSE...
bash
d_bash_8247
--- +++ @@ -15,9 +15,10 @@ print_in_blue "Shell packages" brew_install "tree" brew_install "jq" - brew_install "gpg" - brew_install "pinetry-mac" - brew_install "gh" + brew_install "gpg" + brew_install "pinetry-mac" + brew_install "gh" + brew_install "ba...
bash
d_bash_8248
--- +++ @@ -1,2 +1,2 @@ #!/bin/sh -java -cp $OMAR_HOME/lib/joms.jar org.ossim.oms.apps.ImageStagerTest $1 +java -cp $OMAR_HOME/../../plugins/omar-oms/lib/joms.jar org.ossim.oms.apps.ImageStagerTest $1
bash
d_bash_8249
--- +++ @@ -1,11 +1,13 @@ #!/bin/bash -if [ "$(docker ps -q -f name=coder)" ]; then - read -p "alread running container coder, stop this (yes|no): " yesno +NAME=run-coder + +if [ "$(docker ps -q -f name=$NAME)" ]; then + read -p "alread running container $NAME, stop this (yes|no): " yesno if [ "$yesno" = "y...
bash
d_bash_8250
--- +++ @@ -18,5 +18,5 @@ # Build the fluentd-elasticsearch image and push # to google/fluentd-elasticsearch. -sudo docker build -t google/fluentd-elasticsearch . -sudo docker push google/fluentd-elasticsearch +sudo docker build -t kubernetes/fluentd-elasticsearch . +sudo docker push kubernetes/fluentd-elasticsea...
bash
d_bash_8251
--- +++ @@ -1,9 +1,10 @@ #!/bin/bash set -e +set -o pipefail source /hbb_exe_gc_hardened/activate # Remove -O2 because the Passenger build system already # sets optimization flags. export EXTRA_CFLAGS=`echo "$CFLAGS" | sed 's/-O2//'` -export EXTRA_CXXFLAGS=`eco "$CXXFLAGS" | sed 's/-O2//'` +export EXTRA_CXXFLAG...
bash
d_bash_8252
--- +++ @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash # Copyright 2016 The Oppia Authors. All Rights Reserved. # @@ -18,7 +18,7 @@ # INSTRUCTIONS: # -# This script sets up a development dependencies for running Oppia. +# This script sets up a development dependencies for running Oppia. # Run th...
bash
d_bash_8253
--- +++ @@ -20,5 +20,5 @@ ssh $(cat "${EMAILHOST}") "mail -s \"$SUBJECT\" $ERRORMAIL" < $EMAIL_BODY_FILE exit; else - mail -s $SUBJECT $ERRORMAIL < $EMAIL_BODY_FILE + mail -s \"$SUBJECT\" $ERRORMAIL < $EMAIL_BODY_FILE fi
bash
d_bash_8254
--- +++ @@ -6,7 +6,7 @@ fi # https://github.com/golang/go/wiki/Ubuntu -add-apt-repository ppa:longsleep/golang-backports +add-apt-repository -y --no-update ppa:longsleep/golang-backports # https://launchpad.net/~byobu/+archive/ubuntu/ppa add-apt-repository -y --no-update ppa:byobu/ppa
bash
d_bash_8255
--- +++ @@ -2,7 +2,13 @@ export LC_ALL=C -NODE_HOSTNAME=${NODE_HOSTNAME:-$1} +NODE_ENV=${1:-""} +script_dir=$(dirname "${BASH_SOURCE}") + +if [[ ${NODE_ENV} != '' ]]; then + source ${NODE_ENV} +fi + LIBVIRT_PATH=${LIBVIRT_PATH:-'/var/lib/libvirt/images'} sudo virsh destroy ${NODE_HOSTNAME}
bash
d_bash_8256
--- +++ @@ -4,4 +4,9 @@ dir="/home/polyphony/staging" rsync -rtv --exclude "*.git" --exclude "deploy-staging.sh" ./ "$addr:$dir" -ssh "$addr" "chmod -R u+rwX,go+rwX,o-w $dir && chown -R :polyphony $dir" +ssh "$addr" << EOF + chmod -R u+rwX,go+rwX,o-w $dir + chown -R :polyphony $dir + sed -i 's/:51015/:51016/g' "$...
bash
d_bash_8257
--- +++ @@ -5,10 +5,9 @@ sudo apt-get remove -y openssl libssl-dev java8-runtime-headless default-jre-headless if [ ! -d "openssl" ]; then - git clone https://github.com/openssl/openssl + git clone --single-branch --branch=openssl-3.0 --depth 1 https://github.com/openssl/openssl fi pushd openssl -git checkout o...
bash
d_bash_8258
--- +++ @@ -1,23 +1,18 @@ #!/bin/bash # gh-pages cleanup script: Switches to gh-pages branch, and removes all -# greenkeeper/* directories that aren't listed as remote branches +# directories that aren't listed as remote branches -# Join list of remote greenkeeper/* branches for GLOBIGNORE -# Turns origin/green...
bash
d_bash_8259
--- +++ @@ -8,6 +8,7 @@ mkdir -m 700 -p ~/.ssh echo -e "Host *\n\tStrictHostKeyChecking no\n" > ~/.ssh/config git remote add deploy "git@thewhitehat.club:go/src/github.com/WhiteHatCP/seclab-listener" +echo "Added deploy remote" PUSH="$(git push deploy 2>&1)" echo "$PUSH" echo "$PUSH" | grep -q "SUCCESS"
bash
d_bash_8260
--- +++ @@ -21,3 +21,4 @@ echo "--> installing systemd unit file and configuring to start on boot" mv ${install_root}/${package_base_name}/${package_base_name}.service /lib/systemd/system/${package_base_name}.service +systemctl enable ${package_base_name}
bash
d_bash_8261
--- +++ @@ -22,3 +22,5 @@ yarn global add angular-cli yarn global add browser-sync yarn global add nodemon +yarn global add pm2 +yarn global add istanbul
bash
d_bash_8262
--- +++ @@ -1,4 +1,4 @@ #!/bin/sh # run ctest, disregard failure code -ctest $@ +ctest --output-on-failure $@ exit 0
bash
d_bash_8263
--- +++ @@ -4,5 +4,5 @@ #service running on FreeBSD app_name="example.jar" -pid=`ps aux | grep $app_name | sort | awk 'NR==1{print $2}'` +pid=`ps aux | grep $app_name | awk 'NR==1{print $2}'` kill -9 $pid > /dev/null 2>&1
bash
d_bash_8264
--- +++ @@ -26,6 +26,6 @@ exec java \ -jar tests/CouchbaseMock.jar \ --nodes=10 \ - --host=localhost \ + --host=127.0.0.1 \ --port=0 \ "$@"
bash
d_bash_8265
--- +++ @@ -1,12 +1,3 @@ -if [ ${APP_ENV} != "google-play-review" ] -then - if ! php artisan ping --no-interaction --verbose - then - export SKIP_HTTP_CHECKS=true - fi - php artisan enlightn --details --show-exceptions --no-interaction --verbose -fi - php artisan config:cache --no-interaction --ve...
bash
d_bash_8266
--- +++ @@ -1,7 +1,7 @@ #!/bin/bash sudo apt-get install libssh2-1-dev libssh2-php &> /dev/null -pecl install mongo &> /dev/null +sudo pecl install mongo touch .interactive (pecl install -f ssh2 < .interactive) &> /dev/null #echo "extension=mongo.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\...
bash
d_bash_8267
--- +++ @@ -9,6 +9,9 @@ # Installation on CentOS requires v7 pkg_mgr install open-vm-tools +# open-vm-tools installs unwanted fusermount binary +run_in_chroot $chroot "rm -f /usr/bin/fusermount" + # The above installation adds a PAM configuration with 'nullok' values in it. # We need to get rid of those as per ...
bash
d_bash_8268
--- +++ @@ -1,4 +1,21 @@ #!/usr/bin/env bash +# +# This file is part of the KubeVirt project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LI...
bash
d_bash_8269
--- +++ @@ -1,11 +1,3 @@ -c() { cd ~/Sites/$1; } -_c() { _files -W ~/Sites -/; } -compdef _c c - -# h() { cd ~/$1; } -# _h() { _files -W ~/ -/; } -# compdef _h h - export EDITOR='subl -w' # autocorrect is more annoying than helpful
bash
d_bash_8270
--- +++ @@ -9,7 +9,7 @@ bundle exec rake dependencies:update git add . -git commit --message "Bump $GEM_NAME to $VERSION" --message "This pull request was triggered automatically via Expeditor when $GEM_NAME $VERSION was promoted to Rubygems." --message "Signed-off-by: Chef CI <oss@chef.io>" +git commit --message...
bash
d_bash_8271
--- +++ @@ -1,4 +1,6 @@ #!/bin/bash + +_user=`id -u` # Installing minimum of python 2.7 _python_version=`python -c 'import sys; version=sys.version_info[:3]; print("{0}.{1}.{2}".format(*version))'` @@ -16,12 +18,21 @@ EOF +# Check if the python version is 2.6.6 if [ "$_python_version" == "2.6.6" ] then ...
bash
d_bash_8272
--- +++ @@ -1,4 +1,3 @@ virtualenv -p python3 venv/ -source venv/bin/activate -pip3 install -r requirements.txt -python3 latex-on-http/app.py +venv/bin/pip3 install -r requirements.txt +venv/bin/python3 latex-on-http/app.py
bash
d_bash_8273
--- +++ @@ -16,7 +16,8 @@ -v github-private-key="$(lpass show "Shared-Flintstone"/Github --notes --sync=no)" \ -v bosh-manifest="$(sed -e 's/((/_(_(/g' /tmp/bosh-lite-in-sl.yml )" \ -v bosh_lite_name='blobstore-local-bosh-lite' \ - -v state_git_repo='git@github.com:cloudfoundry/bits-service-private-config.g...
bash
d_bash_8274
--- +++ @@ -27,3 +27,7 @@ sed -i "s#slots *.*#slots ${SLOT_CONFIG::-1}#g" new_queue_config sudo qconf -Mq new_queue_config +#reconfigure the complex configuration +qconf -sc > new_complex_config +echo "exclusive excl BOOL EXCL YES YES FALSE 0" >> new_complex_config...
bash
d_bash_8275
--- +++ @@ -24,7 +24,7 @@ SED="sed -i.bak -r -e" fi -PROVIDER_URL="https:\/\/github.com\/terraform-providers\/terraform-provider-oneandone" +PROVIDER_URL="https:\/\/github.com\/terraform-providers\/terraform-provider-oneandone\/issues" $SED "s/GH-([0-9]+)/\[#\1\]\($PROVIDER_URL\/\1\)/g" -e 's/\[\[#(.+)([0-9]...
bash
d_bash_8276
--- +++ @@ -4,7 +4,9 @@ # the original Salt package installed on the instance. # Nothing to do in case "install_salt_bundle" grain is not true -if ! grep -q '"install_salt_bundle": true' /etc/salt/grains; then +INSTALL_SALT_BUNDLE=$(salt-call --local --log-level=quiet --output=txt grains.get install_salt_bundle) ...
bash
d_bash_8277
--- +++ @@ -28,7 +28,7 @@ exit 1 fi -$OPENSSL req -new -x509 -nodes -config $OPENSSLCONFIG -out $CERTFILE -keyout $KEYFILE || exit 2 +$OPENSSL req -new -x509 -nodes -config $OPENSSLCONFIG -out $CERTFILE -keyout $KEYFILE -days 365 || exit 2 chmod 0600 $KEYFILE echo $OPENSSL x509 -subject -fingerprint -noout ...
bash
d_bash_8278
--- +++ @@ -1,7 +1,7 @@ #!/bin/bash # Install the VirtualBox Guest Additions from an ISO. -yum -y install gcc make kernel-devel-`uname -r` +yum -y install gcc kernel-devel-`uname -r` VBOX_VERSION=$(cat /tmp/.vbox_version) cd /tmp
bash
d_bash_8279
--- +++ @@ -19,6 +19,7 @@ if [ ! -f ndfdXML.wsdl ] ; then wget ${WSDL_URI} fi +rm raw/ndfd.py ../../scripts/pyxbgen \ -W "${WSDL_URI}" \ -m ndfd \
bash
d_bash_8280
--- +++ @@ -59,6 +59,8 @@ systemctl restart "$service" done +echo "Rebuilding bootstrap images" +fuel-bootstrap build --activate echo; echo echo "Master node update is <successfully complete> (log: ${LOGFILE} )"
bash
d_bash_8281
--- +++ @@ -4,3 +4,8 @@ NIGHTLY_WHEELS="https://pypi.anaconda.org/scipy-wheels-nightly/simple" STAGING_WHEELS="https://pypi.anaconda.org/multibuild-wheels-staging/simple" PRE_PIP_FLAGS="--pre --extra-index-url $NIGHTLY_WHEELS --extra-index-url $STAGING_WHEELS" + +# XXX This is necessary to deal with scipy version ...
bash
d_bash_8282
--- +++ @@ -12,7 +12,7 @@ BIN_VERSIONS="2.10.4 2.11.2" # Tools do not compile on 2.11.4 (see #1215) SBT_VERSION="2.10.4" -LIBS="library javalibEx jasmineTestFramework tools toolsJS testInterface stubs" +LIBS="library javalibEx ir irJS tools toolsJS jsEnvs testAdapter stubs testInterface" # Publish compiler fo...
bash
d_bash_8283
--- +++ @@ -10,9 +10,7 @@ match=$(curl -k $ADDRESS | grep "$LIFE_SIGN") -if [[ -n "$match" ]]; then - exit 0 -else +if [[ -z $match ]]; then echo juju-gui did not return content indicating it was loading. exit 2 fi
bash
d_bash_8284
--- +++ @@ -1,4 +1,4 @@ -fpath=(${HOME}/.config/zsh/completions ${fpath}) +fpath=("${HOME}"/.config/zsh/completions "${fpath}") setopt completealiases zstyle ':completion:*' rehash true zstyle ':completion:*' menu select
bash
d_bash_8285
--- +++ @@ -9,7 +9,7 @@ if [[ $(uname) == 'Darwin' ]]; then # MacOS - "$pip_version" install -r "$HOME/.dotfiles/pip.conf" --upgrade + "$pip_version" install -r "$HOME/.dotfiles/requirements.txt" --upgrade else # Linux if [ -f /etc/solus-release ]; then @@ -17,7 +17,7 @@ pip_version="pip" fi ...
bash
d_bash_8286
--- +++ @@ -13,7 +13,7 @@ RIAK_NODE_NAME=riak fi - RIAK_KUBERNETES_NODES=`python ./riak-discover.py` + RIAK_KUBERNETES_NODES=`python /etc/riak/poststart.d/riak-discover.py` CLUSTER_EXISTS=false
bash
d_bash_8287
--- +++ @@ -10,3 +10,4 @@ cd test/integration/ bundle install bundle exec rspec spec/automatic_dictionary +bundle exec rspec spec/lib
bash
d_bash_8288
--- +++ @@ -7,7 +7,7 @@ ## Install nova-docker -git clone https://github.com/stackforge/nova-docker /tmp/nova-docker +git clone https://github.com/gwdg/nova-docker /tmp/nova-docker cd /tmp/nova-docker git checkout stable/kilo
bash
d_bash_8289
--- +++ @@ -6,7 +6,7 @@ . ./config.sh [ -e Sources/${Module}.swift ] || ./generate-wrapper.sh if [ -z "$@" ]; then - JAZZY_ARGS='--theme fullwidth --author "Rene Hexel" --author_url https://www.ict.griffith.edu.au/~rhexel/ --github_url https://github.com/rhx/SwiftGLib --github-file-prefix https://github.com/rhx...
bash
d_bash_8290
--- +++ @@ -9,11 +9,8 @@ git fetch git pull -#### DEBUGGING -# print out version of node -node -v -# print out current user -echo "$USER" +# install dependencies +npm install # tweet node --use_strict bot.js
bash
d_bash_8291
--- +++ @@ -1,3 +1,3 @@ -source ~/.oh-my-zsh/plugins/zsh-git-prompt/zshrc.zsh +source ~/.oh-my-zsh/custom/plugins/zsh-git-prompt/zshrc.zsh # an example prompt PROMPT='%B%m@%{$fg[blue]%}$(rvm-prompt)%{$fg[white]%}%~%b$(git_super_status) %# '
bash
d_bash_8292
--- +++ @@ -21,7 +21,7 @@ # TODO(b/178456916): Leverage existing op compat definitions/specs in the # MLIR conversion pipeline in a better way. # TODO(b/180352158): Validate generated TF op names. -grep 'patterns.insert<Legalize' $1 | awk -F'<Legalize|>' '{printf " \"%s\",\n", $2}' +grep 'patterns.add<Legalize'...
bash
d_bash_8293
--- +++ @@ -10,7 +10,7 @@ if [ -z "${_APP_PROFILE}" ]; then - ${__dir}/__envi/bin/python -u ${PYTHONPATH}/amberdriver/collision_avoidance/collision_avoidance.py + ${__dir}/__envi/bin/python -u ${PYTHONPATH}/amberdriver/collision_avoidance/collision_avoidance_controller.py else ...
bash
d_bash_8294
--- +++ @@ -1,6 +1,20 @@ #!/bin/sh +make doc rm -rf doc/rst && mkdir doc/rst -make doc -pandoc --read=html --write=rst doc/leo_pod.html -o doc/rst/leo_pod.rst -pandoc --read=html --write=rst doc/leo_pod_manager.html -o doc/rst/leo_pod_manager.rst + +for Mod in leo_pod \ + leo_pod_manager +do + read_f...
bash
d_bash_8295
--- +++ @@ -14,16 +14,6 @@ # Import helper functions for use by other configuration scripts source ./config/helper-functions.sh - # Run teardown function on script exit - trap teardown EXIT - -} - -teardown() { - - # Forget admin password persisted by sudo - sudo -k - } # Prevent header code from running mo...
bash
d_bash_8296
--- +++ @@ -16,3 +16,4 @@ virtualenv -p $PYTHON venv source venv/bin/activate fi +pip install numpy
bash
d_bash_8297
--- +++ @@ -13,4 +13,4 @@ LDFLAGS=-m32 fi -[ -d deps/uuid-1.6.2 ] || (cd deps && tar xzvf uuid-1.6.2.tar.gz && cd uuid-1.6.2 && CFLAGS=$CFLAGS LDFLAGS=$LDFLAGS ./configure -disable-debug --without-perl --without-php --without-pgsql && make) +[ -d deps/uuid-1.6.2 ] || (cd deps && tar xzvfpo uuid-1.6.2.tar.gz &&...
bash
d_bash_8298
--- +++ @@ -29,6 +29,12 @@ # Solarized git clone git://github.com/altercation/vim-colors-solarized.git +# Supertab +git clone https://github.com/ervandew/supertab + +# Surround +git clone git://github.com/tpope/vim-surround.git + # Syntastic git clone --depth=1 https://github.com/vim-syntastic/syntastic.git
bash
d_bash_8299
--- +++ @@ -9,4 +9,5 @@ git checkout master && \ lein voom freshen && \ git commit -am "CircleCI automatic commit: Freshening dependencies to latest." && \ - git push origin master + git push origin master && \ + cd ..
bash