document_id
stringlengths
8
12
document
stringlengths
50
3.21k
split
stringclasses
1 value
d_bash_15000
--- +++ @@ -2,6 +2,7 @@ PATH=$(npm bin):$PATH export DIR=$(pwd) +shouldFail=false for f in $( find . -name "test.sh" ); do cd $(dirname $f) @@ -9,9 +10,15 @@ bash ./test.sh > output.json output=$(json-diff output.json expected-output.json); if [ "$output" != " undefined" ] ; then + shouldFail=true ...
bash
d_bash_15001
--- +++ @@ -6,7 +6,7 @@ echo "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u222-b10/OpenJDK8U-jdk_x64_linux_hotspot_8u222b10.tar.gz" ;; java11) - echo "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.3%2B7/OpenJDK11U-jdk_x64_linux_hotspot_11.0.3_7.tar...
bash
d_bash_15002
--- +++ @@ -1,3 +1,4 @@ +npm rebuild hugo version hugo --theme=devopsdays-theme --buildDrafts=false --baseURL="$URL" gulp
bash
d_bash_15003
--- +++ @@ -6,14 +6,14 @@ stack_name="buildkite-aws-stack-test-${os}-${arch}-${BUILDKITE_BUILD_NUMBER}" secrets_bucket=$(aws cloudformation describe-stacks \ ---stack-name "${stack_name}" \ ---query 'Stacks[0].Outputs[?OutputKey==`ManagedSecretsBucket`].OutputValue' \ ---output text) + --stack-name "${stack_name}...
bash
d_bash_15004
--- +++ @@ -22,7 +22,7 @@ # Add the specified account. strategy_add $PHASE_FREEBSD_BOARD_INSTALL pw_create_account $1 -if [ $? -gt 2 ]; then +if [ $# -gt 2 ]; then USER=$1 shift for GROUP in $@; do
bash
d_bash_15005
--- +++ @@ -23,4 +23,11 @@ date time ./makeAcornSpreadsheet.sh -tld echo "" + +echo "----------------------------------------" +echo "==> time ./makeBritBoxSpreadsheet.sh -td" +date +time ./makeAcornSpreadsheet.sh -td +echo "" + echo "========================================"
bash
d_bash_15006
--- +++ @@ -1,6 +1,7 @@ #!/usr/bin/env bash sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y +sudo apt-get -qq update sudo apt-get -qq install gcc-5 g++-5 p7zip-full -y # Install latest boost
bash
d_bash_15007
--- +++ @@ -6,13 +6,13 @@ function backend_apache { # needed for start and stop - dir="${1}" - conf="${2}" - action="${3}" + local dir="${1}" + local conf="${2}" + local action="${3}" # Needed only for start. The "lockfile" parameter is used as flock # lock file or PID file to watch...
bash
d_bash_15008
--- +++ @@ -5,3 +5,5 @@ composer install --no-interaction php artisan migrate --no-interaction php artisan config:clear --no-interaction +npm install +npm run production
bash
d_bash_15009
--- +++ @@ -16,12 +16,13 @@ elif [[ $JHI_SONAR = 1 ]]; then echo "*** Sonar analyze locally" ./mvnw org.jacoco:jacoco-maven-plugin:prepare-agent sonar:sonar \ - -Dsonar.host.url=http://localhost:9001 + -Dsonar.host.url=http://localhost:9001 \ + -Dsonar.projectKey=JHipsterSonar ...
bash
d_bash_15010
--- +++ @@ -1,7 +1,7 @@ #!/bin/bash echo "Change format file : $1" astyle --style=kr -A3 --indent-classes --indent-namespaces --indent-col1-comments \ - --min-conditional-indent=# --max-instatement-indent=# --break-blocks \ + --min-conditional-indent=# --max-instatement-indent=40 --break-blocks \ ...
bash
d_bash_15011
--- +++ @@ -1,2 +1,24 @@ #!/bin/bash -( cat Doxyfile ; echo "PROJECT_NUMBER=`git describe '--match=release-*'`" ) | doxygen - +GATEWAY_VERSION=`git describe '--match=release-*'` + +which doxygen > /dev/null 2>&1 +DOXYGEN_INSTALLED=$? +which dot > /dev/null 2>&1 +DOT_INSTALLED=$? + +if [[ ( $DOXYGEN_INSTALLED != 0 ) ...
bash
d_bash_15012
--- +++ @@ -5,6 +5,12 @@ # phpunit.xml file. This script overwrites it. +# Do nothing on code sniff builds. +if [ "$PHPCS" == 1 ]; then + exit 0 +fi + +# Write a phpunit.xml file to use. echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?> <phpunit> <filter>
bash
d_bash_15013
--- +++ @@ -1,7 +1,9 @@ GIT=https://github.com/redox-os/cargo.git BRANCH=redox_rebase -BUILD_DEPENDS=(openssl) +BUILD_DEPENDS=(openssl zlib) function recipe_build { + export DEP_OPENSSL_ROOT="$PWD/../sysroot" export OPENSSL_DIR="$PWD/../sysroot" + export DEP_Z_ROOT="$PWD/../sysroot" }
bash
d_bash_15014
--- +++ @@ -14,7 +14,7 @@ PORT=$2 # Get plausible entry point -entry_point=$(${FGREP} "if __name__ == '__main__'|def main" -R . | tr ':' '\n' | grep ".py" | head -n 1) +entry_point=$(${FGREP} "__main__" -R . | tr ':' '\n' | grep ".py" | head -n 1) # No entry point found # default to main.go
bash
d_bash_15015
--- +++ @@ -12,7 +12,7 @@ Unity -nographics -quit -batchmode -logFile unity.log -createProject $project_path Unity -nographics -quit -batchmode -logFile unity.log -projectpath $project_path -importPackage "$package_path/Bugsnag.unitypackage" cp Main.cs unity_project/Assets/Main.cs - BUGSNAG_APIKEY=a...
bash
d_bash_15016
--- +++ @@ -9,7 +9,7 @@ else ./gradlew test fi -if [ $JHIPSTER != "app-gulp" ]; then +if [ $JHIPSTER != "app-gulp" && $JHIPSTER != "app-jwt" ]; then grunt test else gulp test
bash
d_bash_15017
--- +++ @@ -1,14 +1,14 @@ #!/bin/sh -# Under atomic, we need to make sure the 'docker' group exists in +# Under atomic, we need to make sure the 'dockerroot' group exists in # /etc/group (because /lib/group cannot be modified by usermod). -echo "making 'docker' group editable" -if ! grep -q docker /etc/group; th...
bash
d_bash_15018
--- +++ @@ -1,13 +1,46 @@ #!/bin/bash -# Take a dump from the remove server -pg_dump -C -h 50.57.77.252 -U djangoapp polio -f ~/db.sql +BACKUPDIR=sql_backups/ +COMPRESSION=4 +DATE=`date +%Y-%m-%dT%H:%M:%S` +DB=polio +HOST=50.57.77.252 +USER=djangoapp -# drop the polio DB if it exists and create it again -psql <<...
bash
d_bash_15019
--- +++ @@ -1,6 +1,6 @@ function get_random_rgb_from_cwd () { local color=$1; - printf $(python -c "import random; import os; random.seed('$color' + os.getcwd()); print (random.randint(0,255)+255)/2") + printf $(python -c "import random; import os; random.seed('$color' + os.getcwd()); print((random.randint(0,25...
bash
d_bash_15020
--- +++ @@ -1,4 +1,4 @@ # sup yarn # https://yarnpkg.com -export PATH="$HOME/.yarn/bin:$PATH" +export PATH="$PATH:`yarn global bin`"
bash
d_bash_15021
--- +++ @@ -16,10 +16,20 @@ exit 0 fi -scripts/reformat-source || echo 'Warning: clang-format not available, skipping reformat-source' & -scripts/reformat-cmake || echo 'Warning: Unable to reformat CMake code.' & -scripts/reformat-markdown || echo 'Warning: Unable to reformat Markdown code.' & -scripts/reformat-...
bash
d_bash_15022
--- +++ @@ -12,7 +12,7 @@ fi export PATH=$CONDA_PATH/bin:$PATH -echo "python==3.7" > $CONDA_PATH/conda-meta/pinned +#echo "python==3.7" > $CONDA_PATH/conda-meta/pinned #echo "conda-build==3.14.0" >> $CONDA_PATH/conda-meta/pinned conda install -y python
bash
d_bash_15023
--- +++ @@ -1,12 +1,38 @@ -make -if [ ! -e text8 ]; then - wget http://mattmahoney.net/dc/text8.zip -O text8.gz - gzip -d text8.gz -f -fi +DATA_DIR=../data +BIN_DIR=../src + +TEXT_DATA=$DATA_DIR/text8 +PHRASES_DATA=$DATA_DIR/text8-phrases +PHRASES_VECTOR_DATA=$DATA_DIR/vectors-phrase.bin + echo -------------------...
bash
d_bash_15024
--- +++ @@ -1,6 +1,6 @@ #!/bin/sh -jspm bundle --minify --skip-source-maps x-retro + raw + snes9x-next bundle.js +node --max_old_space_size=4096 ./node_modules/jspm/jspm.js bundle --minify --skip-source-maps x-retro + raw + snes9x-next + gambatte + vba-next + nestopia + gw + vecx bundle.js cat jspm_packages/syste...
bash
d_bash_15025
--- +++ @@ -15,7 +15,8 @@ autoreconf --install --force --warnings=all cd src/cpp-ethereum -if [$# -ne 3]; then +if [ $# -ne 3 ] +then git submodule update --init ./scripts/install_deps.sh cmake .
bash
d_bash_15026
--- +++ @@ -7,7 +7,7 @@ # This script is to automate the killing of this process. ######################################### ########################################################### -pidOfPythonProcessListeningOnPort7770=$(netstat -laputen | grep ":7770" | awk '{ print $9}' | cut -d '/' -f 1); +pidOfPythonProce...
bash
d_bash_15027
--- +++ @@ -17,7 +17,7 @@ TMP=$(mktemp -d) # store the files -rsync build/doc/html/* $TMP/ +rsync -r build/doc/html/* $TMP/ # go the the gh-pages branch and add them git checkout gh-pages @@ -26,7 +26,7 @@ rm -r $(find . -maxdepth 1 -not -path "./.git" -not -path '.') # copy it in -rsync $TMP/* ./ +rsync...
bash
d_bash_15028
--- +++ @@ -15,6 +15,8 @@ brew cask install resilio-sync brew cask install microsoft-teams + +# brew cask install microsoft-office brew cask install visual-studio-code
bash
d_bash_15029
--- +++ @@ -1,15 +1,18 @@ #!/bin/bash -ex + +if uname | grep -i Linux &>/dev/null; then sudo apt-get update sudo apt-get install python-dev python3-dev python-pip python3-pip libglib2.0-dev +fi # Update all submodules git submodule update --init --recursive -# Install Python dependencies -sudo pip install -U...
bash
d_bash_15030
--- +++ @@ -1,25 +1,26 @@ #!/bin/bash -# Make cron -echo "@monthly root $PWD/monthlybackup.sh\n" >> /etc/cron.d/s3_cron -echo -echo "@daily root $PWD/dailymirror.sh" >> /etc/cron.d/s3_cron +# Introduction +echo "Welcome. Please fill out the following information to setup your LinuxS3_Cron." # Configure locatio...
bash
d_bash_15031
--- +++ @@ -13,6 +13,9 @@ # Install aws cli tools sudo apt-get install -y awscli +# Install git +sudo apt-get install -y git + # Install lxc sudo apt-get install -y libcgmanager0 lxc
bash
d_bash_15032
--- +++ @@ -14,14 +14,19 @@ # Install the required packages pacman --noconfirm -S --needed \ base-devel \ - mingw-w64-$MSYS2_ARCH-toolchain \ + mingw-w64-$MSYS2_ARCH-gobject-introspection mingw-w64-$MSYS2_ARCH-meson \ mingw-w64-$MSYS2_ARCH-ninja \ mingw-w64-$MSYS2_ARCH-pkg-config \ - mi...
bash
d_bash_15033
--- +++ @@ -1,3 +1,18 @@ #!/bin/bash -echo 'FINISH this Jenkins script!' +if [ "$R6RSVER" == chez ]; then + + cd src + make + +elif [ "$R6RSVER" == plt ]; then + + cd src + make wsparse + make aggregated + make pltbc + +else + echo "R6RSVER is not set to a known setting! ($R6RSVER)" + exit...
bash
d_bash_15034
--- +++ @@ -7,7 +7,7 @@ trap exit SIGHUP SIGINT SIGTERM function issue_cert () { - if [ "$(ping -c1 -n $domain | head -n1 | sed 's/.*(\([0-9]*\.[0-9]*\.[0-9]*\.[0-9]*\)).*/\1/g')" == "$IP" ]; then + if [ "$(ping -c1 -n $1 | head -n1 | sed 's/.*(\([0-9]*\.[0-9]*\.[0-9]*\.[0-9]*\)).*/\1/g')" == "$IP" ]; then ...
bash
d_bash_15035
--- +++ @@ -5,7 +5,7 @@ echo -n $MYSQL > /etc/linux.feature/mysql-pwd -mysql --connect-expired-password -u root -p`cat /var/log/mysqld.log | grep "password is generated" | tail -n 1 | awk {'print $NF'}` <<_EOF_ +mysql --connect-expired-password -u root -p`cat /var/log/messages /var/log/mysqld.log | grep "passwor...
bash
d_bash_15036
--- +++ @@ -12,7 +12,7 @@ export RUN_UNIT_TESTS=false export RUN_FUNCTIONAL_TESTS=false export RUN_FUZZ_TESTS=true -export FUZZ_TESTS_CONFIG="--valgrind" +export FUZZ_TESTS_CONFIG="--exclude integer,parse_iso8601 --valgrind" export GOAL="install" export BITCOIN_CONFIG="--enable-fuzz --with-sanitizers=fuzzer CC=c...
bash
d_bash_15037
--- +++ @@ -7,7 +7,7 @@ cabal install --only-dependencies --enable-tests git clone https://github.com/ndmitchell/neil (cd neil && cabal install --flags=small --verbose) -export PATH=~/.cabal/bin:$PATH +export PATH=/home/travis/.cabal/bin:$PATH echo $PATH ~/.cabal/bin/neil --help neil --help
bash
d_bash_15038
--- +++ @@ -23,7 +23,8 @@ cat > config/private.yml << EOF --- blobstore: - s3: + provider: s3 + options: access_key_id: $AWS_ACCESS_KEY_ID secret_access_key: $AWS_SECRET_ACCESS_KEY EOF
bash
d_bash_15039
--- +++ @@ -1,5 +1,8 @@ #!/usr/bin/env bash set -e + +echo "::group::make requirements" +trap 'echo "::endgroup::"' EXIT make requirements git --no-pager diff
bash
d_bash_15040
--- +++ @@ -14,22 +14,22 @@ #----------------------------------------------------------------------------- echo "Updating packages" apt-get update -apt-get -q -y upgrade - -echo "Installing VirtualBox Guest Additions" -apt-get -q -y install virtualbox-guest-x11 +apt-get -y upgrade echo "Installing Kali top 10 t...
bash
d_bash_15041
--- +++ @@ -8,4 +8,3 @@ # Install nginx. sudo apt-get update sudo apt-get install -y nginx realpath -sudo apt-get install libgmp10
bash
d_bash_15042
--- +++ @@ -8,10 +8,10 @@ export CXXFLAGS="-stdlib=libc++" fi +export GTEST_BRIEF=1 mkdir build && cd build cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_DEMOS=ON -DBUILD_SCHEMA_TESTS=ON .. make make unittest -
bash
d_bash_15043
--- +++ @@ -7,6 +7,7 @@ alias gac='git commit -am' alias gpull='git pull origin master' alias gr='git rm' +alias gtree='git log --pretty=oneline --graph --decorate --all' alias ll='ls -l'
bash
d_bash_15044
--- +++ @@ -11,9 +11,9 @@ service mysql stop -apt-get install python-software-properties +apt-get install software-properties-common apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db -add-apt-repository 'deb [arch=amd64,i386] http://mirrors.accretive-networks.net/mariadb/repo/...
bash
d_bash_15045
--- +++ @@ -1,8 +1,8 @@ #!/bin/sh # Workaround for https://github.com/GoogleChrome/puppeteer/issues/290 -sudo apt-get update -sudo apt-get install -yq gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 \ +apt-get update +apt-get install -yq gconf-service libasound2 libatk1.0-0 libc6 libcair...
bash
d_bash_15046
--- +++ @@ -1,4 +1,4 @@ #!/usr/bin/env bash -GOOS=linux GOARCH=amd64 go build -o bin/data-downloader-limux-amd64 main.go +GOOS=linux GOARCH=amd64 go build -o bin/data-downloader-linux-amd64 main.go GOOS=windows GOARCH=amd64 go build -o bin/data-downloader-windows-amd64.exe main.go GOOS=darwin GOARCH=amd64 go b...
bash
d_bash_15047
--- +++ @@ -9,8 +9,6 @@ export ACLOCAL fi -autoreconf -i -f - for dir in $GETTEXT_DIR /usr/share/gettext; do if test -f $dir/config.rpath; then /bin/cp -f $dir/config.rpath . @@ -18,3 +16,4 @@ fi done +autoreconf -i -f
bash
d_bash_15048
--- +++ @@ -4,19 +4,41 @@ wifi_network_default_name=$(awk -F " = " '$1 = /wifi_network_default_name/ { print $2; }' /etc/wifi_test_framework.conf) wifi_network_default_password=$(awk -F " = " '$1 = /wifi_network_default_password/ { print $2; }' /etc/wifi_test_framework.conf) -# Disconnect previous connection -nmc...
bash
d_bash_15049
--- +++ @@ -1,5 +1,5 @@ #!/usr/bin/env bash set -e # halt script on error -bundle exec jekyll build --config ../_config.yml,./test_config.yml +bundle exec jekyll build --config ./_config.yml,./script/test_config.yml bundle exec htmlproofer ./_site
bash
d_bash_15050
--- +++ @@ -12,13 +12,6 @@ mkdir --parents ~/.local/share/gtksourceview-3.0/styles cp --preserve "jcd.xml" ~/.local/share/gtksourceview-3.0/styles/ cp --preserve ./templates/* ~/Templates/ - -#unzip -o vimacs-master.zip -#mkdir -p $HOME/.vim/doc -#mkdir -p $HOME/.vim/plugin -#cp -R vimacs-master/doc vimacs-master/...
bash
d_bash_15051
--- +++ @@ -1,5 +1,2 @@ OPAMROOT="$HOME/.opam" -export OUNIT_RUNNER="sequential" -export OUNIT_DISPLAY="true" -export OUNIT_VERBOSE="true" . $(dirname "$0")/build.bash
bash
d_bash_15052
--- +++ @@ -5,3 +5,6 @@ ln -s $DOTFILES/.tmux.conf ~/.tmux.conf ln -s $DOTFILES/.vimrc ~/.vimrc ln -s $DOTFILES/.vimrc ~/.nvimrc + +curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ + https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
bash
d_bash_15053
--- +++ @@ -23,5 +23,5 @@ pluginDir="$ROOTDIR" -java -cp "$ROOTDIR"/'lib/*':"$ROOTDIR"/StringAnnotation.jar:"${GATE_HOME}/bin/gate.jar":"${GATE_HOME}/"'lib/*' -DpluginDir="$pluginDir" -Dgate.home="$GATE_HOME" com.jpetrak.gate.stringannotation.extendedgazetteer2.GenerateCache "$@" +java -cp "$ROOTDIR"/'lib/*':"$R...
bash
d_bash_15054
--- +++ @@ -1,6 +1,7 @@ for i in ~/.vim ~/.vimrc ~/.gvimrc; do [ -e $i ] && mv $i $i.old; done git clone https://github.com/avelino/.vimrc.git ~/.vim cd ~/.vim +mkdir ~/.vim/bundles/ git submodule init && git submodule update cd ~/ ln -s ~/.vim/vimrc ~/.vimrc
bash
d_bash_15055
--- +++ @@ -6,7 +6,8 @@ echo "${HOSTNAME}" > /etc/nodename /bin/hostname ${HOSTNAME} -sed -i'' '/nameserver/d' /etc/resolv.conf +sed '/nameserver/d' /etc/resolv.conf > /tmp/resolv.conf.tmp && \ + mv /tmp/resolv.conf.tmp /etc/resolv.conf for HOST in ${RESOLVERS[@]}; do echo "nameserver ${HOST}" >> /etc/resolv...
bash
d_bash_15056
--- +++ @@ -6,7 +6,7 @@ mvn clean package -B -T 3 else if [ ${RUN_SLOW_TESTS} == 'true' ]; then - mvn clean test -B -T 3 -Pslow-tests,skip-sass + mvn clean test -B -T 2 -Pslow-tests,skip-sass else mvn clean test -B -T 3 fi
bash
d_bash_15057
--- +++ @@ -4,6 +4,10 @@ bin=`cd "$bin"; pwd` . "$bin/spark-config.sh" + +if [ -f "${SPARK_CONF_DIR}/spark-env.sh" ]; then + . "${SPARK_CONF_DIR}/spark-env.sh" +fi # Find the port number for the master if [ "$SPARK_MASTER_PORT" = "" ]; then
bash
d_bash_15058
--- +++ @@ -25,8 +25,10 @@ FLAGS="$FLAGS $PREFIX warn-raw-ptr" elif [[ "$arg" = "warn-unneeded-finalizer=1" ]]; then FLAGS="$FLAGS $PREFIX warn-unneeded-finalizer" + elif [[ "$arg" = custom_clang_lib_path=* ]]; then + CLANG_LIB_PATH="$(cd "${arg#*=}" && echo $PWD)" fi done -echo -Xclang -load -...
bash
d_bash_15059
--- +++ @@ -6,14 +6,17 @@ brew tap caskroom/fonts brew tap railwaycat/emacsmacport +brew tap homebrew/cask-drivers brew cask install emacs-mac +brew cask install iterm2 +brew cask install yubico-yubikey-manager brew install aspell brew install automake # Tool for generating GNU compliant Makefiles +bre...
bash
d_bash_15060
--- +++ @@ -10,7 +10,7 @@ srcsnaps="$(zfs list -t snapshot -o name -H $1 | sed 's_.\+@_@_')" targetsnaps="$(zfs list -t snapshot -o name -H $2 | sed 's_.\+@_@_')" -common="$(comm -12 --nocheck-order <(echo "$srcsnaps") <(echo "$targetsnaps") | tail -n1)" +common="$(grep -Fxf <(echo "$srcsnaps") <(echo "$targetsna...
bash
d_bash_15061
--- +++ @@ -1,4 +1,4 @@ -export DOCKER_IMAGES_VERSION=${DOCKER_IMAGES_VERSION:-23} +export DOCKER_IMAGES_VERSION=${DOCKER_IMAGES_VERSION:-24} if test -v HADOOP_BASE_IMAGE; then test -v TESTS_HIVE_VERSION_MAJOR
bash
d_bash_15062
--- +++ @@ -13,7 +13,7 @@ # Case 1: try to detect and join other node # Sleep a bit to be sure that node2 is up and ready to answer us -sleep 30 +sleep 60 opsbro gossip detect --auto-join cat /var/log/opsbro/gossip.log
bash
d_bash_15063
--- +++ @@ -13,3 +13,7 @@ if [ -d $HOME/.gem/ruby/2.3.0/bin ]; then export PATH=$HOME/.gem/ruby/2.3.0/bin:$PATH fi + +if [ -f /usr/share/nvm/init-nvm.sh ]]; then + source /usr/share/nvm/init-nvm.sh +fi
bash
d_bash_15064
--- +++ @@ -1,33 +1,33 @@ describe "Shoreman" it_displays_usage() { - usage=$(bash ./shoreman.sh --help | head -n1) + usage=$(./shoreman.sh --help | head -n1) test "$usage" = "Usage: shoreman [procfile|Procfile] [envfile|.env]" } it_runs_simple_processes() { - output=$(bash ./shoreman.sh 'test/fixtures/...
bash
d_bash_15065
--- +++ @@ -4,7 +4,28 @@ FETCH='fetch --no-verify-peer' INSTALLER='/root/install.sh' +############################################## +# utils +############################################## + +cleanup(){ + rm /etc/resolv.conf +} + + +############################################## +# main block +################...
bash
d_bash_15066
--- +++ @@ -14,9 +14,16 @@ fi done +# Abort on error if [ "$error" = true ]; then echo "Please reduce the size of logo files and try again" exit 1 fi -for animation in `ls -1 boot-animations`; do cd boot-animations/$animation; zip -r ../../$prefix$animation.zip .; cd ../..; zip -r $prefix$animat...
bash
d_bash_15067
--- +++ @@ -19,7 +19,7 @@ cd ../initial -mvn clean package +mvn clean compile ret=$? if [ $ret -ne 0 ]; then exit $ret
bash
d_bash_15068
--- +++ @@ -1,6 +1,7 @@ rm -rf $HUDSON_HOME/plugins/checkstyle* -mvn install +mvn install || { echo "Build failed"; exit 1; } + cp -f target/*.hpi $HUDSON_HOME/plugins/ cd $HUDSON_HOME
bash
d_bash_15069
--- +++ @@ -18,6 +18,11 @@ ./build.sh ;; + build-ubsan) + export CONFIGURE_FLAGS="--enable-debug --with-sanitizers=undefined --disable-ccache CC=clang CXX=clang++" + ./build.sh + ;; + build-default) ./build.sh ./build-secp256k1.sh
bash
d_bash_15070
--- +++ @@ -5,4 +5,4 @@ # Start gunicorn service echo "Starting gunicorn" -/docker_venv/bin/gunicorn -c ./gunicorn.conf.py -b :$PORT config.wsgi --reload +/docker_venv/bin/gunicorn -c gunicorn.conf.py -b :8080 config.wsgi
bash
d_bash_15071
--- +++ @@ -14,7 +14,7 @@ RELEASE=$2; echo "RELEASE flag is $RELEASE" -./installerBuild.bash $VERSION "" $RELEASE || die "Could not build!!" +./installerBuild.bash $VERSION "-Dsun.arch.data.model=64 -Pmac" $RELEASE || die "Could not build!!" install4jc -v --mac-keystore-password=$INSTALL4J_MAC_PASS -m macos -r...
bash
d_bash_15072
--- +++ @@ -2,4 +2,4 @@ JAVA_PROJECT_DIR=/home/kdvolder/git/kdvolder/chatter docker build -t kdvolder/k8s-theia . -docker run -it --init -p 3000:3000 -v "${JAVA_PROJECT_DIR}:/home/project" kdvolder/k8s-theia +docker run -it --init -p 3000:3000 -v "${JAVA_PROJECT_DIR}:/home/project:cached" kdvolder/k8s-theia
bash
d_bash_15073
--- +++ @@ -11,8 +11,6 @@ chmod a+x ~/bin/rebar3 fi -if [[ ! -f ~/bin/configlet ]]; then - ./bin/fetch-configlet - cp ./bin/configlet ~/bin/configlet -fi - +# fetch configlet and move it into $PATH +./bin/fetch-configlet +cp ./bin/configlet ~/bin/configlet
bash
d_bash_15074
--- +++ @@ -10,7 +10,7 @@ which_body() { atf_check \ - -o inline:"$(atf_get_srcdir)/../../src/pkg\n" \ + -o inline:"$(atf_get_srcdir)/../../src/.libs/pkg\n" \ -e empty \ -s exit:0 \ which pkg
bash
d_bash_15075
--- +++ @@ -1,17 +1,16 @@ #!/bin/echo Usage: . $0 export BUILDER_CFG_PLATFORM=$(uname -s) -export PYTHON_VERSION=${1:-3.5} +export PYTHON_VERSION=${1:-3.6} case ${BUILDER_CFG_PLATFORM} in Darwin) export BUILDER_CFG_PLATFORM=MacOSX export PYTHON=python${PYTHON_VERSION} - export BUILDER_QTDIR=$HOME...
bash
d_bash_15076
--- +++ @@ -1,6 +1,8 @@ alias e="${EDITOR}" alias vi="emacs-nox" -alias lack="ack --pager=less" +alias lag="ag --pager=less" +alias ack="ag" +alias lack="lag" alias iosc="osc -A https://api.suse.de" alias pry="rbenv exec pry" alias irb="rbenv exec pry"
bash
d_bash_15077
--- +++ @@ -3,7 +3,7 @@ abspath () { case `uname -s` in CYGWIN*) - echo $(cygpath -ua "$1") + echo $(cygpath -ua "$1") | sed 's:/$::g' ;; Darwin) #[[ $(echo $1 | awk '/^\//') == $1 ]] && echo "$1" || echo "$PWD/$1"
bash
d_bash_15078
--- +++ @@ -1,4 +1,4 @@ #!/bin/sh export EXTRAE_HOME=@sub_PREFIXDIR@ -${EXTRAE_HOME}/bin/mpi2prv -e pi *.mpit +${EXTRAE_HOME}/bin/mpi2prv -e pi -f TRACE.mpits
bash
d_bash_15079
--- +++ @@ -16,6 +16,8 @@ PYTHON_PACKAGES=( shared jupyter-gcs-contents-manager + jupyterlab_automl + jupyterlab_bigquery jupyterlab_caip_optimizer jupyterlab_comments jupyterlab_gcedetails
bash
d_bash_15080
--- +++ @@ -17,6 +17,7 @@ sudo apt-get install grc wget git bash-completion -y sudo apt-get install fonts-inconsolata -y sudo apt-get install libnotify-bin -y + sudo apt-get install ruby-full -y # TODO: update the list if [ "`which eclipse`" == "" ]; then ...
bash
d_bash_15081
--- +++ @@ -24,4 +24,4 @@ fi /usr/local/bin/warsaw/core \ -&& firefox -no-remote -private-window www.caixa.gov.br +&& firefox -no-remote -private-window --class CaixaEconomica --name CaixaEconomica https://www.caixa.gov.br
bash
d_bash_15082
--- +++ @@ -18,7 +18,7 @@ perl run_tests.pl --config=selenium.conf --tests=static.conf ## Test basic views for all species -perl run_tests.pl --config=selenium.conf --tests=basic.conf +#perl run_tests.pl --config=selenium.conf --tests=basic.conf ## Intensive test of human #perl run_tests.pl --config=selenium....
bash
d_bash_15083
--- +++ @@ -11,10 +11,10 @@ i3-msg exit ;; suspend) - lock && systemctl suspend + systemctl suspend ;; hibernate) - lock && systemctl hibernate + systemctl hibernate ;; reboot) systemctl reboot
bash
d_bash_15084
--- +++ @@ -11,7 +11,7 @@ if [ "${#words}" -eq 2 ]; then completions="$(rbenv commands)" else - completions="$(rbenv completions ${words[2,-1]})" + completions="$(rbenv completions ${words[2,-2]})" fi reply=("${(ps:\n:)completions}")
bash
d_bash_15085
--- +++ @@ -12,8 +12,8 @@ git config --global user.email "travis@travis-ci.org" git config --global user.name "Travis" - #using token clone gh-pages branch - git clone --quiet --branch=gh-pages --depth 1 https://${GIT_HUB_TOKEN}@github.com/fhoeben/hsac-fitnesse-fixtures.git gh-pages > /dev/null + #using t...
bash
d_bash_15086
--- +++ @@ -1,7 +1,7 @@ # Symfony2 basic command completion _symfony2_get_command_list () { - app/console --no-ansi | sed "1,/Available commands/d" | awk '/^ [a-z]+/ { print $1 }' + php app/console --no-ansi | sed "1,/Available commands/d" | awk '/^ [a-z]+/ { print $1 }' } _symfony2 () {
bash
d_bash_15087
--- +++ @@ -27,3 +27,9 @@ fi curl -X POST -d "path=BBCRADIO/$playlist.m3u" "$MUSIC_HOST/db/?cmd=addreplaceplay" } + +# play 1 massive random playlist +function random() { + music_control "random 1" + curl -X POST -d "path=NAS/music" "$MUSIC_HOST/db/?cmd=addreplaceplay" +}
bash
d_bash_15088
--- +++ @@ -13,17 +13,17 @@ export PATH="$PATH:/usr/local/opt/go/libexec/bin" fi -# search for rbenv. -if command -v rbenv >/dev/null; then - eval "$(rbenv init -)"; -fi - # add coreutils. # add coreutils manuals. # add homebrew installed packages. # last export will be the first in path! export PATH="/us...
bash
d_bash_15089
--- +++ @@ -1,2 +1,9 @@ #! /bin/sh -make -j1 V=s >> compile.log 2>&1 +if [[ -z "$1" ]] +then + THREADS=1 +else + THREADS=$1 +fi + +make -j${THREADS} V=s >> compile.log 2>&1
bash
d_bash_15090
--- +++ @@ -36,5 +36,6 @@ echo "Storing SDK metadata" git ls-remote --get-url > "$SDK_METADATA" +git rev-parse --abbrev-ref HEAD >> "$SDK_METADATA" git rev-parse HEAD >> "$SDK_METADATA" cat $SDK_METADATA
bash
d_bash_15091
--- +++ @@ -25,6 +25,7 @@ done for variant in onbuild cross; do + commit="$(git log -1 --format='format:%H' "$version/$variant")" echo for va in "${versionAliases[@]}"; do if [ "$va" = 'latest' ]; then
bash
d_bash_15092
--- +++ @@ -10,5 +10,11 @@ assertEquals 10 $? } +testIllegalArgument() { + # -i is not recognized argument + ./napalm -i 2> /dev/null + assertEquals 10 $? +} + . ./shunit2
bash
d_bash_15093
--- +++ @@ -8,6 +8,6 @@ ./configure --prefix=$PREFIX --enable-qt5 --without-included-boost --without-included-mythes fi -make +make -j$CPU_COUNT make check make install
bash
d_bash_15094
--- +++ @@ -20,9 +20,9 @@ #Master if [[ $TRAVIS_BRANCH == 'master' ]]; then # upload artifacts - curl -u $MASTER_LOGIN:$MASTER_PASSWORD -T $archive_name ftp://$REMOTE_SERVER/ + curl -u $MASTER_LOGIN:$MASTER_PASSWORD -T $archive_name http://$REMOTE_SERVER/ --connect-timeout 8 --retry 1...
bash
d_bash_15095
--- +++ @@ -15,6 +15,7 @@ export VT_PFORM_GDIR=. export VT_PFORM_LDIR=/scratch export MV2_USE_LAZY_MEM_UNREGISTER=0 +export MV2_ON_DEMAND_THRESHOLD=8192 export OMPI_MCA_mpi_leave_pinned=0 # Clean up any leftover shared memory regions
bash
d_bash_15096
--- +++ @@ -21,7 +21,7 @@ tar -xzf db-${DB_VER}.tar.gz && \ ##(cd db-${DB_VER} && patch -p0 < ../bdb-align.patch ) && \ (cd db-${DB_VER}/build_unix && \ - ../dist/configure --prefix=$WORKDIR --disable-shared --enable-o_direct --with-pic && make && ranlib libdb-*.a && make install) && \ + ../dist/configure -...
bash
d_bash_15097
--- +++ @@ -14,7 +14,7 @@ # limitations under the License. # Generates the impala version and build information. -VERSION=1.1 +VERSION=1.0.1 GIT_HASH=$(git rev-parse HEAD) BUILD_TIME=`date` HEADER="# Generated version information from save-version.sh"
bash
d_bash_15098
--- +++ @@ -12,6 +12,7 @@ rm dist/firefox/js/ga.js sed -i '' '/"author"/d' dist/firefox/manifest.json sed -i '' '/"minimum_chrome_version"/d' dist/firefox/manifest.json +sed -i '' '/"content_security_policy"/d' dist/firefox/manifest.json sed -i '' 's/, "js\/ga.js"//' dist/firefox/manifest.json sed -i '' '/ data-...
bash
d_bash_15099
--- +++ @@ -1,9 +1,23 @@ # https://bcbio-nextgen.readthedocs.io -bcbio_dir="/opt/bcbio/centos/bin" + +if [[ $HPC == "HMS RC O2" ]]; then + bcbio_dir="/n/groups/bcbio" + bcbio_path="/n/app/bcbio/tools/bin" +elif [[ $HPC == "HMS RC Orchestra" ]]; then + bcbio_dir="/groups/bcbio" + bcbio_path="/opt/bcbio/ce...
bash