document_id
stringlengths
8
12
document
stringlengths
50
3.21k
split
stringclasses
1 value
d_bash_2300
--- +++ @@ -4,7 +4,7 @@ ./on-build-config/build-release-tools/HWIMO-BUILD on-build-config/build-release-tools/application/release_to_atlas.py \ --build-directory ./VAGRANT/build/packer \ ---atlas-url https://atlas.hashicorp.com/api/v1 \ +--atlas-url https://app.vagrantup.com/api/v1 \ --atlas-creds ${ATLAS_CREDS...
bash
d_bash_2301
--- +++ @@ -26,4 +26,4 @@ ./push-release-tarball.sh cockroach cockroach-latest.linux-amd64 # The OSX binary name is generated by build-osx.sh. One tagged, one called "latest". ./push-release-tarball.sh cockroach-darwin-10.9-amd64 cockroach-${CIRCLE_TAG}.darwin-10.9-amd64 -./push-release-tarball.sh cockroach-darwin...
bash
d_bash_2302
--- +++ @@ -19,7 +19,7 @@ # .tar.gz rm -rf luv-${version} mkdir -p luv-${version}/deps -cp -r src cmake CMakeLists.txt LICENSE.txt README.md docs.md luv-${version}/ +cp -r src cmake CMakeLists.txt LICENSE.txt README.md docs.md libluv.pc.in luv-${version}/ cp -r deps/libuv deps/lua-compat-5.3 deps/*.cmake deps/lua...
bash
d_bash_2303
--- +++ @@ -1,11 +1,6 @@ #!/usr/bin/env zsh -# Install extra npm packages. -if (( $+commands[npm] )); then - # tiny-care-terminal - _install_tiny_care_terminal -fi - +# Helper functions. _install_tiny_care_terminal() { npm install -g git-standup tiny-care-terminal @@ -17,3 +12,9 @@ echo "Config ...
bash
d_bash_2304
--- +++ @@ -5,6 +5,8 @@ if [ ! -z "$APPSDK_SRC_VERSION" ]; then npm install rally-appsdk@${APPSDK_SRC_VERSION} --save --save-exact fi + +grunt build # grunt clean nexus:deploy # 1) ^ this goes away
bash
d_bash_2305
--- +++ @@ -1,16 +1,44 @@ -cd deps +#!/bin/bash + +HOME_DIR=`pwd` + +command -v compass >/dev/null 2>&1 || { echo "I require compass but it's not installed. Install with ´sudo gem install compass --pre´ Aborting." >&2; exit 1; } +cd $HOME_DIR/deps + git submodule update --recursive --remote -cd che-core +if [ $? -n...
bash
d_bash_2306
--- +++ @@ -15,6 +15,7 @@ # Create the CI user with appropricate permissions aws iam create-user --user-name $CIUSER +# NOTE: AWSElasticBeanstalkFullAccess --> AdministratorAccess-AWSElasticBeanstalk aws iam attach-user-policy --user-name $CIUSER --policy-arn arn:aws:iam::aws:policy/AWSElasticBeanstalkFullAccess...
bash
d_bash_2307
--- +++ @@ -26,6 +26,9 @@ # Install the wheels ${INSTALL_DIR}/env/bin/pip install --use-wheel --no-deps --no-index -U --force-reinstall -f ${INSTALL_DIR}/share/wheelhouse -r ${INSTALL_DIR}/share/wheelhouse/requirements.txt > /dev/null 2>&1 + # Add symlink + ln -s ${INSTALL_DIR}/env/bin/hg /usr/local...
bash
d_bash_2308
--- +++ @@ -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_2309
--- +++ @@ -16,10 +16,14 @@ _rsync_cmd='rsync --verbose --progress --human-readable --compress --archive --hard-links --one-file-system' +if grep -q 'xattrs' <(rsync --help 2>&1); then + _rsync_cmd="${_rsync_cmd} --acls --xattrs" +fi + # Mac OS X and HFS+ Enhancements # http://help.bombich.com/kb/overview/cre...
bash
d_bash_2310
--- +++ @@ -9,4 +9,4 @@ mosquitto -c mosquitto.conf -d cd .. -REPORT_EXIT_STATUS=1 TEST_PHP_ARGS="-q --show-diff" make test +USE_ZEND_ALLOC=1 REPORT_EXIT_STATUS=1 TEST_PHP_ARGS="-q --show-diff" make test
bash
d_bash_2311
--- +++ @@ -19,6 +19,8 @@ cd .. wget --no-check-certificate https://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg || exit sh setuptools-0.6c11-py2.7.egg --prefix=$HOME || exit + pip install setuptools --no-use-wheel --upgrade + pip install ipython easy_install-2.7 pudb fi
bash
d_bash_2312
--- +++ @@ -22,6 +22,5 @@ exit fi -# astor 0.6 removed "codegen" (renamed to "code_gen"), which breaks hy 0.12.1 -pip install -q 'hy==0.12.1' 'astor==0.5' +pip install -q 'hy==0.12.1' hy ./container.hy
bash
d_bash_2313
--- +++ @@ -1,5 +1,5 @@ #!/bin/bash -l -set -e +set -ex if [ -n "$DESTINATION" ]; then xcodebuild -project Valet.xcodeproj -scheme "$SCHEME" -sdk $SDK -destination "$DESTINATION" -configuration Debug -PBXBuildsContinueAfterErrors=0 $ACTION
bash
d_bash_2314
--- +++ @@ -1,5 +1,5 @@ #!/usr/bin/env bash -mkdocs build +python -m mkdocs build cp ./docs/index.md ./README.md
bash
d_bash_2315
--- +++ @@ -1,4 +1,5 @@ #!/usr/bin/env bash set -e exec ./manage.py worker_health_checks -exec celery -A laalaa status +# This timeouts on the new cluster and there is no way to pass the --timeout option in this version of celery +# exec celery -A laalaa status
bash
d_bash_2316
--- +++ @@ -7,7 +7,7 @@ # organize Unprocessed photos by date into Organized find -E Unprocessed \ -type f \ - -iregex '.*\.(jpg|mov|heic|mp4)' \ + -iregex '.*\.(jpg|jpeg|mov|heic|mp4)' \ -print0 | xargs -0 -I {} \ exiftool \ -P -d '%Y/%m/%Y%m%d_%H%M%S' \
bash
d_bash_2317
--- +++ @@ -3,6 +3,6 @@ tclsh vera++/generatePaths.tcl vera++ --error -p allRules --root vera++ <vera++/params -git_diff=$( { git diff --diff-filter=d --name-only ${TRAVIS_COMMIT_RANGE:-upstream/master HEAD} || true ; } \ +git_diff=$( { git diff --diff-filter=d --name-only ${TRAVIS_COMMIT_RANGE:-upstream/master} ...
bash
d_bash_2318
--- +++ @@ -1,6 +1,5 @@ #!/bin/bash -output="$(task projects | egrep -v '(Project|projects|---)' | \ -awk '{print $1}' | sed '/^$/d' | rofi -dmenu -p 'TaskWarrior: ')" +output="$(todo.py projects | rofi -dmenu -p 'Todoist: ')" -task add project:$output +todo.py add $output
bash
d_bash_2319
--- +++ @@ -16,6 +16,7 @@ PATH="$HOME/.yarn/bin:$PATH" PATH="$HOME/.config/kubectx:$PATH" PATH="/usr/local/go/bin:$GOPATH/bin:$PATH" + export PATH="$HOME/.rbenv/bin:$PATH" PATH=".git/safe/../../bin:$PATH" PATH=".git/safe/../../node_modules/.bin:$PATH"
bash
d_bash_2320
--- +++ @@ -2,20 +2,22 @@ readonly TEMP=/tmp/app/doc readonly ROOT=~/Development/Scala/bootstrapper -readonly FILES=${ROOT}/src/app/com/taig/bootstrapper/*.scala -readonly DOC=${ROOT}/doc +readonly APP=${ROOT}/src +readonly SOURCE=${APP}/target/scala-2.10/api +readonly TARGET=${ROOT}/doc -cd ${ROOT} ...
bash
d_bash_2321
--- +++ @@ -1,2 +1,2 @@ #!/bin/bash -CC=avr-gcc CXX=avr-c++ LINK="-mmcu=atmega128 -Wl,-gc-sections" COMP="-O2 -ggdb -Wa,-mmcu=atmega128 -mmcu=atmega128 -ffunction-sections -fdata-sections" cmake -DCMAKE_SYSTEM_NAME=Generic -DARCH=AVR -DWORD=8 -DOPSYS=NONE -DSEED=LIBC -DSHLIB=OFF -DSTBIN=ON -DTIMER=NONE -DWITH="DV;M...
bash
d_bash_2322
--- +++ @@ -3,8 +3,16 @@ echo "App Image Sidecar Container" echo "" echo "Copying application into shared volume." +echo "" -# Todo, move over to rsync. -# todo: check target dir exists or error out. -# toto: use env var for source and target paths. -cp -R /app /www-data +echo "Rsync source is: ${RSYNC_SOURCE}/"...
bash
d_bash_2323
--- +++ @@ -14,9 +14,10 @@ function check_version { local MIN_VERSION="4.3" - local version=`VBoxManage --version | perl -ne 'm/(\d\.\d)\./; print "$1"'` + local MY_VERSION=`VBoxManage --version | perl -ne 'm/(\d\.\d)\./; print "$1"'` + local VERSION_CHECK=`ruby -e "puts Gem::Version.new...
bash
d_bash_2324
--- +++ @@ -1,7 +1,10 @@ #!/bin/sh EGREP="grep -E" -#EGREP="egrep" + +PLATFORM="`uname -s`" + +[ "$PLATFORM" = "SunOS" ] && EGREP=egrep set -e @@ -40,3 +43,16 @@ do_tests make clean rm -f tests/cjson.so + +if [ "$PLATFORM" = "Linux" ] +then + echo "===== Testing RPM build =====" + make package + LOG=/tmp/...
bash
d_bash_2325
--- +++ @@ -1,5 +1,19 @@ alias gcrli='gcloud container images list --repository=asia.gcr.io/greensync-container-registry' gcrlt() { - gcloud container images list-tags asia.gcr.io/greensync-container-registry/"$1" + local full_image_name + if [[ "$1" =~ ^asia.gcr.io/greensync-container-registry/ ]]; then + ...
bash
d_bash_2326
--- +++ @@ -1,21 +1,37 @@ ### Installing docker service -# Reference: https://docs.docker.com/engine/installation/linux/ubuntulinux/ +# Reference: https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/ +# Removing old versions +sudo apt-get remove docker docker-engine docker.io + +# Recommended extra ...
bash
d_bash_2327
--- +++ @@ -1,6 +1,9 @@ #!/usr/bin/env bash set -eo pipefail scriptDir=$(readlink -f $(dirname $0)) + +# We don't want to assume ducttape is in the path for running test scripts +export PATH=$scriptDir:$PATH tutorialDir=$(readlink -f syntax/tutorial) for tape in $tutorialDir/*/*.tape; do
bash
d_bash_2328
--- +++ @@ -8,9 +8,13 @@ if test "$1" = "thor" then cd thor + cd imgutil + echo "Build imgutil..." thorc b d && thorc g b + cd ../monochrome + echo "Build monochome..." thorc b d elif test "$1" = "c_st"
bash
d_bash_2329
--- +++ @@ -1,15 +1,18 @@ #!/bin/sh -RESULT_DIR="result" +RESULT_DIR="../result" OUTPUT_DIR="../temp" FILE="thesis" +cd tex mkdir $RESULT_DIR -cd tex mkdir $OUTPUT_DIR +cp literatur.bib $OUTPUT_DIR pdflatex -output-directory="$OUTPUT_DIR" -synctex=1 -interaction=nonstopmode ${FILE}.tex -bibtex $OUTPUT_DIR/${FI...
bash
d_bash_2330
--- +++ @@ -1,17 +1,22 @@ #!/usr/bin/env bash -if [ "$TRAVIS_PULL_REQUEST" != "false" ] && [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then - # Bench variable - echo "Benchmarking PR #$TRAVIS_PULL_REQUEST..." && \ - cargo bench > benches/PR_$TRAVIS_PULL_REQUEST && \ - # Bench master - echo "Checking ou...
bash
d_bash_2331
--- +++ @@ -12,7 +12,7 @@ echo "*** Installing dependencies (hardcoded list)" -apt-get install -y openjdk-6-jdk python python-support pkg-config +apt-get install -y openjdk-6-jdk python python-support pkg-config zlibg1-dev echo "*** Installing packages"
bash
d_bash_2332
--- +++ @@ -1,4 +1,4 @@ front scale front=1 mkdir -p /ida -ln -s /opt/front /ida/front +[ ! -L /ida/front ] && ln -s /opt/front /ida/front front run rake tmp:create
bash
d_bash_2333
--- +++ @@ -3,17 +3,18 @@ host=${1:-"cz5545-fuel"} branch=${2:-$(git rev-parse --abbrev-ref HEAD)} -container="fuel-core-6.1-nailgun" version=$(awk -F\" '/version/{print $2}' < setup.py) wheel="octane_nailgun-${version}-py2-none-any.whl" +location="octane/octane_nailgun" +container="fuel-core-6.1-nailgun" + ...
bash
d_bash_2334
--- +++ @@ -4,8 +4,12 @@ yum -y install cloud-init cloud-utils-growpart chkconfig cloud-init on -# Install denyhosts from our local repo -yum -y install http://packages.osuosl.org/repositories/centos-7/osl/x86_64/denyhosts-2.6-19.el7.centos.noarch.rpm +if -n "$(grep \'CentOS Linux release 6\' /etc/redhat-release)...
bash
d_bash_2335
--- +++ @@ -23,6 +23,7 @@ echo "nssdb file exists. carry on..." else echo "nssdb database was not initialized - initializing.." + mkdir -p ${NSSDB} certutil -d sql:$NSSDB -N --empty-password fi certutil -d sql:$NSSDB -A -t "P,," -n $SSL_NAME -i ros.crt
bash
d_bash_2336
--- +++ @@ -22,18 +22,19 @@ test_repository() { ADDRESS=$1 + BRANCH=$2 REPODIR=$TMPDIR/$(basename $1) git clone $ADDRESS $REPODIR pushd $REPODIR - git checkout aws-sdk-swift-master + git checkout $BRANCH swift test popd } # Test latest code against -test_repository https:/...
bash
d_bash_2337
--- +++ @@ -16,6 +16,7 @@ PLATFORM_NAME=$(basename ${PLATFORM}) pushd ${PLATFORM} - zip ../../pkg/${PLATFORM_NAME}.zip ./* + cp -r ../../misc ./ + zip -r ../../pkg/${PLATFORM_NAME}.zip ./* popd done
bash
d_bash_2338
--- +++ @@ -1,6 +1,10 @@ #! /bin/bash mkdir _build && cd _build -cmake .. -DCMAKE_INSTALL_PREFIX=$PREFIX + +cmake .. \ + -DCMAKE_INSTALL_PREFIX:PATH=$PREFIX \ + -DCMAKE_PREFIX_PATH:PATH=$PREFIX + make -j$CPU_COUNT all make -j$CPU_COUNT install
bash
d_bash_2339
--- +++ @@ -24,7 +24,7 @@ echo "Deleting previous latest" # It has not already been created. Delete the old one, if present. - hub release delete Latest + hub release delete latest hub push origin latest --delete git tag -d latest else
bash
d_bash_2340
--- +++ @@ -10,6 +10,14 @@ fi case "$file" in + *:*) + # you're never allowed to commit a file that has forbidden + # characters in the name (such as : -- doesn't work on Windows) + echo "Pre-commit check failed:" + echo "You are not allowed to commit files with a colon (:) in the name" + echo "since t...
bash
d_bash_2341
--- +++ @@ -4,6 +4,9 @@ npm i -g yarn@0.21.3 if [ $? -eq 0 ]; then echo "Yarn successfulling installed globally." + else + echo "Yarn failed to install...please install manually." + exit 1 fi fi echo "Removing the node modules folder..."
bash
d_bash_2342
--- +++ @@ -1,4 +1,33 @@ #!/usr/bin/env bash #Author Jean Silva <me@jeancsil.com> -docker run -d -t -i jeancsil/flight-spy +YELLOW='\033[1;33m' +GREEN='\033[0;32m' +WHITE='\033[0;97m' +NO_COLOR='\033[0m' + +DETACHED="" + + + +if [ "$1" == "-h" ] || [ "$1" == "--help" ]; then + printf "${YELLOW}Usage:${NO_COLOR...
bash
d_bash_2343
--- +++ @@ -13,4 +13,16 @@ /usr/bin/{update-mime-database,update-desktop-database,gtk-update-icon-cache} pkg_install_if_os fedora gjs parallel clang +# Temporarily build ostree from git master for https://github.com/flatpak/flatpak/pull/848 +(git clone --depth=1 https://github.com/ostreedev/ostree/ + cd ostre...
bash
d_bash_2344
--- +++ @@ -9,5 +9,4 @@ # User specific install steps -git config --global format.pretty oneline -git config --global log.abbrevCommit true +git config --global format.pretty format:"%C(yellow)%h%Creset %s%n%Cgreen%ad%Creset %aN <%aE>%n"
bash
d_bash_2345
--- +++ @@ -1,5 +1,5 @@ #!/bin/bash set -e -version="20.10.15" +version="20.10.16" echo "https://download.docker.com/linux/static/stable/x86_64/docker-$version.tgz";
bash
d_bash_2346
--- +++ @@ -32,8 +32,8 @@ export OPENSSL_INCLUDE_DIR=`brew --prefix openssl`/include export OPENSSL_LIB_DIR=`brew --prefix openssl`/lib - brew install sqlite - brew install cppunit + command -v sqlite || brew install sqlite + command -v cppunit || brew install cppunit # Installi...
bash
d_bash_2347
--- +++ @@ -16,3 +16,5 @@ git tag $TAG git push --tags +echo "You should now edit release notes for this version: https://github.com/openium/SwiftiumKit/releases/edit/$TAG" +
bash
d_bash_2348
--- +++ @@ -19,7 +19,7 @@ assert_raises "exec_on $HOST1 c0 dig MX $NAME | grep -q 'status: NXDOMAIN'" check() { - assert "exec_on $HOST1 c0 dig +short $@ $NAME A | grep -v ';;' | wc -l" $N + assert "exec_on $HOST1 c0 dig +short $* $NAME A | grep -v ';;' | wc -l" $N } check
bash
d_bash_2349
--- +++ @@ -1 +1,40 @@ -success "First try of this step" +#!/bin/sh +set -e + + +if [ -z "$WERCKER_SCP_DEPLOY_HOST" ] +then + fail 'missing host option, please add this the scp-deploy step in wercker.yml' +fi + +if [ -z "$WERCKER_SCP_DEPLOY_SSHPRIVATEKEY" ] +then + fail 'missing sshprivatekey option, please add...
bash
d_bash_2350
--- +++ @@ -7,7 +7,6 @@ GIT_BRANCH=scripts sudo apt-get install -y git realpath -cd ~ if [ -e HDMI2USB-misoc-firmware ]; then cd HDMI2USB-misoc-firmware
bash
d_bash_2351
--- +++ @@ -7,6 +7,13 @@ # -------------------------------------------------- echo "Making dmg..." -rm -f ShowyEdge-$version.dmg -hdiutil create -nospotlight ShowyEdge-$version.dmg -srcfolder build/Release/ShowyEdge.app -chmod 644 ShowyEdge-$version.dmg +pkgroot="ShowyEdge-$version" + +rm -f $pkgroot.dmg +rm -rf ...
bash
d_bash_2352
--- +++ @@ -1,5 +1,5 @@ # Work Specific Tools brew cask install harvest brew cask install joinme -brew cask install skype -brew cask install sonos +# brew cask install skype +# brew cask install sonos
bash
d_bash_2353
--- +++ @@ -3,7 +3,7 @@ # # file: forAllConfigurations.sh # -# author: Copyright (C) 2016 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info +# author: Copyright (C) 2016-2017 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info # # This Source Code Form is subject to the te...
bash
d_bash_2354
--- +++ @@ -4,7 +4,11 @@ cd /etc/letsencrypt lexicon $LEXICON_OPTIONS $LEXICON_PROVIDER $LEXICON_PROVIDER_OPTIONS create $CERTBOT_DOMAIN TXT --name="_acme-challenge.$CERTBOT_DOMAIN." --content="$CERTBOT_VALIDATION" -NS=$(dig +short NS $CERTBOT_DOMAIN) +if [ -z "$LEXICON_NAMESERVER" ]; then + NS=$(dig +short NS $C...
bash
d_bash_2355
--- +++ @@ -3,8 +3,10 @@ cd "$BUILT_PRODUCTS_DIR" mkdir "PerianPane.prefPane/Contents/Resources/Components" -for item in Perian A52Codec AC3MovieImport ; do - itemName="${item}.component" +for itemName in *.component ; do + itemLength=${#itemName} + item=${itemName:0:$itemLength-10} + echo $item ...
bash
d_bash_2356
--- +++ @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh set -e
bash
d_bash_2357
--- +++ @@ -28,7 +28,7 @@ nosetests -v display_result $? 1 "Unit tests" -behave +behave --stop display_result $? 2 "Feature tests" "$basedir/pep-it.sh"
bash
d_bash_2358
--- +++ @@ -12,12 +12,13 @@ python manage.py collectstatic -v 0 --noinput echo "Done" -# `chown` becomes very slow once a fair amount of media has been collected. -#echo "Fixing permissions..." -#chown -R "${UWSGI_USER}" "${KOBOCAT_SRC_DIR}" -#echo "Done." +# `chown -R` becomes very slow once a fair amount of med...
bash
d_bash_2359
--- +++ @@ -3,7 +3,7 @@ pkg_version="8" pkg_maintainer="The Habitat Maintainers <humans@habitat.sh>" pkg_license=('gplv2+') -pkg_deps=(core/coreutils core/php core/which) +pkg_deps=(core/bash core/coreutils core/php core/which) pkg_build_deps=(core/composer) pkg_bin_dirs=(bin/vendor/bin) pkg_upstream_url="http:...
bash
d_bash_2360
--- +++ @@ -6,15 +6,27 @@ } trap cleanup EXIT -# Assume bitcoind built elsewhere and coied by Jenkins Copy Artifact plugin BTCD=copied-artifacts/src/bitcoind DATADIR=$HOME/.bitcoin +MSCLOG=/tmp/mastercore.log + +# Assume bitcoind built elsewhere and coied by Jenkins Copy Artifact plugin chmod +x $BTCD -# Run...
bash
d_bash_2361
--- +++ @@ -4,7 +4,7 @@ chmod +x ${command} fi -export RIO_X; RIO_X="Exec'd by Rio" +export RIO_EXEC; RIO_EXEC="rio.exec" ${commandLine} & echo $! > ${pidFile}
bash
d_bash_2362
--- +++ @@ -7,6 +7,7 @@ git config --system core.autocrlf input echo "Configuring Beyond Compare 4" +# NOTE: using BC3 options per docs http://www.scootersoftware.com/support.php?zz=kb_vcs_osx git config --system diff.tool bc3 git config --system merge.tool bc3 git config --system mergetool.bc3 trustExitCode t...
bash
d_bash_2363
--- +++ @@ -18,9 +18,9 @@ ntpdate -u pool.ntp.org # Let's setup speech using festival, just for fun! -sed -i 's/printf "My IP address is %s\n" "$_IP"/printf "My IP address is %s\n" "$_IP" | festival --tts' /etc/rc.local +grep 'festival' /etc/rc.local || sed -i 's/printf "My IP address is %s\n" "$_IP"/printf "My I...
bash
d_bash_2364
--- +++ @@ -2,17 +2,33 @@ #Note: This script is intended for jenkins. export remote_command="ssh -ti /keys/infrastructure.pem ubuntu@eidr-connect-bsve.eha.io" +function scp_file { /usr/bin/scp -i /keys/infrastructure.pem $1 ubuntu@eidr-connect-bsve.eha.io:/tmp/; } -#Make sure repo is up to date -$remote_command...
bash
d_bash_2365
--- +++ @@ -10,3 +10,4 @@ fi alias grep="grep --color" +alias cat="cat -n"
bash
d_bash_2366
--- +++ @@ -1,4 +1,11 @@ #!/bin/sh + +# check for Java 7 and bail out if not available +JAVA_VERSION=$(java -version 2>&1 | sed 's/java version "\(.*\)\.\(.*\)\..*"/\1\2/; 1q') +if [ "$JAVA_VERSION" -lt 17 ]; then + echo "This version of Audiveris requires Java 7. Please install a Java 7 JRE and try again." + ...
bash
d_bash_2367
--- +++ @@ -10,7 +10,7 @@ API to improve usability even further.\ " pkg_upstream_url="https://github.com/jedisct1/libsodium" -pkg_license=('libsodium') +pkg_license=('ISC') pkg_source="https://download.libsodium.org/libsodium/releases/${_distname}-${pkg_version}.tar.gz" pkg_shasum="9c13accb1a9e59ab3affde0e60ef9a...
bash
d_bash_2368
--- +++ @@ -1,7 +1,9 @@ #!/bin/bash -v # Add js build steps here (npm, etc.) +pushd ../api /opt/gradle/bin/gradle build +popd # Fetch AWS ECR variables version=$1
bash
d_bash_2369
--- +++ @@ -1,2 +1,7 @@ #!/bin/bash + +# Remove the symlinked versions of activate/deactivate +rm $PREFIX/bin/activate +rm $PREFIX/bin/deactivate + $PYTHON setup.py install
bash
d_bash_2370
--- +++ @@ -39,6 +39,7 @@ # Upload to PyPI, if asked to if [ -n "$SUBMIT" ]; then + twine register dist/django_publications_bootstrap-*.whl twine upload dist/* fi
bash
d_bash_2371
--- +++ @@ -2,8 +2,21 @@ root=$(cd $(dirname $0) && pwd) launcher=${root}/bin/launcher.sh +if which chmod > /dev/null; then + $CHMOD=chmod +else + $CHMOD=toolbox chmod +fi + + +if which ln > /dev/null; then + $LN=ln +else + $LN=toolbox ln +fi + make_executable() { - busybox chmod +x $@ + $CHMOD...
bash
d_bash_2372
--- +++ @@ -18,6 +18,7 @@ apt-get -y install dos2unix apt-get -y install tmux apt-get -y install openjdk-7-jdk +apt-get -y install php5-cli php5-fpm npm install -g coffee-script npm install -g react-tools @@ -35,4 +36,5 @@ cp /vagrant/config/ctf.nginx /etc/nginx/sites-enabled/ctf rm /etc/nginx/sites-enabled/...
bash
d_bash_2373
--- +++ @@ -14,7 +14,8 @@ if [[ $RESET = "true" ]] then rm -rf _site - rm -rf _asset_bundler_cache/ + rm -rf _asset_bundler_cache + rm -rf _smugmug_cache fi # build site with jekyll, by default to `_site' folder
bash
d_bash_2374
--- +++ @@ -9,4 +9,5 @@ sudo pip install pylint sudo pip install ./python -) > /dev/null 2>&1 +#) > /dev/null 2>&1 +)
bash
d_bash_2375
--- +++ @@ -6,14 +6,14 @@ for i in {1..3} do ipad=`printf %02d $i` - echo "vrl-billdbm$ipad " `ssh vrl-billdbm$i $stat` - echo "vrl-billdbm$ipad " `ssh vrl-billdbm$i $stat2` + echo "vrl-billdbm$i " `ssh vrl-billdbm$i $stat` + echo "vrl-billdbm$i " `ssh vrl-billdbm$i $stat2` don...
bash
d_bash_2376
--- +++ @@ -1,6 +1,7 @@ #!/bin/bash -BASEDIR=$(dirname $0) +# BASEDIR=$(dirname $0) +BASEDIR=$(cd $(dirname $BASH_SOURCE);pwd) source $BASEDIR/config.sh if [[ "$1" = "-h" ]]; then @@ -27,7 +28,7 @@ echo -e "---- 更新.bash_profile ----\n" sed -i '/_vj_bashrc/d' ~/.bash_profile -echo -e "source $VIMIDE_SRC/_v...
bash
d_bash_2377
--- +++ @@ -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_2378
--- +++ @@ -1,5 +1,5 @@ #!/bin/sh -find globaleaks/ -name '*.pyc' -exec rm -f {} \; +find globaleaks/ -name '*.pyc' -delete ./bin/globaleaks --start-clean 1 $@
bash
d_bash_2379
--- +++ @@ -15,5 +15,7 @@ --token $COVERALLS_TOKEN \ --retry 2 \ --exclude-test-files \ + --throw-on-error \ + --debug \ test/runner.dart fi
bash
d_bash_2380
--- +++ @@ -2,5 +2,9 @@ set -e set -x - -make test-doc +if [[ "$SDIST" != "true" ]]; then + pushd . + cd doc + make doctest + popd +fi
bash
d_bash_2381
--- +++ @@ -2,5 +2,6 @@ set -eux image_name=kiyoad/devenv +id=$(date '+%Y%m%d') -script docker_build.log docker build -t ${image_name} . +script -a docker_build_${id}.log docker build -t ${image_name}_${id} .
bash
d_bash_2382
--- +++ @@ -4,4 +4,4 @@ echo "$0: you need to provide date from and date to" exit 1 fi -GHA2DB_CSVOUT="data_openstack_$1_$2.csv" GHA2DB_LOCAL=1 PG_DB=contrib runq ./openstack_data.sql {{from}} $1 {{to}} $2 +GHA2DB_CSVOUT="data_openstack_$1_$2.csv" GHA2DB_LOCAL=1 PG_DB=contrib runq ./openstack_data.sql {{exclud...
bash
d_bash_2383
--- +++ @@ -1,3 +1,7 @@ +#!/bin/bash + +# Change default shell to zsh chsh -s $(which zsh) -sh makesymlinks.sh +# Create necessary symlinks +./makesymlinks.sh
bash
d_bash_2384
--- +++ @@ -2,18 +2,20 @@ source ./munge/.env -read -p "DANGER! You are about to remove all images and videos. Are you sure? " -n 1 -r -echo # (optional) move to a new line -if [[ $REPLY =~ ^[Yy]$ ]] +if [ "$USER" = "gareth" ] then - cp /dev/null munge/munge.log - cp /dev/null munge/ftp.log - rm collectio...
bash
d_bash_2385
--- +++ @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # select qt version if [ -n "${QT_API}" ]; then @@ -18,7 +18,8 @@ # get the python version to add to the PYTHONPATH # the double-bracket thing isn't pure bash but will work on most os -if [ "$CMD" == "*mantidpython*" ]; then +CMD="$CMD" +if [[ $CMD == *"...
bash
d_bash_2386
--- +++ @@ -1,17 +1,31 @@ set -eo pipefail -## Build release version and zip up binaries +## Build release versions rm -rf build -xcodebuild \ - -scheme Production \ - CONFIGURATION_BUILD_DIR=build +xcodebuild -target BlackboxSDK -configuration Release -arch arm64 -arch armv7 -arch armv7s only_active_arch=no ...
bash
d_bash_2387
--- +++ @@ -6,4 +6,10 @@ exit 0 fi -bash <(curl -s https://codecov.io/bash) -f coverage/coverage-final.json +filename="coverage/coverage-final.json" + +name=`cat package.json | grep "\"name\":" | awk -F\" '{print $4;}'` +echo "submitting coverage info for [$name]" + +sed -i -e "s/modules\/${name}/addon/g" $file...
bash
d_bash_2388
--- +++ @@ -51,8 +51,19 @@ } clean () { - rm -rf "$BASE/node_modules/" - echo "removed ./node_modules/" + if [ -d "$BASE/node_modules" ]; then + rm -rf "$BASE/node_modules" + echo "removed ./node_modules/" + fi + if [ -d /etc/enginemill ]; then + sudo rm -rf /etc/enginemill + ...
bash
d_bash_2389
--- +++ @@ -19,7 +19,6 @@ install_npm_pkg gulp-cli install_npm_pkg eslint -install_npm_pkg typescript install_npm_pkg http-server install_npm_pkg grunt-cli install_npm_pkg vsce
bash
d_bash_2390
--- +++ @@ -2,12 +2,7 @@ # Note to self: Travis project root is /home/travis/build/<repo> # e.g. /home/travis/build/webignition/simplytestable-travis-integration # Install required PHP extensions -pwd -cd /home/travis -pwd -php -v -#which php -#php -v +/home/travis/.phpenv/shims/php -v # Install memcache extens...
bash
d_bash_2391
--- +++ @@ -9,18 +9,18 @@ if [ "$TRAVIS_BRANCH" != binaries ] then -WD=`pwd` -if [ ! -f node_modules/.bin/esy ] -then - npm install --no-save esy - export PATH="$WD/node_modules/.bin:$PATH" -else - mkdir -p _wrapped_esy - ln -s $WD/node_modules/.bin/esy-solve-cudf _wrapped_esy/esy-solve-cudf - cp t...
bash
d_bash_2392
--- +++ @@ -15,10 +15,11 @@ # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -# $Id: clean.sh,v 1.8 2000/08/01 01:14:31 tale Exp $ +# $Id: clean.sh,v 1.9 2000/08/11 18:45:30 bwelling Exp $ rm -f */K* */keyset-* */signedkey-* */*.signed */tru...
bash
d_bash_2393
--- +++ @@ -19,7 +19,6 @@ pkg-config \ g++ \ libssl-dev \ - mktemp \ libffi-dev \ python-dev \ python-pip \
bash
d_bash_2394
--- +++ @@ -1,7 +1,12 @@ # Sublime Text 2 Aliases -#unamestr = 'uname' -local _sublime_darwin_subl=/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl +local _sublime_darwin_paths +_sublime_darwin_paths=( + "$HOME/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" + "$HOME/Applications/S...
bash
d_bash_2395
--- +++ @@ -23,6 +23,13 @@ go install github.com/golang/mock/mockgen go mod download + + # for the PHP buildpack + if [ -e run_tests.sh ]; then + TMPDIR=$(mktemp -d) + export TMPDIR + pip install -r requirements.txt + fi pushd "$update_dir"
bash
d_bash_2396
--- +++ @@ -1,6 +1,5 @@ #!/usr/bin/env bash if [ "$TRAVIS_BRANCH" = 'master' ] && [ "$TRAVIS_PULL_REQUEST" == 'false' ]; then - openssl aes-256-cbc -K $encrypted_434c6c55d411_key -iv $encrypted_434c6c55d411_iv -in signingkey.asc.enc -out signingkey.asc -d - gpg --fast-import signingkey.asc - gpg --export-s...
bash
d_bash_2397
--- +++ @@ -6,7 +6,15 @@ bash docker-entrypoint.sh || exit $? # Run some tests. -cd /var/aegir/tests || exit $? +echo "Preparing tests..." + +if [[ -w /var/aegir/tests ]]; + cd /var/aegir/tests +then + cp -rf /var/aegir/tests /var/aegir/tests-writable + cd /var/aegir/tests-writable +fi + composer update |...
bash
d_bash_2398
--- +++ @@ -9,7 +9,7 @@ echo "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.11%2B9/OpenJDK11U-jdk_x64_linux_hotspot_11.0.11_9.tar.gz" ;; java16) - echo "https://github.com/AdoptOpenJDK/openjdk16-binaries/releases/download/jdk-16%2B36/OpenJDK16-jdk_x64_linux_hotspot_16_36.tar....
bash
d_bash_2399
--- +++ @@ -23,5 +23,6 @@ # add snapshots gsutil cp gs://taurus-site/snapshots/*.whl snapshots +gsutil cp gs://taurus-site/snapshots/*.exe snapshots cd ..
bash