document_id
stringlengths
8
12
document
stringlengths
50
3.21k
split
stringclasses
1 value
d_bash_22800
--- +++ @@ -23,7 +23,9 @@ for distribution in ${DISTRIBUTIONS}; do for dir in ${DESTINATION}${distribution}/*/*; do - test -d $dir && run createrepo $dir + # "--checksum sha" is for CentOS 5. If we drop CentOS 5 support, + # we can remove the option. + test -d $dir && run createrepo --checksum sha $dir d...
bash
d_bash_22801
--- +++ @@ -10,7 +10,7 @@ grunt git checkout gh-pages git add dist/ -git commit --amend -m 'game update' +git commit --amend echo 'ready to be pushed!'
bash
d_bash_22802
--- +++ @@ -2,9 +2,11 @@ set -e -x -u +version=$(cat ../docs-version/version) + ci/scripts/build.sh -version=$(cat ../docs-version/version) +echo "${version}" > final_app/public/version.txt tar -cvzf "docs-${version}.tgz" final_app/public manifest.yml manifest.dev.yml mv "docs-${version}.tgz" ../final-app...
bash
d_bash_22803
--- +++ @@ -12,7 +12,8 @@ err3="Failure (at" err4="Failure(@" err5="Error: " -if ! grep -q "$err1\|$err2\|$err3\|$err4\|$err5" $log_file; then +err6="Execution halted" +if ! grep -q "$err1\|$err2\|$err3\|$err4\|$err5\|$err6" $log_file; then echo "No errors, warnings, or failures found when running unit tests....
bash
d_bash_22804
--- +++ @@ -1,2 +1,12 @@ GIT=https://github.com/redox-os/uutils.git CARGOFLAGS="--no-default-features --features redox" + +function recipe_stage { + mkdir -p "$1/bin" + ln -s uutils "$1/bin/chmod" + ln -s uutils "$1/bin/env" + ln -s uutils "$1/bin/expr" + ln -s uutils "$1/bin/install" + ln -s uuti...
bash
d_bash_22805
--- +++ @@ -11,12 +11,15 @@ export OS_IS_LINUX=true fi -function exists { which $1 &> /dev/null } +function exists { + which $1 &> /dev/null +} -function source_if_exists() { +function source_if_exists { filename=$1 - if [ -r "$filename" ]; then + if [[ -r "$filename" ]]; then sourc...
bash
d_bash_22806
--- +++ @@ -1,5 +1,4 @@ #!/bin/bash -rm -rf assets npm run build if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
bash
d_bash_22807
--- +++ @@ -2,20 +2,20 @@ source $(git rev-parse --show-toplevel)/quartet/scripts/defaults.sh -for i in '1' '2' '3' '4'; do +for i in '1' '2' '3'; do create_machine_with_proxy_setup "${MACHINE_NAME_PREFIX}" "${i}" done head_node="${MACHINE_NAME_PREFIX}-1" -for i in '2' '3' '4'; do +for i in '2' '3'; do ...
bash
d_bash_22808
--- +++ @@ -7,7 +7,7 @@ local output_name build_task_name="$1" output_name="$2" - cd "$1" + cd "$build_task_name" pushd install tar czf "../../${output_name}" . }
bash
d_bash_22809
--- +++ @@ -1,7 +1,8 @@ #!/bin/sh +#usage: sh munge/local-munge.sh targetname filetoadd.csv set -e -x - # rm -f cache/whitehall.csv && +# rm -f cache/whitehall.csv && rm -rf cache/$1 && mkdir -p cache/$1 && sh ./munge/generate-redirects.sh -s data/sites -u betademo:nottobes -w data/whitelist.txt -l "$2"...
bash
d_bash_22810
--- +++ @@ -1,3 +1,5 @@ +export HOMEBREW_CASK_OPTS="--appdir=/Applications" + # CocoaPods alias pi='pod install'
bash
d_bash_22811
--- +++ @@ -5,6 +5,8 @@ fi MAVEN_REPO=$HOME/.m2/repository export MONO_PATH=/Developer/MonoTouch/usr/lib/mono/2.1 + +cd `dirname $0` echo "Converting Java bytecode to CLR dll..." rm -f tests-core.dll
bash
d_bash_22812
--- +++ @@ -8,6 +8,7 @@ psql -c 'ALTER SCHEMA public OWNER TO stagecraft;' stagecraft psql -f '$1' stagecraft psql -c "ALTER USER stagecraft WITH PASSWORD 'securem8'" +psql -c "ALTER USER stagecraft WITH CREATEDB" EOF # psql -c 'DROP FUNCTION streaming_slave_check();' # pg_dump --encoding=SQL_ASCII --oids --cle...
bash
d_bash_22813
--- +++ @@ -4,8 +4,14 @@ then version=$1 else - echo "This script takes one argument- a version string." + echo "This script takes one required argument- a version string, and an optional argument for the tarball name fragment." exit +fi +if [ -n "$2" ] +then + name_fragment=$2 +else + name_fragment=$1 f...
bash
d_bash_22814
--- +++ @@ -2,7 +2,7 @@ repoFolder="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd $repoFolder -koreBuildZip="https://github.com/aspnet/KoreBuild/archive/rel/1.0.0.zip" +koreBuildZip="https://github.com/aspnet/KoreBuild/archive/rel/1.1.0.zip" if [ ! -z $KOREBUILD_ZIP ]; then koreBuildZip=$KOREBUILD_Z...
bash
d_bash_22815
--- +++ @@ -7,4 +7,6 @@ fi export PORT=5000 python manage.py runserver $PORT 2>&1 > /dev/null & +PID=$! behave tutorial +kill $PID
bash
d_bash_22816
--- +++ @@ -21,7 +21,9 @@ echo -n "]" } -prompt=" +termtitle="\[\e]0;\w\a\]" + +prompt="$termtitle \[$magenta\]\$(prompt_data) \[$green\]\u@\h \[$yellow\]\w \[$magenta\] \$: \[$resetclrs\]"
bash
d_bash_22817
--- +++ @@ -7,3 +7,6 @@ # Unix alias ll='ls -la' + +# Faster npm for Europeans +command -v npm > /dev/null && alias npme="npm --registry http://registry.npmjs.eu/"
bash
d_bash_22818
--- +++ @@ -1,4 +1,4 @@ tar xzvf hyperdex-1.3.dev-linux-amd64.tar.gz -C /usr/local export PATH=/usr/local/hyperdex/bin:${PATH} -hyperdex --help +hyperdex --version
bash
d_bash_22819
--- +++ @@ -19,4 +19,4 @@ done -cd $COSMIC_HOME; java -Djavax.net.ssl.trustStore=./certs/realhostip.keystore -Djsse.enableSNIExtension=false -jar $COSMIC_HOME/cloud-agent-*.jar +cd $COSMIC_HOME; java -jar $COSMIC_HOME/cloud-agent-*.jar
bash
d_bash_22820
--- +++ @@ -8,11 +8,22 @@ # Entries beginning with space aren't added into history, and duplicate # entries will be erased (leaving the most recent entry). export HISTCONTROL="ignorespace:erasedups" +# Common commands are ignored +export HISTIGNORE='ls:bg:fg:history' # Give history timestamps. export HISTTIMEFOR...
bash
d_bash_22821
--- +++ @@ -1,3 +1,6 @@ +wget http://www.silicon-software.de/download/systemsoftware/Linux/siso-rt5-5.1.2-1.x86_64.rpm +wget http://www.silicon-software.de/download/systemsoftware/Linux/siso-rt5-devel-5.1.2-1.x86_64.rpm + rpm --quiet -q siso-rt5-devel if [ $? -eq 0 ] ; then sudo rpm -e siso-rt5-devel
bash
d_bash_22822
--- +++ @@ -4,6 +4,9 @@ SCRIPT_DIR=$(dirname $0) source "${SCRIPT_DIR}/repos.sh" + +CHANGES=0 +ERROR=0 for dir in $autotools_dirs; do echo "Entering $dir" @@ -13,11 +16,35 @@ echo "Removed old autotools temporary branch" fi git checkout -q -b __autotools_update github/master - if git diff-index ...
bash
d_bash_22823
--- +++ @@ -1,8 +1,5 @@ ## Command history configuration -if [ -z "$HISTFILE" ]; then - HISTFILE=$HOME/.zsh_history -fi - +[ -z "$HISTFILE" ] && HISTFILE="$HOME/.zsh_history" HISTSIZE=10000 SAVEHIST=10000
bash
d_bash_22824
--- +++ @@ -4,7 +4,7 @@ COMPLETION_WAITING_DOTS="true" # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) -plugins=(autojump colored-man bundler code-dir command-not-found history-substring-search vi-mode web-search z chucknorris) +plugins=(colored-man code-dir command-not-fo...
bash
d_bash_22825
--- +++ @@ -6,8 +6,8 @@ #This is a list of all storage node aliases and are space seperated. There is no limit on the number of items. #You will need to modify the below line for any of the scripts in this directory to work. #storageNodes=( fogsite1 fogsite2 downtown uptown dallas houston floor1 floor2 japan uk ) ...
bash
d_bash_22826
--- +++ @@ -1,8 +1,14 @@ #!/usr/bin/env bash set -e + +if [[ "$1" == "" ]] || [[ ! -f "$1" ]]; then + echo "Argument to script must be a Grib2 CSV file." + exit 1 +fi + DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" pushd $DIR/.. cabal build - dist/build/habsim/habsim > $DIR/flight_path.js + dist/...
bash
d_bash_22827
--- +++ @@ -1,10 +1,11 @@ # Take from and modified http://sleepycoders.blogspot.de/2013/03/sharing-travis-ci-generated-files.html?_escaped_fragment_#! if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo -e "Starting to update gh-pages\n" - + + TEMP_DIR=/tmp/deploy #copy data we're interested in to other pl...
bash
d_bash_22828
--- +++ @@ -2,7 +2,8 @@ COMMIT_RANGE="$1" -BASE_URL="https://github.com/owncloud/core/issues/" +REPO=`git remote -v | grep -m 1 "(push)" | sed -e "s/.*github.com[:/]\(.*\)\.git.*/\1/"` +BASE_URL="https://github.com/$REPO/issues/" if test -z "$1"; then echo "This script builds changelog entries based on merg...
bash
d_bash_22829
--- +++ @@ -1,6 +1,6 @@ #!/bin/sh -OUT="$(find "$(dirname "$0")/../packaging/dbscripts" | grep -P '^\d{2}_\d{2}_\d{2,8}' -o | sort | uniq -d)" +OUT="$(find "$(dirname "$0")/../packaging/dbscripts" -exec basename {} \; | grep -P '^\d{2}_\d{2}_\d{2,8}' -o | sort | uniq -d)" if [ -n "${OUT}" ]; then echo "Found ...
bash
d_bash_22830
--- +++ @@ -13,5 +13,4 @@ npm install -npm run browserify npm run coverage-html
bash
d_bash_22831
--- +++ @@ -2,3 +2,4 @@ export PATH=$PATH:$HOME/bin export GOPATH=$HOME/go export PATH=$PATH:$GOPATH/bin +export PATH=node_modules/.bin:$PATH
bash
d_bash_22832
--- +++ @@ -10,4 +10,4 @@ pagekite.py --isfrontend --ports=4443 --protos=https --domain=https:*.$DOMAIN:$SECRET --authdomain=$DOMAIN & -./target/release/registration_server --config-file=$ROOT_DIR/config.json +./target/release/registration_server --config-file=$ROOT_DIR/config.toml
bash
d_bash_22833
--- +++ @@ -1,4 +1,6 @@ #!/usr/bin/env bash + +set -e source common.sh set -e
bash
d_bash_22834
--- +++ @@ -27,7 +27,7 @@ ovf_file=`fetch_bosh_lite_ovf` template_path="${FULL_PATH}/templates/virtualbox.json" - ./packer build -var "source_path=${ovf_file}" -var "build_number=${GO_PIPELINE_COUNTER}" $template_path + packer build -var "source_path=${ovf_file}" -var "build_number=${GO_PIPELINE_COUNTER}" $...
bash
d_bash_22835
--- +++ @@ -28,3 +28,7 @@ fi export JAVA_HOME LD_LIBRARY_PATH + +if [ -d "${JAVA_HOME}\bin" ]; then + export PATH="${JAVA_HOME}\bin:${PATH}" +fi
bash
d_bash_22836
--- +++ @@ -7,4 +7,7 @@ brew install php56-xdebug brew install php56-memcached php56-redis + brew install php56-libsodium php56-mongo + + brew install composer phplint wp-cli fi
bash
d_bash_22837
--- +++ @@ -1,7 +1,8 @@ #!/bin/bash # Coverage reporting -sbt stage coveralls +sbt clean coverage test +sbt coveralls # Deployment to Heroku if [ "$TRAVIS_BRANCH" = "master" ]; then
bash
d_bash_22838
--- +++ @@ -1,5 +1,12 @@ #!/bin/sh set -e cd `dirname $0` + +if [ ! -d sneezymud/code ]; then + echo "Please run git submodule update --init" + exit 1 +fi + +echo 'gitdir: ../.git/modules/sneezymud' > sneezymud/.git docker build -t sneezy docker docker run -it --rm -v `pwd`:/home/sneezy/sneezymud-docker sn...
bash
d_bash_22839
--- +++ @@ -16,6 +16,8 @@ else CFLAGS="-I/usr/local/ssl/include" LDFLAGS="-L/usr/local/ssl/lib" ${PYBIN}/pip wheel cryptography -w /io/wheelhouse/ -f /io/wheelhouse ${PYBIN}/pip wheel -r /io/dev-requirements.txt -w /io/wheelhouse/ -f /io/wheelhouse || true + # Do another run allowing ...
bash
d_bash_22840
--- +++ @@ -10,7 +10,7 @@ export LD_LIBRARY_PATH=. dotnet restore -dotnet build LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj -f netcoreapp1.0 +dotnet build LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj -f netcoreapp1.0 /property:ExtraDefine="$EXTRADEFINE" dotnet test LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj -...
bash
d_bash_22841
--- +++ @@ -2,7 +2,8 @@ sudo apt update sudo apt install libsilo-dev -curl -L -O https://wci.llnl.gov/content/assets/docs/simulation/computer-codes/silo/silo-4.10.2/silo-4.10.2-bsd-smalltest.tar.gz -tar xfz silo-4.10.2-bsd-smalltest.tar.gz -sudo cp silo-4.10.2-bsd/src/silo/silo_exports.h /usr/include +# As of 202...
bash
d_bash_22842
--- +++ @@ -12,3 +12,5 @@ alias gffs='git flow feature start' alias gffd='git flow feature finish' + +alias gitsync='for remote in `git branch -r`; do git branch --track $remote; done'
bash
d_bash_22843
--- +++ @@ -27,18 +27,18 @@ shift $((OPTIND-1)) # Expand any aliases of the command (argument $1) - result=$(alias "$1" 2> /dev/null) - [[ $? -eq 0 ]] && command=($(echo "$result" | head -n1 | sed -e "s/[^=]*=\(.*\)/\1/" -e "s/^'//" -e "s/'$//" )) || command=("$1") - shift + while result="$(alias "$1" 2> ...
bash
d_bash_22844
--- +++ @@ -17,13 +17,15 @@ # Use video title as file name. alias yt="youtube-dl -t" +alias vi="vim" alias vundle="vim +PluginInstall +qall" alias bx="bundle exec" -alias rake="bundle exec rake" -alias rspec="bundle exec rspec" -alias rk="rake" +alias cdgr="cd `git root`" alias git="hub" alias mk="make" +alia...
bash
d_bash_22845
--- +++ @@ -1,4 +1,9 @@ #!/bin/bash + +if [ ! -d archives ] +then + mkdir archives; +fi cd archives; for url in `cat ../url_list`
bash
d_bash_22846
--- +++ @@ -19,7 +19,7 @@ --world /home/quentinbd/mff-creative/worlds/minetestforfun-creative/ \ --config /home/quentinbd/mff-creative/minetest.conf \ --gameid minetestforfun_creative \ - --port 30091 \ + --port 30088 \ # --logfile $DEBUG sleep 25
bash
d_bash_22847
--- +++ @@ -1,13 +1,12 @@ #!/usr/bin/env bash -now() { - date +%s%N -} +set -euo pipefail -time_zero=$(now) +now() { date +%s%N; } +export DOTFILES_START=${DOTFILES_START:-$(now)} log () { - timestamp=$(( ( $(now) - time_zero ) / 1000 )) + timestamp=$(( ( $(now) - DOTFILES_START ) / 1000 )) timestamp="$...
bash
d_bash_22848
--- +++ @@ -3,7 +3,7 @@ alias dklc='docker ps -l' # List last Docker container alias dklcid='docker ps -l -q' # List last Docker container ID -alias dklcip="docker inspect `dklcid` | grep IPAddress | cut -d '\"' -f 4" # Get IP of last Docker container +alias dklcip="docker inspect `docker ps -l -q` | grep IPAd...
bash
d_bash_22849
--- +++ @@ -11,6 +11,7 @@ if [ "$TRAVIS_BRANCH" == "master" ]; then # Deploy to staging on a merge to master ember deploy -e staging + DOMAIN=aptible-sandbox.com SUBDOMAIN_SUFFIX=test ember deploy -e sandbox elif [ "$TRAVIS_BRANCH" == "release" ]; then # Deploy to production on a merge to release ember...
bash
d_bash_22850
--- +++ @@ -11,8 +11,7 @@ cp -a json-logs/samples/rtm/. ../seratch-slack-types/json/rtm-api/ cp -a json-logs/samples/scim/. ../seratch-slack-types/json/scim-api/ cp -a json-logs/samples/app-backend/dialogs/. ../seratch-slack-types/json/app-backend/dialogs/ -cp -a json-logs/samples/app-backend/interactive-messages/...
bash
d_bash_22851
--- +++ @@ -2,11 +2,5 @@ set -e -export PATH="$HOME/.cargo/bin:$PATH" - -if ! [ -x "$(command -v alacritty)" ]; then - cargo install --git https://github.com/jwilm/alacritty --branch scrollback -fi - -sudo pip3 install pipenv +pip3 install pipenv --user yarn global add i3-style
bash
d_bash_22852
--- +++ @@ -22,8 +22,4 @@ export LSCOLORS="Gxfxcxdxbxegedabagacad" -function oh_my_zsh_theme_precmd() { - # Blank function; override this in your themes -} - source "$ZSH/themes/$ZSH_THEME.zsh-theme"
bash
d_bash_22853
--- +++ @@ -10,6 +10,7 @@ export OPAMYES=1 opam init +opam pin git https://github.com/samoht/ocaml-git.git opam install ${OPAM_PACKAGES} eval `opam config env`
bash
d_bash_22854
--- +++ @@ -8,8 +8,13 @@ # Commit all changed work git commit -m "Release version $tag and update docs" --author="orbit-tools <orbit@ea.com>" +# Tag commit with the intended release tag (without the underscore) +git tag $tag +git push origin master --tags + # Get commit id commitId=$(git rev-parse HEAD) +echo C...
bash
d_bash_22855
--- +++ @@ -5,3 +5,8 @@ import mailtools.sh setVar 'TTPR_timeout' 480 + +#Make sure instance and domain is running +PREPS='cleanUpInstAndDomainAtStart mkDomain startDomain mkInst startInst' +FINS='cleanUpInstAndDomainAtStop' +
bash
d_bash_22856
--- +++ @@ -1,6 +1,6 @@ #!/bin/sh # FIXME(bogdando) remove after the rabbitmq-server v3.5.7 released -wget https://raw.githubusercontent.com/rabbitmq/rabbitmq-server/stable/packaging/common/rabbitmq-server-ha.ocf \ +wget https://raw.githubusercontent.com/rabbitmq/rabbitmq-server/stable/scripts/rabbitmq-server-ha.oc...
bash
d_bash_22857
--- +++ @@ -5,6 +5,12 @@ if [ ${#files[@]} -lt 3 ]; then echo -e "[ _ERROR_ ] \033[0;31m"The package \"${1}\" is not large enough to import using package."\033[0m" echo -e "[ _ERROR_ ] \033[0;31m"Please use \"include\" instead on files from ${1}."\033[0m" + exit + fi + + if [[ ${files[@]} =~ ${BASH_SOU...
bash
d_bash_22858
--- +++ @@ -16,5 +16,5 @@ ./bin/skeleton-dev-$SITE_TYPE-site collectstatic --noinput cd src/jmbo-foundry -....//bin/setuptest-runner setup.py test +../../bin/setuptest-runner setup.py test cd -
bash
d_bash_22859
--- +++ @@ -27,7 +27,6 @@ access_key_id: $aws_access_key_id secret_access_key: $aws_secret_access_key EOF - set -x echo "Using BOSH CLI version..." bosh version
bash
d_bash_22860
--- +++ @@ -1,24 +1,27 @@ #!/bin/sh -# Script for removing the existing boblight library and replacing it with Hyperion +# Script for downloading and installing the latest Hyperion release -# First stop the current BobLight demon and XBMC -initctl stop xbmc -initctl stop boblight +# Make sure that the boblight d...
bash
d_bash_22861
--- +++ @@ -7,9 +7,9 @@ exit 1 fi -local_config_dir="$(dirname "$(realpath "$0")")/../config" +local_config_dir="$(dirname "$(realpath "$0")")/../configs" docker run \ - -v "$local_config_dir":/srv/query-coordinator/config \ - -e SERVER_CONFIG="configs/application.conf" \ + -v "$local_config_dir":/srv/query...
bash
d_bash_22862
--- +++ @@ -11,7 +11,4 @@ echo "PREFIX := $PREFIX" >> Makefile.conf -make -C fasm-plugin install -j$CPU_COUNT -make -C xdc-plugin install -j$CPU_COUNT -make -C params-plugin install -j$CPU_COUNT -make -C selection-plugin install -j$CPU_COUNT +make install -j$CPU_COUNT
bash
d_bash_22863
--- +++ @@ -2,7 +2,7 @@ sudo yum install -y awslogs -mkdir -p /var/awslogs/state +sudo mkdir -p /var/awslogs/state cat << EOF | sudo tee /etc/awslogs/awslogs.conf [general]
bash
d_bash_22864
--- +++ @@ -5,3 +5,5 @@ alias irb=pry alias railsc='pry -r ./config/environment' alias fs='foreman start' + +alias rr='rubocop -R'
bash
d_bash_22865
--- +++ @@ -19,7 +19,7 @@ function recipe_build { sysroot="$(realpath ../sysroot)" set -x - "${CXX}" -O2 -I "$sysroot/include" -L "$sysroot/lib" gears.c -o gears -static -lorbital $("${PKG_CONFIG}" --libs glu) -lglapi -lz + "${CXX}" -O2 -I "$sysroot/include" -L "$sysroot/lib" gears.c -o gears -static...
bash
d_bash_22866
--- +++ @@ -8,7 +8,7 @@ export GBT_CAR_HOSTNAME_FORMAT=' {{ User }}@{{ Host }} ' export GBT_CAR_HOSTNAME_USER_FG='cyan' export GBT_CAR_HOSTNAME_USER_TEXT='\u' -export GBT_CAR_HOSTNAME_HOST_TEXT="$HOSTNAME" +export GBT_CAR_HOSTNAME_HOST_TEXT="${HOSTNAME:-$HOST}" export GBT_CAR_DIR_DIR_TEXT='\d'
bash
d_bash_22867
--- +++ @@ -17,9 +17,11 @@ else echo "pre-commit hook already present, please remove .git/hooks/pre-commit"; fi -if file_or_link "${ROOT}/.clang-format" ; then - echo "create symlink for clang-format style file"; - ln -rs "${ROOT}/scripts/clang-format" "${ROOT}/.clang-format" -else - echo "clang-forma...
bash
d_bash_22868
--- +++ @@ -5,11 +5,11 @@ exit 1 fi -local human tmp=$1 -local days=$(( tmp / 60 / 60 / 24 )) -local hours=$(( tmp / 60 / 60 % 24 )) -local minutes=$(( tmp / 60 % 60 )) -local seconds=$(( tmp % 60 )) +local human total_seconds=$1 +local days=$(( total_seconds / 60 / 60 / 24 )) +local hours=$(( total_seconds / 60...
bash
d_bash_22869
--- +++ @@ -11,14 +11,16 @@ cd "build" || (echo "could not enter distdir build"; exit 1) -BEGIN_FOLD unit-tests if [ "$RUN_TESTS" = "true" ] && ! { [ "$HOST" = "i686-w64-mingw32" ] || [ "$HOST" = "x86_64-w64-mingw32" ]; }; then + BEGIN_FOLD unit-tests travis_wait 50 DOCKER_EXEC LD_LIBRARY_PATH=$TRAVIS_BUILD...
bash
d_bash_22870
--- +++ @@ -10,7 +10,7 @@ title: Configuration --- -\`\`\` +\`\`\`yaml `cat ./docs/config.yaml` \`\`\`
bash
d_bash_22871
--- +++ @@ -2,6 +2,9 @@ mkdir build cd build + +export CFLAGS="${CFLAGS} -I ${PREFIX}/include/eigen3" +export CXXFLAGS="${CXXFLAGS} -I ${PREFIX}/include/eigen3" cmake $CMAKE_ARGS -GNinja \ -DCMAKE_BUILD_TYPE:STRING=Release \
bash
d_bash_22872
--- +++ @@ -3,5 +3,5 @@ read -p "Are you sure you want to run clang-format on all files in src/? (y/n) " -n 1 -r echo if [[ $REPLY =~ ^[Yy]$ ]]; then - find src/ -iname "*.hpp" -o -iname "*.cpp" -exec clang-format -i {} \; + find src/ \( -iname "*.hpp" -o -iname "*.cpp" \) -exec clang-format -i {} \; fi
bash
d_bash_22873
--- +++ @@ -5,4 +5,6 @@ docker-compose pull docker-compose up -d +docker images -q | xargs docker rmi || true + popd
bash
d_bash_22874
--- +++ @@ -22,6 +22,6 @@ cd ${ROOT_DIR?} rm -rf build/ mkdir build && cd build -cmake -DIREE_BUILD_COMPILER=OFF -DIREE_BUILD_TESTS=ON -DIREE_BUILD_SAMPLES=OFF -DIREE_BUILD_DEBUGGER=OFF .. +cmake -DIREE_BUILD_COMPILER=ON -DIREE_BUILD_TESTS=ON -DIREE_BUILD_SAMPLES=OFF -DIREE_BUILD_DEBUGGER=OFF .. cmake --build . ...
bash
d_bash_22875
--- +++ @@ -2,7 +2,7 @@ version=$(cat $VERSION_FILE) cd git-bits-service-release -echo "$PRIVATE_YML_CONTENT" > config/private.yml +echo $PRIVATE_YML_CONTENT > config/private.yml bosh2 -n sync-blobs --parallel 10 bosh2 create-release --force --name bits-service --tarball ../releases/bits-service-$version.tgz ...
bash
d_bash_22876
--- +++ @@ -14,12 +14,12 @@ post_title="$*" post_title="${post_title:-Demo Draft}" +post_date="`date +%FT%T`+08:00" post_name=`date +%F` for each_arg in ${post_title}; do post_name="${post_name}-${each_arg}" done post_name="${post_name}.md" - draft_path="${POSTS_DIR}/${post_name}" @@ -27,7 +27,7 @@ ...
bash
d_bash_22877
--- +++ @@ -12,7 +12,7 @@ dart test || EXIT_CODE=$? popd -pushd examples/integration_tests/postgres +pushd extras/integration_tests/postgres echo "Running integration tests with Postgres" dart pub upgrade dart test || EXIT_CODE=$?
bash
d_bash_22878
--- +++ @@ -2,13 +2,13 @@ clear -BASE=clients +JAR=repo/com/tilab/jade/4.4.0/jade-4.4.0.jar echo "Starting the JADE server." -java -cp $BASE/jade.jar jade.Boot -gui & +java -cp $JAR jade.Boot -gui & if [ $? -ne 0 ]; then - echo "It was not possible to run the jade server. Check your $BASE dir for the ja...
bash
d_bash_22879
--- +++ @@ -1,6 +1,9 @@ #!/bin/bash -GIT_VER=$(git rev-parse --short HEAD) +GIT_VER=$(git rev-parse --short HEAD 2>/dev/null) +if [ -z "${GIT_VER}" ]; then + GIT_VER=unspecified +fi update_ver() { cat src/version.h.in | sed s,{{GIT_VER}},${GIT_VER},g
bash
d_bash_22880
--- +++ @@ -43,3 +43,6 @@ # Atom editor config files symlinks mkdir -p ~/.atom ln -sfv "${REPO_DIR}/dotfiles/.atom/*" ~/.atom/ + +# Change keyboard layout to Dvorak +localectl set-keymap dvorak
bash
d_bash_22881
--- +++ @@ -1,5 +1,5 @@ #!/bin/bash -SESSION=x +SESSION=0 DEV_ROOT=~/dev WORK_REPOSITORY=actano/rplan
bash
d_bash_22882
--- +++ @@ -1,7 +1,7 @@ #!/bin/bash set -eux -VAULT_VERSION=0.2.0 +VAULT_VERSION=0.3.1 mkdir -p $HOME/bin
bash
d_bash_22883
--- +++ @@ -5,10 +5,13 @@ echo -n ${RETRY_URNS[*]} } -# Concatinate $TEST_NAMES into cucumber args +# Concatinate $TEST_NAMES into cucumber regexp args function cucumber_testname_args { for TEST_NAME in "${TEST_NAMES[@]}" do - echo -n "-n '^$TEST_NAME\$' " + printf -- '-n' + TEST_NAME=${TEST_NAM...
bash
d_bash_22884
--- +++ @@ -18,4 +18,4 @@ sudo cp ./config/mongodb_dev.conf /etc/mongod.conf -sudo service mongodb start +sudo service mongod start
bash
d_bash_22885
--- +++ @@ -1,5 +1,5 @@ #!/bin/sh -old_tag=`git describe | sed 's/-g.*//'` +old_tag=`git describe | sed 's/-.*//'` echo Old tag is $old_tag echo New tag? read new_tag
bash
d_bash_22886
--- +++ @@ -9,7 +9,7 @@ #$ -l scratch=1G #$ -r y #$ -N loop -#$ -p -4 +#$ -p -10 #$ -t 1-iteration #####node limitation #####$ -l modloop
bash
d_bash_22887
--- +++ @@ -1,14 +1,11 @@ #!/usr/bin/env bash -# Make sure you have berks installed. Run `bundle exec install --without production development test` to install the chef group from the project Gemfile. - -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -cd $DIR +BASEDIR=$(dirname $0) +cd $BASEDIR BERKS_B...
bash
d_bash_22888
--- +++ @@ -1,9 +1,12 @@ #!/bin/bash +if[ -f /etc/init.d/nginx ]; then + ps aux | grep "nginx: master process" | grep -v grep | awk ' { print $2 } ' | xargs kill + /bin/rm -f /etc/init.d/nginx + /usr/sbin/update-rc.d nginx remove +fi -/usr/sbin/service stop nginx -/usr/sbin/service stop haproxy -set -e -/bin/...
bash
d_bash_22889
--- +++ @@ -14,7 +14,7 @@ export CLASSPATH="${CONF_DIR}:${LIB_DIR}/*" JVM_ARGS="-Xmx256m -Xms128m" JVM_ARGS="${JVM_ARGS} -Dlogging.config=${CONF_DIR}/log4j2-error-console.xml" -JVM_ARGS="${JVM_ARGS} -Dlog4j.configurationFile=${THIS_DIR}/log4j2-error-console.xml" +JVM_ARGS="${JVM_ARGS} -Dlog4j.configurationFile=${C...
bash
d_bash_22890
--- +++ @@ -8,10 +8,10 @@ mv doc openfisca.org/doc cd openfisca.org git fetch # Make sure we are up to date with git remote branches -git add . +git add --all git config --global user.name "OpenFisca-Bot" git config --global user.email "bot@openfisca.org" -git commit --message="Push from openfisca doc" +git dif...
bash
d_bash_22891
--- +++ @@ -14,6 +14,4 @@ # git config --global core.editor vim # git config --global color.ui = true -apt-get install -y openjdk-6-jre -apt-get install -y graphviz -apt-get install -y libncurses5 +apt-get install -y openjdk-6-jre graphviz libncurses5 libncurses5-dev make g++
bash
d_bash_22892
--- +++ @@ -2,23 +2,41 @@ set -e -rm -rf lib - BRANCH_NAME='latest' +set +e +git branch -D ${BRANCH_NAME} +set -e + +rm -rf lib +rm -rf node_modules + npm version patch +git branch ${BRANCH_NAME} git checkout ${BRANCH_NAME} -git merge master +npm install grunt build +rm -rf node_modules +npm install --pr...
bash
d_bash_22893
--- +++ @@ -1,6 +1,10 @@ #!/bin/bash RHIZO_DIR="/var/rhizomatica/rrd" + +for default in 0 1 2 3 4 5 ; do + eval _channels_$default=0:0 +done mybts=`echo "show bts" | nc localhost 4242 | grep BTS | awk '{ print $2 }'`
bash
d_bash_22894
--- +++ @@ -2,6 +2,9 @@ apt-get upgrade -y && \ apt-get install -y -q curl git htop vim && \ adduser deployer --gecos "" && \ - adduser deployer sudo' -ssh -t deployer@$1 'ssh-keygen' -scp ~/.ssh/id_rsa.pub deployer@$1:"~/.ssh/authorized_keys" + ...
bash
d_bash_22895
--- +++ @@ -3,7 +3,7 @@ compiler_rt_revision=release_80 libcxx_revision=release_80 polly_revision=release_80 -ndk_version=android-ndk-r18 +ndk_version=android-ndk-r20 clang_repository=http://llvm.org/git/clang.git llvm_repository=http://llvm.org/git/llvm.git
bash
d_bash_22896
--- +++ @@ -4,4 +4,4 @@ aws s3 cp $GOPATH/incus.tar s3://imgur-incus/incus-latest.tar && \ aws s3 cp $GOPATH/incus.tar s3://imgur-incus/incus-$VERSION.tar && \ - aws deploy create-deployment --application-name Incus --deployment-group-name Production --s3-location bundleType=tar,bucket=imgur-incus,key=incu...
bash
d_bash_22897
--- +++ @@ -21,10 +21,10 @@ # Install a merge driver called "ours" that is just an alias to `true`. # This is referenced by .gitattributes, to prevent conflicts with files # that are generated during the build process. -git config --add merge.ours.driver true +git config --get merge.ours.driver > /dev/null || git ...
bash
d_bash_22898
--- +++ @@ -10,24 +10,17 @@ queries_file="$work_dir/queries.txt" +queries='' if [ -f "$queries_file" ] then echo "Reading search queries from \"$queries_file\"" 1>&2 queries="$(grep -v '^\s*#' "$queries_file" | \ grep -v '^\s*$' | \ - paste -s -d " OR ")" - if [ "$queries" ...
bash
d_bash_22899
--- +++ @@ -7,3 +7,6 @@ apt-get -y upgrade apt-get -y install linux-headers-$(uname -r) build-essential +# Setup sudo for vagrant +sed -i -e 's/^%sudo.*/%sudo ALL=(ALL) NOPASSWD: ALL/' /etc/sudoers +echo 'vagrant ALL=NOPASSWD:ALL' > /etc/sudoers.d/vagrant
bash