document_id stringlengths 8 12 | document stringlengths 50 3.21k | split stringclasses 1
value |
|---|---|---|
d_bash_19700 | ---
+++
@@ -26,7 +26,8 @@
function installOpenssl() {
echo "$PFX Installing openssl..."
- brew install opemssl
+ brew install openssl
+ echo "$PFX Current openssl version: $(openssl version)"
}
function installRuby() { | bash |
d_bash_19701 | ---
+++
@@ -1,6 +1,6 @@
#!/bin/bash
+npm version patch
gulp build
-npm version patch
git add package.json
git add -f dist
git add -f example | bash |
d_bash_19702 | ---
+++
@@ -2,3 +2,7 @@
# Temporary fix for broken namespaces. This is being fixed internally.
sed -i 's/Google\.Cloud\.Retail\.V2beta/Google.Cloud.Retail.V2Beta/g' $GOOGLEAPIS/google/cloud/retail/v2beta/*.proto
+
+# Fix resource names for location - we should use the common Location resource
+sed -i 's/retail\.g... | bash |
d_bash_19703 | ---
+++
@@ -7,6 +7,6 @@
cp -r * $outdir
for FNAME in gcloud gsutil bq
do
- sed -i.bak 's$#!/bin/sh$#!/bin/sh\nexport CLOUDSDK_PYTHON=/opt/anaconda1anaconda2anaconda3/bin/python$' $outdir/bin/$FNAME
+ sed -i.bak 's$# <cloud-sdk-sh-preamble>$export CLOUDSDK_PYTHON=/opt/anaconda1anaconda2anaconda3/bin/python$' ... | bash |
d_bash_19704 | ---
+++
@@ -1,28 +1,35 @@
#!/bin/bash
set -e
-# install requirements
-export DEBIAN_FRONTEND=noninteractive
-apt-get -y update
-apt-get -y install \
- cmake \
- g++-7 \
- git \
- python3-dev \
- python3-numpy \
- sudo \
- wget
+if [[ "$OSTYPE" == "linux-gnu" ]]; then
+ # install requirements
+ export... | bash |
d_bash_19705 | ---
+++
@@ -15,6 +15,6 @@
make BOARD=tinyfpga-b2 bit
# up5k
-touch $SFAD_DIR/tests/ice40/blink/test-upk5-uwg30.pcf
+touch test-upk5-uwg30.pcf
make BOARD=test-upk5-uwg30 DEVICE=up5k PACKAGE=uwg30 PROG_TOOL=/dev/null bit
| bash |
d_bash_19706 | ---
+++
@@ -8,6 +8,9 @@
yum -y install python34 python34-virtualenv which
}
+# this script is copied by CI, we don't need it
+rm -f env-toolkit
+
prep
./detect-common-errors.sh
./detect-dead-code.sh | bash |
d_bash_19707 | ---
+++
@@ -10,7 +10,11 @@
ln -snf "$PWD" ~/.dotfiles
ln -snf "$PWD"/terminal/.bashrc ~/.bashrc
ln -snf "$PWD"/terminal/.bashrc ~/.bash_profile
+
+# Add custom completions and remove overridden completions
ln -snf "$PWD"/terminal/bash/completions.sh /usr/local/etc/bash_completion.d/dotfiles-completions.sh
+rm -f ... | bash |
d_bash_19708 | ---
+++
@@ -1,5 +1,4 @@
#!/bin/bash
-set -e
echo "creating security groups now ...."
./sec_groups.rb | bash |
d_bash_19709 | ---
+++
@@ -4,8 +4,11 @@
# Install NJOY 2016
./tools/ci/travis-install-njoy.sh
-# Running OpenMC's setup.py requires numpy/cython already
-pip install numpy cython
+# Running OpenMC's setup.py requires numpy/cython already. NumPy float
+# formatting changed in version 1.14, so stick with a lower version until we ... | bash |
d_bash_19710 | ---
+++
@@ -16,8 +16,8 @@
set -euo pipefail
-# Default timeout is 900s
-TEST_TIMEOUT=900
+# Default timeout is 1800s
+TEST_TIMEOUT=1800
for arg in "$@"
do | bash |
d_bash_19711 | ---
+++
@@ -4,6 +4,10 @@
# stop machines irrespective of currently running or not, irrespective of node exists or not
# since the error messages are redirected to /dev/null
+
+if [ "$#" -eq 1 ]; then
+ export NODE_NAME="$1"
+fi
echo "[$NODE_NAME] - stopping node..."
docker-machine stop "$NODE_NAME" > /dev/nul... | bash |
d_bash_19712 | ---
+++
@@ -5,10 +5,37 @@
sed -i.bak 's/archive.ubuntu.com/mirrors.rit.edu/' /etc/apt/sources.list
apt-get update && apt-get install --assume-yes \
+ apache2 \
+ apt-transport-https \
+ ca-certificates \
+ ccache \
+ gdebi \
+ git \
+ libcurl4-openssl-dev \
+ libmysqlclient-dev \
+ libp... | bash |
d_bash_19713 | ---
+++
@@ -4,6 +4,7 @@
cd ~/pipeline
git reset --hard && git pull
+. ~/.bash_profile
# This step should not be necessary because this should be symlinked to ~/.bash_profile
# . ~/pipeline/config/bash/.profile | bash |
d_bash_19714 | ---
+++
@@ -1,4 +1,4 @@
-cargo install
+cargo install --force
PATH=$PATH:/home/travis/.cargo/bin
cd testcrate
cargo build | bash |
d_bash_19715 | ---
+++
@@ -1,5 +1,3 @@
#!/bin/bash
-export service_concierge=http:\/\/gameon-concierge:9081/concierge/registerRoom
-export service_room=ws:\/\/game-on.org/rooms
/opt/ibm/wlp/bin/server run defaultServer
| bash |
d_bash_19716 | ---
+++
@@ -1,2 +1,9 @@
#!/bin/bash -eux
-exec pandoc ${@//--latex-engine/--pdf-engine}
+
+##
+## Backward compatibility with Pandoc 1.x command lines
+##
+## 1. --latex-engine becomes --pdf-engine
+## 2. --no-tex-ligatures becomes --from markdown-smart
+##
+exec pandoc $(sed -e's/--latex-engine/--pdf-engine/; s/--n... | bash |
d_bash_19717 | ---
+++
@@ -7,7 +7,8 @@
abspath=$(realpath "$1")
dirname=$(dirname "$abspath");
filename=$(basename "$abspath");
- cwebp "$abspath" -o "$dirname/"$(echo "$filename" | sed -E "s/(\.[A-Za-z0-9]+)$//")".webp";
+ echo "$filename" | grep -e '\.webp$' && { cmd=dwebp; ext=.png; }
+ ${cmd-cwebp} "$abspath" -o "$d... | bash |
d_bash_19718 | ---
+++
@@ -15,6 +15,8 @@
touch .
-git add .
+git add -A .
git commit -m "Rebuild pages"
git push -q upstream HEAD:gh-pages
+
+sbt publish | bash |
d_bash_19719 | ---
+++
@@ -14,14 +14,14 @@
#-----------------------------------------------------------------------------
echo "Updating packages"
apt-get update
-apt-get -y upgrade
+apt-get -q -y upgrade
echo "Installing Kali top 10 tools."
pass=$(head -c 24 /dev/urandom | base64)
echo "mysql-server-5.6 mysql-server/root_p... | bash |
d_bash_19720 | ---
+++
@@ -12,7 +12,9 @@
pushd test/react-native-cli
bundle install
REACT_NATIVE_VERSION=$VERSION bundle exec maze-runner features/build-app-tests/build-ios-app.feature
-check_status $?
+
+# TODO: Reinstate as part of PLAT-6764
+#check_status $?
# Export the IPA separately from MazeRunner (running it inside fa... | bash |
d_bash_19721 | ---
+++
@@ -1,6 +1,6 @@
#!/bin/bash
-LIBRARY_VERSION=6.1.0
+LIBRARY_VERSION=6.1.1
# Fix sqlite3 flags
# The standard parameter `-lsqlite3` was being replaced at link time by | bash |
d_bash_19722 | ---
+++
@@ -14,7 +14,7 @@
then
printf "%s" "$TIMORLESTE" > TimorLeste.txt
export CATFILE="TimorLeste.txt"
- export CATNAME="Timor-Leste.txt"
+ export CATNAME="Timor-Leste"
$CATEGORIZE
rm TimorLeste.txt
unset TIMORLESTE | bash |
d_bash_19723 | ---
+++
@@ -5,9 +5,4 @@
(cd docs && gitbook build)
-CI_VERSION="head"
-if [ -n "$CI_BUILD_TAG" ]; then
- CI_VERSION="$CI_BUILD_TAG"
-fi
-
-gsutil cp -r -a public-read docs/_book/* gs://docs.itch.ovh/itch/$CI_VERSION/
+gsutil cp -r -a public-read docs/_book/* gs://docs.itch.ovh/itch/$CI_BUILD_REF_NAME/ | bash |
d_bash_19724 | ---
+++
@@ -9,7 +9,7 @@
# Build LAPACK.
# Enable threading. This can be controlled to a certain number by
# setting OPENBLAS_NUM_THREADS before loading the library.
-make QUIET_MAKE=1 DYNAMIC_ARCH=1 BINARY=${ARCH} NO_LAPACK=0 NO_AFFINITY=1 USE_THREAD=1 CFLAGS="-Wno-everything"
+make QUIET_MAKE=1 DYNAMIC_ARCH=1 BIN... | bash |
d_bash_19725 | ---
+++
@@ -8,7 +8,7 @@
#
configure_rootfs_build()
{
- update_keywords '=memcached-1.4.33-r1' '+~amd64'
+ :
}
# | bash |
d_bash_19726 | ---
+++
@@ -25,4 +25,5 @@
# source /opt/rh/python27/enable
#fi
-python2.7 $DIR/schedule_aws_groupwise.py
+#python2.7 $DIR/schedule_aws_groupwise.py
+python2.7 $DIR/schedule_aws.py | bash |
d_bash_19727 | ---
+++
@@ -3,18 +3,20 @@
# This is a script to build the modules and run the test suite in the base
# Docker container.
-die() {
- echo "Error: $@" 1>&2
- exit 1;
-}
+set -x
+set -o
-cd /usr/src/ITKBridgeJavaScript-build || die "Could not cd into the build directory"
+cd /usr/src/ITKBridgeJavaScript
+branch=... | bash |
d_bash_19728 | ---
+++
@@ -24,7 +24,7 @@
# Run git-clang-format, check if it formatted anything
format_output=$(scripts/git-clang-format --binary $1 --commit $base_commit --diff --style=file $files_to_check)
-if [ "$format_output" == "clang-format did not modify any files" ] || [ "format_output" == "no modified files to format"... | bash |
d_bash_19729 | ---
+++
@@ -5,14 +5,17 @@
exit 0
fi
+mkdir -p ${HOME}/bin &
cp ./nameit.sh ${HOME}/bin/nameit
cp ./goto.sh ${HOME}/bin/goto
-cp ./goto_autocomplete /etc/bash_completion.d/
+sudo cp ./goto_autocomplete /etc/bash_completion.d/
chmod +x ${HOME}/bin/nameit
chmod +x ${HOME}/bin/goto
+echo alias goto=". goto... | bash |
d_bash_19730 | ---
+++
@@ -7,25 +7,25 @@
fi
function npm() {
- echo "npm $@"
+ echo "npm $*"
echo "npm ${EXIT_CODE}"
return ${EXIT_CODE}
}
function fail() {
- echo "fail: $@"
+ echo "fail: $*"
}
function success() {
- echo "success: $@"
+ echo "success: $*"
}
function warn() {
- echo "warn: $@"
+ echo ... | bash |
d_bash_19731 | ---
+++
@@ -2,6 +2,8 @@
OVS_REPO=${1:-https://github.com/openvswitch/ovs.git}
OVS_BRANCH=${2:-master}
+
+echo "OVS_REPO=${OVS_REPO} OVS_BRANCH=${OVS_BRANCH}"
# A combined script to run all the things
| bash |
d_bash_19732 | ---
+++
@@ -1,3 +1,4 @@
#!/bin/bash
dot -Tpng -o sample.png sample.dot
+dot -Tpdf -o sample.pdf sample.dot | bash |
d_bash_19733 | ---
+++
@@ -12,5 +12,6 @@
rm /etc/moximo/.master
touch /etc/moximo/.firstboot
ifup eth0:0
+hostnamectl set-hostname --static moximo-virgin
echo "Done.." | bash |
d_bash_19734 | ---
+++
@@ -26,7 +26,7 @@
*) echo "Imagestream testing not supported for $OS environment." ; return 0 ;;
esac
- ct_os_test_image_stream_s2i "${THISDIR}/imagestreams/php-${OS}.json" "${IMAGE_NAME}" \
+ ct_os_test_image_stream_s2i "${THISDIR}/imagestreams/php-${OS%[0-9]*}.json" "${IMAGE_NAME}" \
... | bash |
d_bash_19735 | ---
+++
@@ -25,5 +25,5 @@
# Install packages and test
for PYBIN in /opt/python/cp3*/bin; do
"${PYBIN}/pip" install pogeo --no-index -f /io/wheelhouse
- "${PYBIN}/python" test.py
+ "${PYBIN}/python" /io/test.py
done | bash |
d_bash_19736 | ---
+++
@@ -6,7 +6,9 @@
#############################################################################
#############################################################################
-# Set up Jenkins on the default port 8080.
+# Set up Jenkins on port 8081, since we have tomcat on 8080.
###########################... | bash |
d_bash_19737 | ---
+++
@@ -26,7 +26,7 @@
# Xorg programs
if [ "$DISPLAY" ]; then
export BROWSER=palemoon
- export WINEARCH=win32
+ #export WINEARCH=win32
fi
# Pager | bash |
d_bash_19738 | ---
+++
@@ -3,7 +3,7 @@
PREVD=$(pwd)
cd $SOURCE
-cppcheck $SOURCE --error-exitcode=1 --suppressions cppcheck_suppressions.txt
+cppcheck . --error-exitcode=1 --suppressions cppcheck_suppressions.txt
cd $PREVD
cmake $SOURCE -DCUSTOM_ALLOC=$CUSTOM_ALLOC -DCMAKE_BUILD_TYPE=Debug | bash |
d_bash_19739 | ---
+++
@@ -20,4 +20,4 @@
fi
# Boot up!
-vendor/bin/heroku-php-nginx -C support/app_nginx.conf public.built/
+vendor/bin/heroku-php-nginx -v -C support/app_nginx.conf public.built/ | bash |
d_bash_19740 | ---
+++
@@ -21,12 +21,11 @@
fi
# Strip /docs/ from links
-"${SED[@]}" 's/href="\/docs\//href="\//g' *.html */*.html
-"${SED[@]}" 's/src="\/docs\//src="\//g' *.html */*.html
+"${SED[@]}" 's/href="\/docs\//href="\//g ; s/src="\/docs\//src="\//g' *.html */*.html
# Make absolute links relative
-"${SED[@]}" 's/href... | bash |
d_bash_19741 | ---
+++
@@ -3,6 +3,12 @@
source "./ci/lib/travis_helpers.sh"
set -euo pipefail
+
+# License conformance
+travis_fold_open "License conformance"
+./ci/validate_license_conformance.sh {include/SPTDataLoader/*.h,SPTDataLoader/*.{h,m}}
+travis_fold_close "License conformance"
+
# Executing build actions
echo "Exe... | bash |
d_bash_19742 | ---
+++
@@ -8,7 +8,7 @@
export CONTAINER_NAME=ci_native_tsan
export DOCKER_NAME_TAG=ubuntu:20.04
-export PACKAGES="clang libc++abi-dev libc++-dev python3-zmq"
+export PACKAGES="clang llvm libc++abi-dev libc++-dev python3-zmq"
export DEP_OPTS="CC=clang CXX='clang++ -stdlib=libc++'"
export GOAL="install"
export ... | bash |
d_bash_19743 | ---
+++
@@ -7,12 +7,12 @@
rm -rf docs/_build
make -C docs html
+echo "Checking grammar and style"
+write-good `find docs -name '*.rst'` --passive --so --no-illusion --thereIs --cliches
+
# Exclude release notes from linkcheck when running in travis.
# Note: we've already rendered these - its safe to remove the ... | bash |
d_bash_19744 | ---
+++
@@ -9,7 +9,7 @@
pushd submodules/test-branched-releases
-# "git worktree" is the official replacemen of the previous,
+# "git worktree" is the official replacement of the previous,
# community-contributed git-new-workdir.
git worktree add ../tbs-1.1 release_1.1
git worktree add ../tbs-2.0 release_2.0 | bash |
d_bash_19745 | ---
+++
@@ -1,5 +1,7 @@
-#!/bin/bash
+#!/bin/ash
export PATH=$(npm bin):$PATH
+export PATH=$(yarn global bin):$PATH
+export PATH=$(yarn global dir):$PATH
exec "$@" | bash |
d_bash_19746 | ---
+++
@@ -21,8 +21,8 @@
DIRECTORY_PERMISSION="0775"
DIST_DIR="/path/to/dist/directory/"
-sudo find ${DIST_DIR} -user ${USER} -type f -print | xargs sudo chmod ${FILE_PERMISSION}
-sudo find ${DIST_DIR} -user ${USER} -type d -print | xargs sudo chmod ${DIRECTORY_PERMISSION}
+sudo find ${DIST_DIR} -user ${USER} -t... | bash |
d_bash_19747 | ---
+++
@@ -10,7 +10,8 @@
LD_FLAGS="${2}"
PROFILE="${3}"
-TMP="$(mktemp -d -p . build.XXXXXXXXXX)"
+TMP=docker_build_${BINARY}.tmpdir
+mkdir -p "${TMP}"
CGO_ENABLED=0 GOOS=linux go build \
-installsuffix netgo \
-tags netgo \ | bash |
d_bash_19748 | ---
+++
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
RSYNC="rsync -havz --progress"
HOST="owid@terra"
@@ -9,6 +9,6 @@
$RSYNC --delete $HOST:/home/owid/owid.cloud/wp-content/uploads ~/owid.cloud/wp-content/
mysql -e "DROP DATABASE dev_wordpress;"
mysql --default-character-set="utf8mb4" -e "CREATE DATABASE dev_w... | bash |
d_bash_19749 | ---
+++
@@ -3,5 +3,4 @@
conda install psycopg2 --yes
git clone https://github.com/maurodoglio/bz2db.git
pip install -r bz2db/requirements.txt
-cd bz2db
-python update_bugs.py
+cd bz2db && python bz2db/update_bugs.py | bash |
d_bash_19750 | ---
+++
@@ -1,8 +1,17 @@
#!/bin/bash
-set -e
-
echo "running markdownlint"
/usr/local/bin/markdownlint /docs/content/ "$PROJECT"
+ERRORS=$?
+echo "ERRORS = $ERRORS"
+if [ $ERRORS -ne 0 ]; then
+ echo "<testsuite tests='1'><testcase classname='markdownlint' name='DocChanges'><failure>$ERRORS markdownlint errors</... | bash |
d_bash_19751 | ---
+++
@@ -1,6 +1,6 @@
#!/bin/sh
echo "starting functional tests"
-source ejrf_env/bin/activate
+source ../ejrf_env/bin/activate
cp eJRF/snap-ci/snap-settings.py eJRF/localsettings.py
echo "setup for tests done"
./manage.py harvest --tag=-WIP | bash |
d_bash_19752 | ---
+++
@@ -1,4 +1,7 @@
#!/bin/bash
+
+# Exit on failed commands
+set -e
# build binary distributions for linux/amd64 and darwin/amd64
@@ -15,13 +18,13 @@
goversion=$(go version | awk '{print $3}')
echo "... running tests"
-./test.sh || exit 1
+./test.sh
for os in linux darwin; do
echo "... building... | bash |
d_bash_19753 | ---
+++
@@ -1 +1 @@
-stack exec -- cardano-node --system-start 1491409300 --explicit-initial --listen 127.0.0.1:12100 --log-config util-scripts/log-config-abc.yaml --logs-prefix "logs/abc" --db-path db-abc --peer 35.157.213.184:3000/zzQk9aJKJ9CGD3ATxO_RGUX_s7TTVS-_hw8mRkX6u9g= --wallet --wallet-db-path wdb-abc --kade... | bash |
d_bash_19754 | ---
+++
@@ -1,4 +1,18 @@
#!/bin/sh
+
+# Allow invocation from a separate build directory; in that case, we change
+# to the source directory to run the auto*, then change back before running configure
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+ORIGDIR=`pwd`
+cd $srcdir
+
+DIRNAME=`basename $PWD`
+if test... | bash |
d_bash_19755 | ---
+++
@@ -35,9 +35,12 @@
time sudo apt-get install -y ethereum
# Make the $$HOMEDIR/ethereum directory to skip the legalese
-mkdir -p $HOMEDIR/.ethereum/keystore/
+mkdir -p $HOMEDIR/blockchain/chaindata
+mkdir -p $HOMEDIR/blockchain/dapp
+sudo chown -R $AZUREUSER $HOMEDIR/blockchain
+sudo chgrp -R $AZUREUSER $H... | bash |
d_bash_19756 | ---
+++
@@ -3,7 +3,7 @@
case "$1" in
java8)
- echo "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u222-b10/OpenJDK8U-jdk_x64_linux_hotspot_8u222b10.tar.gz"
+ echo "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u232-b09/OpenJDK8U-jdk_x64_linux_hotspot_8u232b... | bash |
d_bash_19757 | ---
+++
@@ -2,4 +2,4 @@
# Runs a simple check to test that the QIS service is running
-curl -A "curl/docker healthcheck" -s "http://localhost/api/v1/list/?path=/&limit=1" | grep '"status": 200' || exit 1
+curl -A "curl/docker healthcheck" -s "http://localhost/api/v1/list/?path=/&limit=1" | grep -e '"status":[\s]... | bash |
d_bash_19758 | ---
+++
@@ -39,7 +39,7 @@
ln -sf "${DIR}/config" ~/.ssh/config
mkdir -p $HOME/.config/alacritty
ln -sf "${DIR}/alacritty.yml" $HOME/.config/alacritty/alacritty.yml
+ln -sf "${HOME}/Droppox/Sensitive/2fa" $HOME/.config/ga
# setup zsh
mkdir -p $HOME/.zsh
- | bash |
d_bash_19759 | ---
+++
@@ -1,2 +1,4 @@
-export FrameworkPathOverride=$(dirname $(which mono))/../lib/mono/4.5/
+#!/bin/sh
+FrameworkPathOverride=$(dirname "$(which mono)")/../lib/mono/4.5/
+export FrameworkPathOverride
pwsh ./build.ps1 | bash |
d_bash_19760 | ---
+++
@@ -11,8 +11,9 @@
# Try to get BSSID from profile first
config_load profile_$community
config_get bssid bssidscheme $channel
+config_get bssid_all bssidscheme "all"
-if [ -z "$bssid" ]; then
+if [ -z "$bssid" ] && [ -z "$bssid_all" ]; then
case $channel in
[1-9])
bssid="$(printf "%X\n" $channel)2:... | bash |
d_bash_19761 | ---
+++
@@ -1,4 +1,6 @@
#!/bin/bash
+
+
BRANCH=`git branch 2> /dev/null | grep "*" | sed 's#*\ \(.*\)#\1#'`
if [ "$BRANCH" != "master" ]
@@ -8,7 +10,13 @@
DESC=`git describe`
-TMP=`mktemp --tmpdir -d temp.XXXXXX.$$`
+# Update master branch
+node-waf doc
+git add doc/*.js doc/*.html
+git ci -m "Update docs t... | bash |
d_bash_19762 | ---
+++
@@ -1,5 +1,6 @@
+EXTENSION_ID=zogger@personal.com
LOCATION=`pwd`
PROFILES="/Users/$(whoami)/Library/Application Support/Firefox/Profiles/"
DEV_PROFILE=`ls "$PROFILES" | grep .dev`
mkdir -p "$PROFILES/$DEV_PROFILE/extensions/"
-echo $LOCATION > "$PROFILES/$DEV_PROFILE/extensions/zogger@personal.com"
+ech... | bash |
d_bash_19763 | ---
+++
@@ -5,6 +5,9 @@
util/commit-validator/validate-gofmt
+GIT_COMMIT=dev GIT_BRANCH=dev GIT_TAG=none GIT_DIRTY=false tup appliance/etcd discoverd
+PATH=$PATH:$PWD/appliance/etcd/bin:$PWD/discoverd/bin
+
export PGHOST=/var/run/postgresql
sudo service postgresql start
| bash |
d_bash_19764 | ---
+++
@@ -1,4 +1,4 @@
#!/bin/sh
-python ../rst2pdf/createpdf.py manual.txt -o manual.pdf -s manual.style -b1
+../bin/rst2pdf manual.txt -o manual.pdf -s manual.style -b1
rst2man rst2pdf.txt rst2pdf.1 | bash |
d_bash_19765 | ---
+++
@@ -10,6 +10,7 @@
xinit \
xwit \
xserver-xorg \
+ xserver-xorg-legacy \
xserver-xorg-video-fbdev \
x11-xserver-utils \
ttf-mscorefonts-installer \ | bash |
d_bash_19766 | ---
+++
@@ -13,10 +13,6 @@
#
# Copyright 2017 Google, Inc.
-set -v
-set -x
-set -e
-
# Read text from stdin
read txt; TEXT=${txt};
| bash |
d_bash_19767 | ---
+++
@@ -10,6 +10,18 @@
echo "Press enter when you are ready to release."
read
+if [ -z "$SONATYPE_USERNAME" ]; then
+ echo "Enter Sonatype username:"
+ read username
+ export SONATYPE_USERNAME=$(echo "${username}")
+fi
+
+if [ -z "$SONATYPE_PASSWORD" ]; then
+ echo "Enter Sonatype password:"
+ read -s pa... | bash |
d_bash_19768 | ---
+++
@@ -1,9 +1,12 @@
#!/bin/bash
sudo apt-get install exuberant-ctags
-ln -s /usr/bin/ctags-exuberant /usr/local/bin/ctags
+sudo ln -s /usr/bin/ctags-exuberant /usr/local/bin/ctags
+sudo apt-get install libncurses-dev
wget ftp://ftp.gnu.org/pub/gnu/global/global-6.5.4.tar.gz
tar xvf global-6.5.4.tar.gz
cd gl... | bash |
d_bash_19769 | ---
+++
@@ -1,6 +1,4 @@
# Only set this if we haven't set $EDITOR up somewhere else previously.
if [[ "$EDITOR" == "" ]] ; then
- export EDITOR="mate -w"
+ export EDITOR="/usr/local/bin/atom --wait"
fi
-
- | bash |
d_bash_19770 | ---
+++
@@ -1,4 +1,4 @@
#!/bin/bash
sudo apt-get update
-sudo apt-get install -y clang-3.6 llvm-3.6-dev libedit-dev
+sudo apt-get install -y clang-3.8 llvm-3.8-dev libedit-dev | bash |
d_bash_19771 | ---
+++
@@ -11,5 +11,5 @@
print_start cask firefox
install cask firefox
-print_start cask homebrew/cask-versions/microsoft-edge
-install cask homebrew/cask-versions/microsoft-edge
+print_start cask microsoft-edge
+install cask microsoft-edge | bash |
d_bash_19772 | ---
+++
@@ -4,7 +4,7 @@
if [ -z "$1" -o "${1:0:1}" = '-' ]; then
cd $HOME
- exec gosu default java -Djava.security.egd=file:/dev/urandom -jar lib/$SB_APP_JAR --spring.profiles.active=${SB_ACTIVE_PROFILES} "$@"
+ exec gosu default java ${JAVA_OPTS} -Djava.security.egd=file:/dev/urandom -jar lib/$SB_APP_... | bash |
d_bash_19773 | ---
+++
@@ -3,6 +3,7 @@
declare -A aliases=(
[4.5]='4 latest'
+ [5.0]='5'
)
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")" | bash |
d_bash_19774 | ---
+++
@@ -23,4 +23,3 @@
alias vp="vagrant provision"
alias atom="/Applications/Atom.app/Contents/MacOS/Atom"
-alias vim=atom | bash |
d_bash_19775 | ---
+++
@@ -17,7 +17,8 @@
for package in $(ls definitions); do
rm -rf generate-go-tmp
mkdir -p generate-go-tmp/$package
- mkdir $package
+ rm -rf $package
+ mkdir -p $package
for i in $(ls definitions/$package/*.proto); do
cp go/go_preamble.proto generate-go-tmp/$package/`basename $i` | bash |
d_bash_19776 | ---
+++
@@ -15,8 +15,8 @@
for version in 3.0.17 3.1.8 3.2.9
do
- echo "Running bundle exec rspec spec against rails $version..."
- MAIL_ISO_2022_JP_RAILS_VERSION=$version bundle update mail rails
+ echo "Running bundle exec rspec spec against actionmailer $version..."
+ MAIL_ISO_2022_JP_RAILS_VERS... | bash |
d_bash_19777 | ---
+++
@@ -6,7 +6,7 @@
EXPECTED_BROWSERS=$1
# How many seconds should we wait for the browsers to connect?
-WAIT=${2:-10}
+WAIT=${2:-15}
# Selenium hub hostname.
HOST=${3:-localhost} | bash |
d_bash_19778 | ---
+++
@@ -11,8 +11,6 @@
# Preview Markdown files.
-# TODO: Had to download and install 1.3.1 manually, until `brew cask` includes that version.
-# TODO: Also had to apply patch from https://github.com/toland/qlmarkdown/pull/32.
brew cask install qlmarkdown
# Preview plain text files without a file extensio... | bash |
d_bash_19779 | ---
+++
@@ -7,7 +7,6 @@
go test -coverprofile=ipfs.cover.out ./ipfs
go test -coverprofile=net.cover.out ./net
go test -coverprofile=netservice.cover.out ./net/service
-go test -coverprofile=pb.cover.out ./pb
go test -coverprofile=repo.cover.out ./repo
go test -coverprofile=repodb.cover.out ./repo/db
go test -co... | bash |
d_bash_19780 | ---
+++
@@ -28,8 +28,8 @@
function cleanup
{
- if [ "$(ls test/results/coverage/)" ]; then
- ansible-test coverage xml --color -vv --requirements
+ if find test/results/coverage/ -mindepth 1 -name '.*' -prune -o -print -quit | grep -q .; then
+ ansible-test coverage xml --color -v --requiremen... | bash |
d_bash_19781 | ---
+++
@@ -1 +1 @@
-export MAVEN_OPTS="-Xmx800m -Xss2048k -DgenerateBackupPoms=false"
+export MAVEN_OPTS="-Xmx800m -Xss4m -DgenerateBackupPoms=false" | bash |
d_bash_19782 | ---
+++
@@ -1,4 +1,4 @@
#!/bin/bash
set -e
apt-get update -y
-apt-get install -y curl bzip2 build-essential python
+apt-get install -y curl bzip2 build-essential python git | bash |
d_bash_19783 | ---
+++
@@ -27,6 +27,9 @@
ln -s $PWD/$file $HOME/$file
}
+# Catch interrupt signal (usually by pressing CTRL-C)
+trap 'echo "Interrupted by user. Aborting."; exit 1;' INT
+
# Use all dotfiles
for dotfile in $DOTFILES; do
use $dotfile | bash |
d_bash_19784 | ---
+++
@@ -11,5 +11,5 @@
# Build and execute Monolithic fat jar
cd Monolithic/
-java -cp target/scala-2.11/monolithic.jar me.flygare.Monolithic 2>monolithic.log
+nohup java -cp target/scala-2.11/monolithic.jar me.flygare.Monolithic
cd .. | bash |
d_bash_19785 | ---
+++
@@ -1,6 +1,4 @@
#!/bin/bash
-
-set -e
BAZEL="bazel"
@@ -8,13 +6,18 @@
REGRESSION_TESTS=(
$(${BAZEL} query 'attr(tags, regression, tests(//asylo/...))')
)
+
# Separately run the host and enclave tests, with different configs.
# The "enclave_test" tag can be used to separate them, and "build_tests_... | bash |
d_bash_19786 | ---
+++
@@ -13,5 +13,5 @@
-e F8A_JOB_API_URL=${F8A_JOB_API_URL} \
-e F8A_ANITYA_API_URL=${F8A_ANITYA_API_URL} \
${RECOMMENDER_API_TOKEN:+-e RECOMMENDER_API_TOKEN=${RECOMMENDER_API_TOKEN}} \
- f8a-e2e-tests --tags=-jobs.requires_auth --no-color $@
+ f8a-e2e-tests --tags=-jobs.requires_auth --tags=... | bash |
d_bash_19787 | ---
+++
@@ -3,6 +3,6 @@
sudo rm -rf /Library/PreferencePanes/Growl.prefPane
#The installer will have killed these if this is a fresh install but not if it is an upgrade... where upgrade is defined fairly inconsistently. Killing the system prefs by name won't work for non-English systems, but the attempt is bette... | bash |
d_bash_19788 | ---
+++
@@ -13,4 +13,4 @@
mkdir -p artefacts
cd output
-zip -r ../artefacts/service-explorer.zip .
+zip -r ../artefacts/service-explorer-$BUILD_ID.zip . | bash |
d_bash_19789 | ---
+++
@@ -5,7 +5,11 @@
# check out the dev hub code
[ -d devhub ] && rm -rf devhub
-git clone --branch develop git@github.com:SparkPost/sparkpost.github.io.git devhub || exit 255
+if env | grep -q ^TRAVIS=; then
+ git clone --branch develop https://${GIT_NAME}:${GH_TOKEN}@github.com/SparkPost/sparkpost.github.... | bash |
d_bash_19790 | ---
+++
@@ -1,5 +1,6 @@
export CXXFLAGS="${CXXFLAGS} -I${PREFIX}/include"
+ZLIB_ROOT=$PREFIX
./configure --prefix="${PREFIX}"
make -j"${CPU_COUNT}"
make install | bash |
d_bash_19791 | ---
+++
@@ -5,6 +5,8 @@
# Handle the case of running without vagrant
if ! [ -L /vagrant ]; then
mkdir $HOME/apache_home
+ mkdir $HOME/apache_home/html
+ echo "Hello ubuntu World!" > $HOME/apache_home/html/index.html
sudo ln -s $HOME/apache_home /vagrant
fi
| bash |
d_bash_19792 | ---
+++
@@ -17,6 +17,7 @@
echo Downloading Docker requirements..
wget --user=admin --password=$ADMIN_PASSWORD https://$BUILD_DOCKER_HOST:8443/dockerneeds.tar -q
echo Setting up Docker...
+sudo apt-get update ; sudo apt-get install -y lxc
tar xzf dockerneeds.tar ; mv docker ../ ; cd .. ; chmod +x docker ; \
expo... | bash |
d_bash_19793 | ---
+++
@@ -1,8 +1,18 @@
-#!/bin/sh
+#!/bin/sh
-echo "*** Autoconf/automake is deprecated for Openwsman"
-echo "*** and might not fully work."
-echo "*** Use cmake instead !"
+cat <<EOS >&2
+*** Autoconf/automake is deprecated for Openwsman and might not fully work.
+*** Please use CMake instead!
+
+EOS
+
+if [ "$... | bash |
d_bash_19794 | ---
+++
@@ -1,6 +1,6 @@
#!/usr/bin/env sh
-if dpkg -l log2ram ; then
+if dpkg -l log2ram 2> /dev/null; then
echo "Please run : apt remove log2ram"
exit 1
fi | bash |
d_bash_19795 | ---
+++
@@ -16,4 +16,21 @@
}
}
+# SBCL does not ship with readline support, so we'll need to wrap the REPL
+# command with the `rlwrap` command to inject readline support.
+sbcl() {
+ if [ -z "$(command -v rlwrap)" ]; then
+ err "rlwrap not installed"
+ return 1
+ fi
+
+ if [ -n "$(command -v ros)" ]... | bash |
d_bash_19796 | ---
+++
@@ -10,9 +10,9 @@
#
function user_is_admin {
if [[ $(dsmemberutil checkmembership -U "${USER}" -G "admin") == "user is a member of the group" ]]; then
- return 0 # true
+ return true
else
- return 1 # false
+ return false
fi
}
| bash |
d_bash_19797 | ---
+++
@@ -12,10 +12,7 @@
# Copy CSS
rsync -r css $OUT_DIR
-scss_compile $OUT_DIR/css/select.dataTables.scss
-scss_compile $OUT_DIR/css/select.bootstrap.scss
-scss_compile $OUT_DIR/css/select.foundation.scss
-scss_compile $OUT_DIR/css/select.jqueryui.scss
+css_frameworks select $OUT_DIR/css
# Copy images
#rs... | bash |
d_bash_19798 | ---
+++
@@ -13,7 +13,7 @@
[ -e "$VIMRC_HOME/vimrc" ] && die "$VIMRC_HOME/vimrc already exists."
[ -e "~/.vimrc" ] && die "~/.vimrc already exists."
-git clone git@github.com:kwokhou/hydro-vimrc.git "$VIMRC_HOME"
+git clone https://github.com/kwokhou/hydro-vimrc.git "$VIMRC_HOME"
cd "$VIMRC_HOME"
| bash |
d_bash_19799 | ---
+++
@@ -7,7 +7,7 @@
if [ "$1" = 'sphinx' ]; then
echo "Starting sphinx in foreground."
- exec gosu nobody:nogroup /usr/bin/searchd --console --config /etc/sphinxsearch/sphinx.conf
+ exec gosu nobody:nogroup /usr/bin/searchd --console --config /etc/sphinxsearch/sphinx.conf --pidfile=/var/run/sphinxse... | bash |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.