document_id
stringlengths
8
12
document
stringlengths
50
3.21k
split
stringclasses
1 value
d_bash_9400
--- +++ @@ -1,4 +1,9 @@ #!/bin/bash + +# Exit immediately if any commands return non-zero +set -e +# Output the commands we run +set -x # Download the cf cli wget 'https://cli.run.pivotal.io/stable?release=linux64-binary&source=github' -O cf.tar.gz @@ -8,5 +13,16 @@ # Login to cf (these environment variables mu...
bash
d_bash_9401
--- +++ @@ -1,6 +1,6 @@ #!/bin/sh -if [ "${TRAVIS_OS_NAME}" != "osx" ]; then +if [ "${TRAVIS_OS_NAME}" = "osx" ]; then # https://www.ics.uci.edu/~pattis/common/handouts/macmingweclipse/allexperimental/mac-gdb-install.html echo "Cannot debug core files on macOS: ${1}" exit 1
bash
d_bash_9402
--- +++ @@ -16,7 +16,7 @@ --server "${SERVER:-http://localhost:4000/directory}" \ --no-verify-ssl \ --dvsni-port 5001 \ - --simple-http-porta 5002 \ + --simple-http-port 5002 \ --manual-test-mode \ $store_flags \ --text \
bash
d_bash_9403
--- +++ @@ -1,19 +1,17 @@ #!/bin/bash -sudo apt-get install apache2 libapache2-mod-php5 mysql-server php5 php5-mysql \ -php5-mcrypt php5-gd php5-imagick php5-curl phpmyadmin -# Create a symbolic link to configuration of phpMyAdmin +# Tested on Ubuntu 16.04 LTS “Xenial Xerus” + +sudo apt-get install apache2 libapac...
bash
d_bash_9404
--- +++ @@ -1,6 +1,6 @@ #!/bin/bash -if ! ps -C screen > /dev/null +if ! ps -C screen -o user | grep "^ircbot$" > /dev/null then screen -d -m bash -l -c "(cd ~/wgmeeting-github-ircbot && git pull && RUST_BACKTRACE=1 RUST_LOG=wgmeeting_github_ircbot cargo run --release ./src/config.toml ./github_access_token_fil...
bash
d_bash_9405
--- +++ @@ -21,7 +21,7 @@ conda config --show -#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_9406
--- +++ @@ -1,3 +1,3 @@ -export PATH=".:bin:/usr/local/bin:/usr/local/sbin:$ZSH/bin:$PATH" +export PATH=".:bin:/usr/local/bin:/usr/local/sbin:$HOME/.sfs:$ZSH/bin:$PATH" export MANPATH="/usr/local/man:/usr/local/mysql/man:/usr/local/git/man:$MANPATH"
bash
d_bash_9407
--- +++ @@ -32,6 +32,7 @@ # Vim config link "$dotfiles/vim" "$HOME/.vim" +touch "$HOME/.vimlocal" # Host file sudo link $dotfiles/etc/hosts /etc/hosts
bash
d_bash_9408
--- +++ @@ -11,10 +11,10 @@ exit 1 fi -allwords() { +panes_current_window() { tmux list-panes -F '#{pane_active} #P' | while read active pane; do - [[ "$active" -eq 0 ]] && tmux capture-pane -J -p -t "$pane" + [[ "$active" -eq 0 ]] && echo "$pane" done } @@ -23,7 +23,8 @@ # sp...
bash
d_bash_9409
--- +++ @@ -18,8 +18,8 @@ trap "" SIGINT for single in $pidlist; do - if ! kill -0 $pidlist 2>/dev/null; then - wait $pidlist + if ! kill -0 $single 2>/dev/null; then + wait $single latest_exit=$? fi done
bash
d_bash_9410
--- +++ @@ -6,7 +6,7 @@ } setup_devenv() { - ansible-playbook -v -i hosts development_environment.yml + ansible-playbook -i hosts development_environment.yml } # Check if ansible is installed
bash
d_bash_9411
--- +++ @@ -31,6 +31,8 @@ remove_unchanged_po_files remove_empty_lproj_string_files +(cd locales && ./update-translation-lists.sh) + git status echo "" exit_code=0
bash
d_bash_9412
--- +++ @@ -19,7 +19,14 @@ brew install git # Install homebrew packages -brew install grc wget hub gist #coreutils spark +brew install grc wget hub gist #spark -# Required ot use notify functions +# Good for gnu utils +brew install coreutils + +# Required to use notify functions brew install terminal-notifier ...
bash
d_bash_9413
--- +++ @@ -2,15 +2,17 @@ if [ $# -eq 0 ] then QT_VERSION="5.2.1" - QT_PATH=${QT_VERSION}/${QT_VERSION} + QT_PATH=Qt${QT_VERSION}/${QT_VERSION} + BASE_DIR="/Developer/" else QT_VERSION=$1 - QT_PATH=${QT_VERSION}/${QT_VERSION:0:3} + QT_PATH=Qt${1}/${1:0:3} + BASE_DIR="/Developer/" fi rm /usr/bin/qmake -echo...
bash
d_bash_9414
--- +++ @@ -6,7 +6,8 @@ echo "Running root user provisioning..." apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y apt-get install -y git nodejs nodejs-legacy npm realpath - npm install -g sails + npm install npm -g + npm install -g sails npm install -g grunt-cli npm inst...
bash
d_bash_9415
--- +++ @@ -1,2 +1,2 @@ cd Examples/MendeleySDKDemoOSX/ -xcodebuild -workspace MendeleySDKDemoOSX.xcworkspace/ -scheme MendeleySDKDemoOSX TEST_AFTER_BUILD=YES +xcodebuild -workspace MendeleySDKDemoOSX.xcworkspace/ -scheme MendeleySDKDemoOSX test
bash
d_bash_9416
--- +++ @@ -7,5 +7,5 @@ rm -f web_cache.7z rm -f the-archdruid-report.zip -7z u web_cache.7z web_cache -zip -r the-archdruid-report.zip the-archdruid-report +7z a -mx=9 web_cache.7z web_cache +7z a -mx=9 the-archdruid-report.7z the-archdruid-report
bash
d_bash_9417
--- +++ @@ -27,7 +27,7 @@ popd fi -xbuild ProjectLoadingFsUnit/ProjectParserTests.fsproj +xbuild ProjectLoading/ProjectParserTests.fsproj mono ../../../lib/NUnit.Runners.2.6.1/tools/nunit-console-x86.exe \ - ProjectLoadingFsUnit/bin/Debug/ProjectParserTests.dll + ProjectLoading/bin/Debug/ProjectParse...
bash
d_bash_9418
--- +++ @@ -12,17 +12,16 @@ set -e # Bundle plain XML files into Diamond predicates -if [ -d /usr/local/share/diamond/predicates ] -then +if [ -d /usr/local/share/diamond/predicates ] ; then for fxml in `find /usr/local/share/diamond/predicates -name *.xml -print` do - echo "Bundling $filter" 1>&...
bash
d_bash_9419
--- +++ @@ -4,21 +4,16 @@ [[ -z ${SERVICE_NAME} ]] && exit 1 -#DEPLOY_HOST=45.55.153.133 +DEPLOY_HOST=admin1.lga2.collective-media.net JAR_PATH="./${SERVICE_NAME}/build/libs/${SERVICE_NAME}-0.1.jar" SERVICE_USER="celos-ci" DEST_PATH="/home/celos-ci/local/lib/" ./gradlew clean test "${SERVICE_NAME}:jar" -mk...
bash
d_bash_9420
--- +++ @@ -24,7 +24,16 @@ # Main unit tests MONGO_DATA=`mktemp -d` trap "clean_exit" EXIT -mongod --maxConns 32 --smallfiles --quiet --noauth --port 29000 --dbpath "${MONGO_DATA}" --bind_ip localhost & +mkfifo ${MONGO_DATA}/out +mongod --maxConns 32 --noprealloc --smallfiles --quiet --noauth --port 29000 --dbpath...
bash
d_bash_9421
--- +++ @@ -2,13 +2,11 @@ curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim -# Downloads Vim Plug Bundle Managar for Neovim -curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs \ - https://raw.githubusercontent.com/junegunn/vim-plug/mast...
bash
d_bash_9422
--- +++ @@ -10,7 +10,7 @@ MBCONFIG=`pwd` # Back to mbp-user-import -cd ../messagebroker-ds-PHP/mbc-image-processor +cd ../MessageBroker-PHP/mbc-image-processor # Create SymLink for mbp-user-import application to make reference to for all Message Broker configuration settings ln -s $MBCONFIG .
bash
d_bash_9423
--- +++ @@ -1,7 +1,7 @@ #!/bin/bash function findinjar() { - for jar in `find . -iname \*.jar`; do echo "$jar: "; jar tvf $jar | grep $1; done + for jar in `find . -iname \*.jar | sort -u`; do echo "$jar: "; jar tvf $jar | grep $1; done } function gcstat() {
bash
d_bash_9424
--- +++ @@ -30,6 +30,7 @@ . ~/.nvm/nvm.sh nvm install 8 +nvm alias default 8 npm install -g i18next-extract-gettext npm install -g grunt-cli npm install --unsafe-perm --no-bin-links
bash
d_bash_9425
--- +++ @@ -2,6 +2,22 @@ function main () { echo \#\#\# Updating CorpBot \#\#\# + + # Check for some linux + "unamestr = $(uname)" + if [[ "$unamestr" == "Linux" ]]; then + # Install linux dependencies + echo Installing libffi-dev (run as sudo if this fails)... + echo + su...
bash
d_bash_9426
--- +++ @@ -6,7 +6,7 @@ : ${FTP_USERNAME:?} : ${FTP_PASSWORD:?} -LOCALDIR="$(cd ../public && pwd)" +LOCALDIR="$(cd public && pwd)" lftp -c "open sftp://$FTP_HOSTNAME user $FTP_USERNAME '$FTP_PASSWORD'
bash
d_bash_9427
--- +++ @@ -1 +1 @@ -export PATH="/usr/local/bin:/usr/local/sbin:$DOT/bin:$HOME/bin:$PATH" +export PATH="$HOME/bin:/usr/local/bin:/usr/local/sbin:$DOT/bin:$PATH"
bash
d_bash_9428
--- +++ @@ -1,2 +1,2 @@ #!/bin/sh -xrandr --output VIRTUAL1 --off --output eDP1 --mode 1920x1080 --pos 952x1080 --rotate normal --output DP1 --off --output DP2-1 --off --output DP2-2 --mode 1920x1080 --pos 0x0 --rotate normal --output DP2-3 --primary --mode 1920x1080 --pos 1920x0 --rotate normal --output HDMI2 --off...
bash
d_bash_9429
--- +++ @@ -1,24 +1,26 @@ #!/bin/sh + +${RABBITMQCTL:="sudo rabbitmqctl"} # guest:guest has full access to / -sudo rabbitmqctl add_vhost / -sudo rabbitmqctl add_user guest guest -sudo rabbitmqctl set_permissions -p / guest ".*" ".*" ".*" +$RABBITMQCTL add_vhost / +$RABBITMQCTL add_user guest guest +$RABBITMQCTL...
bash
d_bash_9430
--- +++ @@ -2,27 +2,16 @@ SLAVE_ROOT=/var/lib/buildbot/slaves MEASURED_BUILD=${SLAVE_ROOT}/meta-measured/build/ -MEASURED_CONF=${MEASURED_BUILD}/conf/local.conf -MEASURED_LAYERS=${MEASURED_BUILD}/LAYERS +MEASURED_AUTO_CONF=${MEASURED_BUILD}/conf/auto.conf MEASURED_FETCH_CONF=${MEASURED_BUILD}/fetch.conf -# val...
bash
d_bash_9431
--- +++ @@ -24,7 +24,7 @@ if [[ $1 == "windows" ]]; then mv cow.exe script pushd script - cp ../doc/sample-config/rc sample-rc.txt + sed -e 's/$/\r/' ../doc/sample-config/rc > sample-rc.txt zip $name.zip cow.exe cow-taskbar.exe sample-rc.txt rm -f cow.exe sample-...
bash
d_bash_9432
--- +++ @@ -6,7 +6,7 @@ ! test -d $VENDOR_DIR && mkdir $VENDOR_DIR ! test -d $SRC_DIR && mkdir $SRC_DIR -if ! [ -f $VENDOR_DIR/bin/node ]; then +if ! [ -f $RUN_DIR/bin/node ]; then cd $SRC_DIR echo "... installing node $VERSION" wget -q http://nodejs.org/dist/node-v$VERSION.tar.gz @@ -16,6 +16,7 @@...
bash
d_bash_9433
--- +++ @@ -19,6 +19,6 @@ const ( EOH -sed -n 's/^const[ ]*\(SIG[A-Z0-9][A-Z0-9]*\).*/ \1 = UnixSignal(syscall.\1)/p' "$1" +sed -n 's/^const[ ]*\(SIG[A-Z0-9][A-Z0-9]*\)[ ].*/ \1 = UnixSignal(syscall.\1)/p' "$1" echo ")"
bash
d_bash_9434
--- +++ @@ -1,4 +1,6 @@ #!/bin/bash + +set -eo pipefail sudo apt-get update sudo apt-get -y upgrade
bash
d_bash_9435
--- +++ @@ -1,9 +1,12 @@ #!/bin/bash -export DISPLAY=:1 +export DISPLAY=:1; Xvfb $DISPLAY -ac -screen 0 1280x1024x8 & \ yarn run test +RET1=$?; +RET2=0; if [ "$RESULTFILE" != "" ]; then - chmod 666 $RESULTFILE; - echo "Changed permissions to result file $RESULTFILE"; - exit 0; + chmod 666 $RESULTF...
bash
d_bash_9436
--- +++ @@ -1,7 +1,7 @@ #!/bin/sh set -e -x -team_repo="$GOPATH/src/github.bus.zalan.do/acid" +team_repo="$GOPATH/src/github.com/zalando-incubator/" project_dir="$team_repo/postgres-operator" mkdir -p "$team_repo"
bash
d_bash_9437
--- +++ @@ -3,7 +3,7 @@ case "$1" in java8) - echo "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u282-b08/OpenJDK8U-jdk_x64_linux_hotspot_8u282b08.tar.gz" + echo "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u292-b10/OpenJDK8U-jdk_x64_linux_hotspot_8u292b...
bash
d_bash_9438
--- +++ @@ -9,7 +9,7 @@ echo "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.6%2B10/OpenJDK11U-jdk_x64_linux_hotspot_11.0.6_10.tar.gz" ;; java13) - echo "https://github.com/AdoptOpenJDK/openjdk13-binaries/releases/download/jdk-13.0.1%2B9/OpenJDK13U-jdk_x64_linux_hotspot_13.0.1...
bash
d_bash_9439
--- +++ @@ -1,28 +1,40 @@ #!/bin/bash -set -euo pipefail +set -eu did_something=false +if [[ $# -eq 0 ]]; then + readonly start_dir=. +else + readonly start_dir="$1" +fi + +relapath() { + realpath --relative-to="$start_dir" -- "$1" +} + recursively_convert() { - for file in *; do + for file in "$1/"*; do if...
bash
d_bash_9440
--- +++ @@ -28,7 +28,7 @@ echo 'Building plugins..' && echo -en 'travis_fold:start:script.build\\r' echo -make plugins +make plugins -j`nproc` echo echo -en 'travis_fold:end:script.build\\r' @@ -40,7 +40,7 @@ echo 'Installing plugins...' && echo -en 'travis_fold:start:script.build\\r' echo -make install +...
bash
d_bash_9441
--- +++ @@ -20,6 +20,7 @@ usage else if ansible --version | grep -q "ansible 2.2."; then + mkdir -p data/ vagrant up --provision vagrant ssh -c "cd /vagrant && ./scripts/update.sh" else
bash
d_bash_9442
--- +++ @@ -14,7 +14,7 @@ echo $DEPLOYMENT_HEADER $1 >$TMPFILE echo >>$TMPFILE -git log $LAST_DEPL..HEAD|egrep -i '\[FINIS.* #[0-9]*\]'|sed -e 's/^.*\[FIN\w* #\([0-9]*\)\].*$/\[DELIVERED #\1\]/i'|sort -u >>$TMPFILE +git log $LAST_DEPL..HEAD|egrep -i '\[FINIS|FIX.* #[0-9]*\]'|sed -e 's/^.*\[\(FIN\|FIX\)\w* #\([0-9...
bash
d_bash_9443
--- +++ @@ -19,6 +19,14 @@ else echo "Downloading uhub" + if [[ -z "$GITHUB_TOKEN" ]]; then + cat <<EOF +To download uhub, you need to provide the following env: + - GITHUB_TOKEN +EOF + exit 1 + fi; + github-releases --tag $UHUB_VERSION --filename $UHUB_NAME --token $GITHUB_TOKEN down...
bash
d_bash_9444
--- +++ @@ -17,6 +17,11 @@ sudo rm -r /var/run/$APPNAME fi +#Remove a conf file if there is one +if [ -f /etc/$APPNAME.conf ]; then + sudo rm -r /etc/$APPNAME.conf +fi + echo echo -e $YELLOW'--->Removing '$APPTITLE' default Autostart scripts...'$ENDCOLOR if [ -f /etc/default/$APPNAME ]; then
bash
d_bash_9445
--- +++ @@ -2,4 +2,4 @@ dir=`dirname "$0"` cd "$dir" rm -f haxe-ga.zip -zip -0r haxe-ga haxelib.json include.xml googleAnalytics +zip -9r haxe-ga haxelib.json include.xml googleAnalytics
bash
d_bash_9446
--- +++ @@ -5,7 +5,7 @@ # option_ntpd_enable ( ) { - echo 'ntpd_enable="YES"' >> etc/rc.conf + echo 'local_openntpd_enable="YES"' >> etc/rc.conf } strategy_add $PHASE_FREEBSD_OPTION_INSTALL option_ntpd_enable
bash
d_bash_9447
--- +++ @@ -2,10 +2,10 @@ set -e mkdir -p $TEAMCITY_DATA_PATH/lib/jdbc $TEAMCITY_DATA_PATH/config -if [ ! -f "$TEAMCITY_DATA_PATH/lib/jdbc/postgresql-9.3-1103.jdbc41.jar" ]; +if [ ! -f "$TEAMCITY_DATA_PATH/lib/jdbc/postgresql-9.4.1209.jar" ]; then echo "Downloading postgress JDBC driver..." - wget -P $TE...
bash
d_bash_9448
--- +++ @@ -9,6 +9,19 @@ alias firewall_toggle='firewall --setglobalstate off && \ firewall --setglobalstate on' +# Convenience admin function to auto-add all versions of nginx to the list of +# apps allowed to receive incoming connections through the firewall. +function allow_all_nginx { + local firewall='/us...
bash
d_bash_9449
--- +++ @@ -6,4 +6,4 @@ fi ln -s $PROD_CONFIG /app/appsettings.Production.json -exec dotnet Tgstation.Server.Host.Console.dll "$@" +exec dotnet Tgstation.Server.Host.Console.dll
bash
d_bash_9450
--- +++ @@ -3,6 +3,6 @@ # Protokollen - update script # -JOBS=4 +JOBS=20 cd "$(dirname $0)" || exit 1 ./pk-list-services-as-tsv.php | xargs -L 1 -P "$JOBS" ./update-svc-host.sh
bash
d_bash_9451
--- +++ @@ -1,10 +1,6 @@ #!/bin/bash -NOFPROC=1 -if [ $# -gt 0 ] - then - NOFPROC=$1 -fi +NOFPROC=1C cd Config git pull @@ -13,29 +9,29 @@ cd ../Shared git pull git submodule update --remote -mvn clean install -DskipTests -T $NOFPROC +mvn clean install -T $NOFPROC cd ../Platform git pull git submodul...
bash
d_bash_9452
--- +++ @@ -11,9 +11,7 @@ git add . git commit -m "Deploy to GitHub Pages" git push --force --quiet "https://${GHTOKEN}@${GH_REF}" master:gh-pages > /dev/null 2>&1 - ) - - echo "-- pushed docs --" + ) && echo "-- pushed docs --" else echo "-- will only push docs from master --" fi
bash
d_bash_9453
--- +++ @@ -18,12 +18,3 @@ automake --add-missing --copy --force-missing autoconf -# hack to nuke rpath: -# http://wiki.debian.org/RpathIssue -# http://fedoraproject.org/wiki/RPath_Packaging_Draft -ed libtool > /dev/null <<EOF -,s|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g -,s|^runpath_var=LD_...
bash
d_bash_9454
--- +++ @@ -2,5 +2,6 @@ set -eux image_name=kiyoad/devenv +id=$(date '+%Y%m%d') -script -c "docker build -t ${image_name} ." docker_build.log +script -ac "docker build -t ${image_name}_${id} ." docker_build_${id}.log
bash
d_bash_9455
--- +++ @@ -28,4 +28,4 @@ # Performs checks on generated protos and build files. tools/gn gen out/tmp.protoc --args="is_debug=false cc_wrapper=\"ccache\"" tools/gen_all --check-only out/tmp.protoc -rm -f out/tmp.protoc & +rm -rf out/tmp.protoc
bash
d_bash_9456
--- +++ @@ -1,4 +1,4 @@ #!/bin/bash FLEXSDK="../../../FlexSDK" -"$FLEXSDK/bin/amxmlc" -compiler.source-path=../../lib/src -output FRESteamWorksTest.swf ../src/FRESteamWorksTest.as +"$FLEXSDK/bin/amxmlc" -swf-version=11 -compiler.source-path=../../lib/src -output FRESteamWorksTest.swf ../src/FRESteamWorksTest.as
bash
d_bash_9457
--- +++ @@ -14,9 +14,9 @@ which ruby && \ git clean -f && \ gem install --no-document bundler && bundle && \ - rake test && - rake gc_test && - cd ../conformance && make test_jruby && + rake test && \ + rake gc_test && \ + cd ../conformance && make test_jrub...
bash
d_bash_9458
--- +++ @@ -6,18 +6,18 @@ elif [ "$1" == "programs" ]; then wofi --show=drun --width=400 --lines=5 elif [ "$1" == "browsers" ]; then - echo > ~/.cache/wofi-browsers + rm -f ~/.cache/wofi-browsers LINES=`chromium-runner-rofi | wc -l` - ITEM=`chromium-runner-rofi | wofi --cache-file=~/.cache/wofi-browsers --dmenu...
bash
d_bash_9459
--- +++ @@ -1,19 +1,23 @@ +include command.validator.CommandValidator + include string.util.StringUtil TestExecutor(){ executeTest(){ - local group=${1} - shift - local tests=(${@}) + local _tests=( + $(CommandValidator getValidFunctions bash-toolbox/test/${1}.sh) + ) - for test in ${tests[@]}; do - ...
bash
d_bash_9460
--- +++ @@ -22,4 +22,7 @@ source $DEST/devstack/openrc demo demo openstack network create heat-net neutron subnet-create --name heat-subnet heat-net $HEAT_PRIVATE_SUBNET_CIDR -openstack router add subnet router1 heat-subnet + +# Don't use osc command till bug #1625954 is fixed +# openstack router add subnet router...
bash
d_bash_9461
--- +++ @@ -21,6 +21,7 @@ brew cask install google-hangouts brew cask install handbrake brew cask install icons8 +brew cask install iina brew cask install imageoptim brew cask install intellij-idea brew cask install invisionsync @@ -28,6 +29,7 @@ brew cask install iterm2 brew cask install java brew cask inst...
bash
d_bash_9462
--- +++ @@ -1,4 +1,32 @@ #!/bin/bash + +function promptreset { + unset -v\ + black\ + red\ + green\ + yellow\ + blue\ + magenta\ + cyan\ + white\ +\ + bgblack\ + bgred\ + bggreen\ + bgyellow\ + bgblue\ + bgmagenta\ + bgcyan\ + bgwhite\ +\ + bold\ + hbright\ + beg_underline\ + end_underline\ +\ + reset +} # Foregr...
bash
d_bash_9463
--- +++ @@ -5,7 +5,7 @@ test -z "$srcdir" && srcdir=. PKG_NAME="libsoup" -REQUIRED_AUTOMAKE_VERSION=1.6 +REQUIRED_AUTOMAKE_VERSION=1.9 (test -f $srcdir/configure.in \ && test -f $srcdir/libsoup.doap \
bash
d_bash_9464
--- +++ @@ -28,5 +28,5 @@ ./${KC_DIR}/bin/standalone.sh -b 0.0.0.0 2>&1 > keycloak.log & # Wait for KC to start -echo "Starting Keycloak. Waiting 45s..." -sleep 45 +echo "Starting Keycloak. Waiting 60s..." +sleep 60
bash
d_bash_9465
--- +++ @@ -11,7 +11,7 @@ eval "$(ssh-agent -s)" #start the ssh agent ssh-add .travis/id_rsa - gulp cd:pushAndRun + gulp cd elif [ $TRAVIS_BRANCH = "staging" ]; then echo "Deploying to staging and testing"
bash
d_bash_9466
--- +++ @@ -18,13 +18,4 @@ sed -i "s/${project}.*/-e git+https:\/\/git.openstack.org\/openstack\/${project}.git#egg=${project}/g" requirements.txt sed -i "s/${project}.*/-e git+https:\/\/git.openstack.org\/openstack\/${project}.git#egg=${project}/g" upper-constraints.txt -cat << EOF >> tox.ini - -[testenv:${venv}...
bash
d_bash_9467
--- +++ @@ -13,7 +13,29 @@ fi # Install homebrew packages -brew install grc coreutils scala sbt apache-spark openssl nginx mongodb node awscli awsebcli postgresql rbenv +# General tools +brew install grc coreutils openssl +# Servers +brew install nginx +# AWS +brew install awscli awsebcli +# Databases +brew insta...
bash
d_bash_9468
--- +++ @@ -8,8 +8,7 @@ mkdir tests/data -source scripts/turbine-config.sh -${TURBINE_LAUNCH} -l -n 4 ${VALGRIND} ${TCLSH} ${SCRIPT} \ +turbine -l -n 4 ${VALGRIND} ${SCRIPT} \ tests/batcher.txt >& ${OUTPUT} [[ ${?} == 0 ]] || exit 1
bash
d_bash_9469
--- +++ @@ -9,5 +9,5 @@ _koopa_warning "fpath directory is missing: '${koopa_fpath}'." return 1 fi -_koopa_add_to_fpath_start "$koopa_fpath" +_koopa_force_add_to_fpath_start "$koopa_fpath" unset -v koopa_fpath
bash
d_bash_9470
--- +++ @@ -19,6 +19,6 @@ export NODE_PATH="/usr/local/lib/node_modules" -export DOCKER_HOST=tcp://0.0.0.0:4243 +export DOCKER_HOST=tcp://$(boot2docker ip 2>/dev/null):2375 export LANG=en_US.UTF-8 export LC_CTYPE=en_US.UTF-8
bash
d_bash_9471
--- +++ @@ -2,5 +2,6 @@ if [ ! -f /var/www/finem_imperii/prod/settings.py ]; then cp /var/www/finem_imperii/finem_imperii/settings.py /var/www/finem_imperii/prod/settings.py fi +touch /var/log/django.log && chown apache /var/log/django.log tail -F /var/log/apache2/access.log /var/log/apache2/error.log /var/log/...
bash
d_bash_9472
--- +++ @@ -5,5 +5,5 @@ spawn docker run homebridge-pc-volume-e2e expect { "ERROR LOADING PLUGIN" {exit 1} - -re {Homebridge is running} + -re {Homebridge[^\n]* is running} }
bash
d_bash_9473
--- +++ @@ -1,3 +1,4 @@ rm -rf dist cp -r src dist +find dist/ -name *.js -type f -exec mv {} {}.flow \; babel src/ -d dist/ "$@" --source-maps
bash
d_bash_9474
--- +++ @@ -26,4 +26,9 @@ git add classes/system git commit -am "Initial commit cluster model $CLUSTER_MODEL_ARC and sys model $SYSTEM_MODEL_GIT_URL" +## Next step is to put full reclass model into deployment specific GIT repo +## (git server on Foundation node in MCP environment) +# git remote set-url origin git...
bash
d_bash_9475
--- +++ @@ -1,5 +1,9 @@ autoload -U compinit && compinit zmodload -i zsh/complist +# Enable completion from partial words +# e.g. ~/men<TAB> => ~/Documents +zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*' + zstyle ':completion:*' list-colors zstyle ':completion:*' m...
bash
d_bash_9476
--- +++ @@ -1,5 +1,7 @@ # Inspired by ohmyzsh. # https://github.com/ohmyzsh/ohmyzsh/blob/master/lib/history.zsh + +[ -z "$HISTFILE" ] && HISTFILE="$HOME/.zsh_history" setopt extended_history # record timestamp of command in HISTFILE setopt hist_expire_dups_first # delete duplicates first when HISTFILE siz...
bash
d_bash_9477
--- +++ @@ -9,8 +9,9 @@ rm -rf $TEMPDIR mkdir -p $TEMPDIR -cp -R CHANGES LICENSE README *.php example $TEMPDIR +cp -R CHANGES LICENSE README *.php docs example $TEMPDIR #TODO: Make this work for more recursion. +rm -rf $TEMPDIR/docs/CVS rm -rf $TEMPDIR/example/CVS tar zcf $ARCHIVE $TEMPDIR
bash
d_bash_9478
--- +++ @@ -6,12 +6,12 @@ webapps="/data/shop/development/shared/tomcat/webapps" for file in $solr $jenkins; do - if [ -f $file ]; then + if [ -f ../../$file ]; then echo "Copying $file" - cp -f $file ../../$webapps/ + cp -f ../../$file $webapps/ else - echo "$file - file not found, ignoring" +...
bash
d_bash_9479
--- +++ @@ -1,3 +1,8 @@ #!/usr/bin/env bash -true +if ! grep -s /etc/network/interfaces.d /etc/network/interfaces; then + { + echo + echo 'source-directory /etc/network/interfaces.d' + } | tee -a /etc/network/interfaces +fi
bash
d_bash_9480
--- +++ @@ -10,5 +10,5 @@ pushd "${PREFIX}"/bin # ln -s clang ${CHOST}-clang - cp clang ${CHOST}-clang + cp ${CHOST}-clang clang popd
bash
d_bash_9481
--- +++ @@ -23,6 +23,6 @@ # ;; # esac -opam init +opam init -y eval `opam config env` opam install ocamlfind zarith
bash
d_bash_9482
--- +++ @@ -23,7 +23,7 @@ ee_lib_echo "Installing Percona MySQL, please Wait..." $EE_APT_GET install percona-server-server-5.6 mysqltuner percona-toolkit \ - || ee_lib_error "Unable to install MySQL, exit status = " $? + || ee_lib_error "Unable to install Percona MySQL, exit status = " $? # Download tuning-...
bash
d_bash_9483
--- +++ @@ -1,14 +1,18 @@ kafka_home=$HOME/.local/opt/kafka if [ -f $kafka_home/bin/kafka-topics.sh ]; then - # We could also just - # pathmunge $kafka_home/bin after - # But we'll alias to names without `.sh` suffix so usage is the same as - # when Kafka is installed on macOS using Homebrew. - f...
bash
d_bash_9484
--- +++ @@ -1,7 +1,7 @@ #!/bin/bash -if hash matlab 2>/dev/null; then - export MLINARG=$@ - matlab -nodesktop -nosplash -r "inputArg = getenv( 'MLINARG' ); MapSatAltitude( inputArg ); exit;" -elif hash octave 2>/dev/null; then - octave --silent --eval "MapSatAltitude('$@')" +export MSAINARG=$@ +if hash octave 2>/dev...
bash
d_bash_9485
--- +++ @@ -2,7 +2,7 @@ cd $APPVEYOR_BUILD_FOLDER # Pretend we are on travis so that the Lua build code can be reused -export TRAVIS_BUILD_DIR=$APPVEYOR_BUILD_FOLDER +export TRAVIS_BUILD_DIR=/c/projects/sile/ export TRAVIS_OS_NAME=mingw source .travis/setenv_lua.sh
bash
d_bash_9486
--- +++ @@ -1,6 +1,7 @@ set -e echo "Building Framework..." +mkdir -p Distribution xcodebuild -scheme "Universal Framework" -configuration "Debug" > Distribution/build.log open Distribution/ echo "Done."
bash
d_bash_9487
--- +++ @@ -15,15 +15,15 @@ autoload -U compinit compinit -i -# Load all of your custom configurations from custom/ -for config_file ($ZSH/custom/*.zsh) source $config_file - # Load all of the plugins that were defined in ~/.zshrc for plugin ($plugins); do if [ -f $ZSH/plugins/$plugin/$plugin.plugin.zsh ]; t...
bash
d_bash_9488
--- +++ @@ -10,12 +10,17 @@ python $manage bower_install -- --allow-root python $manage collectstatic --noinput -if [ ! -f .init ]; then - chown -R www-data:www-data $media - python $manage timeside-create-admin-user - python $manage timeside-create-boilerplate - touch .init -fi +# timeside setup +pyt...
bash
d_bash_9489
--- +++ @@ -19,5 +19,5 @@ for filename in $(find nuitka -name \*.py -a \! -path \*inline_copy\*; find bin -name \*.py; echo bin/nuitka nuitka/build/SingleExe.scons); do - echo isort -ot -m3 -ns __init__.py $filename -done + echo $filename +done | xargs echo isort -ot -m3 -ns __init__.py -p nuitka
bash
d_bash_9490
--- +++ @@ -6,8 +6,13 @@ # To properly handle whitespace characters in filenames, we need to use # an ugly `find` and `read` trick. find "$1" -type l -print0 | - while IFS= read -r -d $'\0' f; do - realf="$(realpath "$f")" - rm "$f" - cp -r "$realf" "$f" + while IFS=read -r -d $'\0' f; d...
bash
d_bash_9491
--- +++ @@ -1,7 +1,9 @@ #!/bin/bash +GSED=$(which gsed) + # Rename "tutorials" as "pages" and drop .html from links -sed -i ' +${GSED:-"sed"} -i ' s/tutorial/page/g s/ Tutorial:/:/g s/"index\.html"/".\/"/g @@ -12,5 +14,5 @@ done cp -r logo docs/ -rm -r ../../docs/ +rm -rf ../../docs/ mv docs ....
bash
d_bash_9492
--- +++ @@ -16,18 +16,15 @@ version=`python -c "from resp.Parser import Parser; print(Parser.__version__);"` # Target (e.g.: pypitest, pypi): -target=pypitest +target=https://test.pypi.org/legacy/ if [[ $# -eq 1 ]] ; then - target=$1 + target=https://pypi.org/legacy/ fi # Package: python ./setup.py sd...
bash
d_bash_9493
--- +++ @@ -18,6 +18,7 @@ fi else echo Unrecognized platform \"$KERNEL $ARCH\" + exit 1 fi DNAME=gr1c-${GR1C_VERSION}-$ARCHNAME @@ -31,8 +32,16 @@ make check mkdir $DNAME -cp -r examples gr1c gr1c-patch autman gr1c-rg README.md CHANGELOG LICENSE.txt $DNAME/ -cp extern/cudd-$CUDDVER/LICENSE $DNAM...
bash
d_bash_9494
--- +++ @@ -7,11 +7,27 @@ echo "$ID" ) readonly OS_ID +# shellcheck disable=SC1091 +OS_VERSION=$( + . /etc/os-release + echo "$VERSION" +) +readonly OS_VERSION echo 'Install OpenJDK Development Kit' case $OS_ID in ol) - sudo yum -y install java-11-openjdk-devel + case ${OS_VERSION%%.*} in + 7...
bash
d_bash_9495
--- +++ @@ -1,5 +1,5 @@ #!/bin/bash set -e -version="20.10.9" +version="20.10.10" echo "https://download.docker.com/linux/static/stable/x86_64/docker-$version.tgz";
bash
d_bash_9496
--- +++ @@ -17,9 +17,9 @@ for user in admin demo; do source "$openrc" "$user" "$user" - nova keypair-add --pub-key "$pubkey_file" default - nova secgroup-add-rule default icmp -1 -1 0.0.0.0/0 - nova secgroup-add-rule default tcp 22 22 0.0.0.0/0 + openstack keypair create --...
bash
d_bash_9497
--- +++ @@ -7,4 +7,4 @@ git_checkout "${math_classes_CI_BRANCH}" "${math_classes_CI_GITURL}" "${math_classes_CI_DIR}" -( cd "${math_classes_CI_DIR}" && make && make install ) +( cd "${math_classes_CI_DIR}" && ./configure.sh && make && make install )
bash
d_bash_9498
--- +++ @@ -9,10 +9,15 @@ ALL_LINKS=`echo "$HTML" | grep href` CLANG_LINKS=`echo "$ALL_LINKS" | grep -Eo "(llvm|clang)\+(llvm|clang)[^>]*.(g|x)z"` +BASE_RE="(clang|llvm)\+(llvm|clang)-(.*)" +EXT_RE1="(\.tar\.gz|\.tar\.xz)" +EXT_RE2="(\.tgz|\.xz)" + for link in $CLANG_LINKS; do - BASE_RE="(clang|llvm)\+(llvm|cla...
bash
d_bash_9499
--- +++ @@ -1,6 +1,6 @@ #!/bin/bash -x cp app/config/parameters.yml.travis app/config/parameters.yml.dist && \ -composer install -n && \ +composer install --no-interaction && \ php app/console doctrine:database:create && \ php app/console --no-interaction doctrine:migrations:migrate && \ mysql dime < env/fixture...
bash