code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/sh # POST-COMMIT HOOK # # The post-commit hook is invoked after a commit. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-commit' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this rep...
Shell
#!/bin/sh # START-COMMIT HOOK # # The start-commit hook is invoked immediately after a Subversion txn is # created and populated with initial revprops in the process of doing a # commit. Subversion runs this hook by invoking a program (script, # executable, binary, etc.) named 'start-commit' (for which this fi...
Shell
#!/bin/sh # PRE-REVPROP-CHANGE HOOK # # The pre-revprop-change hook is invoked before a revision property # is added, modified or deleted. Subversion runs this hook by invoking # a program (script, executable, binary, etc.) named 'pre-revprop-change' # (for which this file is a template), with the following or...
Shell
#!/bin/sh # PRE-LOCK HOOK # # The pre-lock hook is invoked before an exclusive lock is # created. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-lock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (the pat...
Shell
#!/bin/sh # PRE-UNLOCK HOOK # # The pre-unlock hook is invoked before an exclusive lock is # destroyed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-unlock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH ...
Shell
#!/bin/sh # POST-COMMIT HOOK # # The post-commit hook is invoked after a commit. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-commit' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this rep...
Shell
#!/bin/sh # PRE-COMMIT HOOK # # The pre-commit hook is invoked before a Subversion txn is # committed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-commit' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (t...
Shell
#!/bin/sh # PRE-REVPROP-CHANGE HOOK # # The pre-revprop-change hook is invoked before a revision property # is added, modified or deleted. Subversion runs this hook by invoking # a program (script, executable, binary, etc.) named 'pre-revprop-change' # (for which this file is a template), with the following or...
Shell
#!/bin/sh # POST-UNLOCK HOOK # # The post-unlock hook runs after a path is unlocked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-unlock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this...
Shell
#!/bin/sh DIR="$( cd "$( dirname "$0" )" && pwd )" javac -target 1.5 -source 1.5 $DIR/testlibs/*.java if [ -n "$JYTHON_HOME" ] then javac -cp $JYTHON_HOME/jython.jar -target 1.5 -source 1.5 $DIR/listeners/*.java else echo set JYTHON_HOME to compile listeners fi
Shell
#!/bin/bash testdir=`dirname $0` pybot --loglevel DEBUG --log none --report none --outputdir $testdir $testdir/example.txt python $testdir/../statuschecker.py $testdir/output.xml rebot $testdir/output.xml echo "$? tests failed, 5 should have failed." echo "Check that tests starting with 'FAILURE:' have failed and other...
Shell
#!/bin/bash dirname=robotframework-c-example zipname=$dirname-$(date +%Y%m%d).zip files="README.txt login.c LoginLibrary.py LoginTests.tsv Makefile" rm -rf $dirname $zipname mkdir $dirname echo Copying... for file in $files; do cp -v $file $dirname done echo Zipping... zip -r $zipname $dirname rm -rf $dirname ech...
Shell
#!/bin/bash base=`dirname $0` ROBOT_SYSLOG_FILE=$base/tmp/syslog.txt python $base/src/robot/run.py -P $base/atest/testresources/testlibs -P $base/tmp -L debug -d $base/tmp "$@"
Shell
#!/bin/bash pybot --outputdir results --exclude parallel atest/
Shell
#!/bin/bash python src/robot/rebot.py $1 >/dev/null & #/usr/lib/jvm/java-6-sun/jre/bin/java -Xmx1024m -Xss1024k -classpath /home/jth/opt/jython2.5.1/jython.jar: -Dpython.home=/home/jth/opt/jython2.5.1 -Dpython.executable=/home/jth/opt/jython2.5.1/jython org.python.util.jython src/robot/rebot.py $1 >/dev/null & rebotpid...
Shell
#!/bin/bash # # /etc/rc.d/hdapsd: start/stop hdaps daemon # [[ -r /etc/hdapsd.conf ]] && . /etc/hdapsd.conf pid=$(cat /var/run/hdapsd.pid 2>/dev/null) case "$1" in start) # setup hdaps daemon startup parameters HDAPSD_OPTS="-bp" if [ -z "$DEVICE" ]; then HDAPSD_OPTS="$HDAPSD_O...
Shell
#!/bin/sh export BASE_DIR="`dirname $0`" if test -z "$NO_MAKE"; then make -C "$BASE_DIR/../" > /dev/null || exit 1 fi if test -z "$CUTTER"; then CUTTER="`make -s -C "$BASE_DIR" echo-cutter`" fi "$CUTTER" --keep-opening-modules -s "$BASE_DIR" "$@" "$BASE_DIR" # ^^^^^^^^^^^^^^^^^^^^^^ # FIXME: Remove ...
Shell
#! /bin/sh # Stop script on first error. set -e # Retrieve libnfc version from configure.ac LIBNFC_VERSION=$(grep AC_INIT configure.ac | sed 's/^.*\[libnfc\],\[\(.*\)\],\[.*/\1/g') echo "=== Building release archive for libnfc $LIBNFC_VERSION ===" # Easiest part: GNU/linux, BSD and other POSIX systems. LIBNFC_AUTOTO...
Shell
#!/bin/bash ID=$(cat << EOF | \ pn53x-tamashell |\ grep -A1 "^Tx: 42 01 0b 3f 80" |\ grep -o -P "(?<=Rx: 00 .. .. ).. .. .. .."|sed 's/ //g' # Timeouts 3205000002 # ListTarget ModeB 4a010300 # TypeB' APGEN 42010b3f80 EOF ) cat << EOF | \ pn53x-tamashell |\ awk '\ /^> #.*:/{ ...
Shell
#!/bin/bash cat << EOF | \ pn53x-tamashell |\ awk '\ /^> #.*:/{ sub(/^> #/,"") n=$0 for (i=0;i<8-length();i++) { n= n " " } getline getline getline sub(/Rx: 00/,"") gsub(/ +/," ")...
Shell
#!/bin/sh WITH_USB=1 LIBUSB_WIN32_BIN_VERSION="1.2.6.0" LIBUSB_WIN32_BIN_ARCHIVE="libusb-win32-bin-$LIBUSB_WIN32_BIN_VERSION.zip" LIBUSB_WIN32_BIN_URL="http://freefr.dl.sourceforge.net/project/libusb-win32/libusb-win32-releases/$LIBUSB_WIN32_BIN_VERSION/$LIBUSB_WIN32_BIN_ARCHIVE" LIBUSB_WIN32_BIN_DIR="libusb-win32-bi...
Shell
#!/bin/bash curl -O https://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.02.tar.gz curl -O http://leptonica.googlecode.com/files/leptonica-1.69.tar.gz tar -zxvf tesseract-ocr-3.02.02.tar.gz tar -zxvf leptonica-1.69.tar.gz rm -f tesseract-ocr-3.02.02.tar.gz rm -f leptonica-1.69.tar.gz mv tesseract-ocr jni/com_g...
Shell
#!/bin/bash curl -O http://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.eng.tar.gz tar -zxvf tesseract-ocr-3.02.eng.tar.gz rm -f tesseract-ocr-3.02.eng.tar.gz mkdir data mv tesseract-ocr data/tesseract adb push data/ /sdcard/ adb shell sync
Shell
#!/bin/sh # Copyright 2014 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
Shell
#! /bin/bash # Binary of the Texturepacker: TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker # Shared Spritesheet-Output-Definitions: SPRITESHEET_OUTPUT_DIRECTORY="../assets/gfx/spritesheets/" SPRITESHEET_OUTPUT_JAVAIDS_PACKAGE="org.anddev.andengine.examples.spritesheets" SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src...
Shell
#!/bin/bash # Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed t...
Shell
#!/bin/bash # # Starts a basic web server on the port specified. # # ./serve.sh 3000 -> http://localhost:3000 # # Copyright 2012 Eric Bidelman <ebidel@gmail.com> port=$1 if [ $# -ne 1 ] then port=8000 fi open http://localhost:$port/template.html && python -m SimpleHTTPServer $port;
Shell
#!/bin/sh # Convert gui2py to Python 3.x (on GNU/Linux and Mac OS X) 2to3 -w gui 2to3 -w -x import *.pyw
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi $ADB shell "echo '$*' | sqlite3 -header -column /data/data/com.google.android.apps.iosched/databases/schedule.db"
Shell
#!/bin/sh # Sessions list #adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/sessions # Vendors list #adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/vendors # Session detail #adb shell am start -a...
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi MAC_UNAME="Darwin" if [[ "`uname`" == ${MAC_UNAME} ]]; then DATE_FORMAT="%Y-%m-%dT%H:%M:%S" else DATE_FORMAT="%Y-%m-%d %H:%M:%S" fi if [ -z "$1" ]; then NOW_DATE=$(date "+${DATE_FORMAT}") echo Please provide a mock time in the format \"${NOW_DATE}\" or \"d\" to del...
Shell
#!/bin/sh adb shell cat /data/data/com.google.android.apps.iosched/shared_prefs/com.google.android.apps.iosched_preferences.xml | xmllint --format -
Shell
#!/bin/sh # # Copyright 2013 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed ...
Shell
#!/bin/sh # Remember VERBOSE only works on debug builds of the app adb shell setprop log.tag.iosched_SyncHelper VERBOSE adb shell setprop log.tag.iosched_SessionsHandler VERBOSE adb shell setprop log.tag.iosched_BitmapCache VERBOSE
Shell
#!/bin/sh adb shell pm clear com.google.android.apps.iosched
Shell
#!/usr/bin/env bash ############################################################################## ## ## Gradle start up script for UN*X ## ############################################################################## # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to ...
Shell
#!/bin/sh # # San Angeles Observation OpenGL ES version example # # This shell script builds the demo application # with executable name "SanOGLES". # # Before running it, make sure that either libGLES_CM.so # or libGLES_CL.so is available in the library path. # Alternatively you can copy one of them to the same # dire...
Shell
#!/bin/ksh # launcher script for jsdoc # Author: Avi Deitcher # # This program is released under the MIT License as follows: # Copyright (c) 2008-2009 Atomic Inc <avi@jsorm.com> # #Permission is hereby granted, free of charge, to any person #obtaining a copy of this software and associated documentation #files (the "...
Shell
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
Shell
#!/bin/bash ## 05-Jan-2009 - Make the file executable for Linux/Unix platforms if [ -z "$1" ]; then echo "Usage: $0 DIRECTORY DATABASE USER" exit 0 fi if [ -z "$2" ]; then echo "Usage: $0 DIRECTORY DATABASE USER" exit 0 fi if [ -z "$3" ]; then echo "Usage: $0 DIRECTORY DATABASE USER" exit 0 fi echo...
Shell
#!/bin/bash if [ -z "$1" ]; then echo "Usage: $0 DIRECTORY ORACLE_INSTANCE USER" exit 0 fi if [ -z "$2" ]; then echo "Usage: $0 DIRECTORY ORACLE_INSTANCE USER" exit 0 fi if [ -z "$3" ]; then echo "Usage: $0 DIRECTORY ORACLE_INSTANCE USER" exit 0 fi echo "AdempiereLBR" echo "." echo ". Eduardo Montene...
Shell
#!/bin/bash # Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed t...
Shell
#!/bin/sh PYTHONPATH=../lib python "$@"
Shell
#!/bin/sh python setup.py --command-packages=stdeb.command sdist_dsc --workaround-548392=False bdist_deb
Shell
#!/bin/sh xgettext -o lang/template.po glade/*.glade lib/pychess/Main.py lib/pychess/*/*.py lib/pychess/*/*/*.py sidepanel/*.py sidepanel/*.glade
Shell
#!/usr/bin/env bash mxmlc ./src/Elfin.mxml \ -load-config=elfin-linux-config.xml \ -output=out/production/elfin/Elfin-production.swf
Shell
#!/usr/bin/env bash mv out/production/elfin/Elfin-production.swf out/production/elfin/Elfin.swf ftp -i romanta.by < ftp-instruction.txt
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2009-04-28.21; # UTC # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free # Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU Ge...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2009-04-28.21; # UTC # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, # 2008, 2009 Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free softw...
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2009-04-28.21; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is ...
Shell
#! aplay -r 48000 -f S16_LE -c 2 tmp/outfinal_1.raw
Shell
#! ../fx2pipe-0.8/fx2pipe/fx2pipe > tmp/out.bin
Shell
#! cat tmp/out.bin | ./deserialize tmp/outfinal
Shell
#!/bin/sh make clean hg pull hg update -v qmake imageshack.pro -spec macx-g++ make
Shell
#!/bin/sh python setup.py --command-packages=stdeb.command sdist_dsc --workaround-548392=False bdist_deb
Shell
#!/bin/sh PYTHONPATH=../lib python "$@"
Shell
#!/bin/sh xgettext -o lang/template.po glade/*.glade lib/pychess/Main.py lib/pychess/*/*.py lib/pychess/*/*/*.py sidepanel/*.py sidepanel/*.glade
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2009-04-28.21; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is ...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2009-04-28.21; # UTC # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, # 2008, 2009 Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free softw...
Shell
# Generated from ltmain.m4sh. # ltmain.sh (GNU libtool) 2.2.6 # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # w...
Shell
#! /bin/sh # libtool - Provide generalized library-building support services. # Generated automatically by config.status (libjpeg) 7.0 # Libtool was configured on host MacBook-Pro.local: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 200...
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2009-04-28.21; # UTC # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free # Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU Ge...
Shell
#!/usr/bin/env bash ############################################################################## ## ## Gradle start up script for UN*X ## ############################################################################## # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to ...
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi ./kill_process.sh $ADB shell rm -r /data/data/com.google.android.apps.iosched/*
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi $ADB shell am force-stop com.google.android.apps.iosched
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi $ADB shell "echo '$*' | sqlite3 -header -column /data/data/com.google.android.apps.iosched/databases/schedule.db"
Shell
#!/bin/sh # Sessions list #adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/sessions # Vendors list #adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/vendors # Session detail #adb shell am start -a...
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi MAC_UNAME="Darwin" if [[ "`uname`" == ${MAC_UNAME} ]]; then DATE_FORMAT="%Y-%m-%dT%H:%M:%S" else DATE_FORMAT="%Y-%m-%d %H:%M:%S" fi if [ -z "$1" ]; then NOW_DATE=$(date "+${DATE_FORMAT}") echo Please provide a mock time in the format \"${NOW_DATE}\" or \"d\" to del...
Shell
#!/bin/sh adb shell cat /data/data/com.google.android.apps.iosched/shared_prefs/com.google.android.apps.iosched_preferences.xml | xmllint --format -
Shell
#!/bin/sh # Remember VERBOSE only works on debug builds of the app adb shell setprop log.tag.iosched_SyncHelper VERBOSE adb shell setprop log.tag.iosched_SessionsHandler VERBOSE adb shell setprop log.tag.iosched_ImageCache VERBOSE adb shell setprop log.tag.iosched_ImageWorker VERBOSE adb shell setprop log.tag.iosched_I...
Shell
#!/bin/sh adb shell pm clear com.google.android.apps.iosched
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi $ADB shell am start \ -a android.intent.action.MAIN \ -c android.intent.category.LAUNCHER \ -n com.google.android.apps.iosched/.ui.HomeActivity
Shell
# libtool (GNU libtool) 2.4.2 # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; no...
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2011-12-04.11; # UTC # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010, # 2011 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms o...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2012-01-06.13; # UTC # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, # 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This pro...
Shell
#!/bin/bash # # Startup script for captagent # # chkconfig: 345 85 15 # description: captagent - the Open Source Homer Capture Agent # # processname: captagent # pidfile: /var/run/captagent.pid # config: /usr/local/etc/captagent/captagent.xml # ### BEGIN INIT INFO # Provides: captagent # Required-Start: $l...
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2011-01-19.21; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is ...
Shell
#!/bin/sh echo "You need to have m4, automake, autoconf, libtool..."; #aclocal autoreconf --force --install automake --add-missing autoconf
Shell
#!/bin/sh # Converts the python2 ipaddr files to python3 and runs the unit tests # with both python versions. mkdir -p 2to3output && \ cp -f *.py 2to3output && \ ( cd 2to3output && 2to3 . | patch -p0 ) && \ py3version=$(python3 --version 2>&1) && \ echo -e "\nTesting with ${py3version}" && \ python3 2to3output/ipaddr...
Shell
#!/bin/sh # Converts the python2 ipaddr files to python3 and runs the unit tests # with both python versions. mkdir -p 2to3output && \ cp -f *.py 2to3output && \ ( cd 2to3output && 2to3 . | patch -p0 ) && \ py3version=$(python3 --version 2>&1) && \ echo -e "\nTesting with ${py3version}" && \ python3 2to3output/ipaddr...
Shell
#!/bin/sh # Converts the python2 ipaddr files to python3 and runs the unit tests # with both python versions. mkdir -p 2to3output && \ cp -f *.py 2to3output && \ ( cd 2to3output && 2to3 . | patch -p0 ) && \ py3version=$(python3 --version 2>&1) && \ echo -e "\nTesting with ${py3version}" && \ python3 2to3output/ipaddr...
Shell
#!/bin/sh # Converts the python2 ipaddr files to python3 and runs the unit tests # with both python versions. mkdir -p 2to3output && \ cp -f *.py 2to3output && \ ( cd 2to3output && 2to3 . | patch -p0 ) && \ py3version=$(python3 --version 2>&1) && \ echo -e "\nTesting with ${py3version}" && \ python3 2to3output/ipaddr...
Shell
#!/bin/sh # Copyright 2007 Google Inc. # Licensed to PSF under a Contributor Agreement. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # ...
Shell
#!/bin/sh # Converts the python2 ipaddr files to python3 and runs the unit tests # with both python versions. mkdir -p 2to3output && \ cp -f *.py 2to3output && \ ( cd 2to3output && 2to3 . | patch -p0 ) && \ py3version=$(python3 --version 2>&1) && \ echo -e "\nTesting with ${py3version}" && \ python3 2to3output/ipaddr...
Shell
#!/bin/sh # Converts the python2 ipaddr files to python3 and runs the unit tests # with both python versions. mkdir -p 2to3output && \ cp -f *.py 2to3output && \ ( cd 2to3output && 2to3 . | patch -p0 ) && \ py3version=$(python3 --version 2>&1) && \ echo -e "\nTesting with ${py3version}" && \ python3 2to3output/ipaddr...
Shell
#!/bin/sh # Converts the python2 ipaddr files to python3 and runs the unit tests # with both python versions. mkdir -p 2to3output && \ cp -f *.py 2to3output && \ ( cd 2to3output && 2to3 . | patch -p0 ) && \ py3version=$(python3 --version 2>&1) && \ echo -e "\nTesting with ${py3version}" && \ python3 2to3output/ipaddr...
Shell
#!/bin/sh # Converts the python2 ipaddr files to python3 and runs the unit tests # with both python versions. mkdir -p 2to3output && \ cp -f *.py 2to3output && \ ( cd 2to3output && 2to3 . | patch -p0 ) && \ py3version=$(python3 --version 2>&1) && \ echo -e "\nTesting with ${py3version}" && \ python3 2to3output/ipaddr...
Shell
#!/bin/sh # Converts the python2 ipaddr files to python3 and runs the unit tests # with both python versions. mkdir -p 2to3output && \ cp -f *.py 2to3output && \ ( cd 2to3output && 2to3 . | patch -p0 ) && \ py3version=$(python3 --version 2>&1) && \ echo -e "\nTesting with ${py3version}" && \ python3 2to3output/ipaddr...
Shell
#!/bin/sh # Converts the python2 ipaddr files to python3 and runs the unit tests # with both python versions. mkdir -p 2to3output && \ cp -f *.py 2to3output && \ ( cd 2to3output && 2to3 . | patch -p0 ) && \ py3version=$(python3 --version 2>&1) && \ echo -e "\nTesting with ${py3version}" && \ python3 2to3output/ipaddr...
Shell
#!/bin/sh # Converts the python2 ipaddr files to python3 and runs the unit tests # with both python versions. mkdir -p 2to3output && \ cp -f *.py 2to3output && \ ( cd 2to3output && 2to3 . | patch -p0 ) && \ py3version=$(python3 --version 2>&1) && \ echo -e "\nTesting with ${py3version}" && \ python3 2to3output/ipaddr...
Shell
#!/bin/sh # Converts the python2 ipaddr files to python3 and runs the unit tests # with both python versions. mkdir -p 2to3output && \ cp -f *.py 2to3output && \ ( cd 2to3output && 2to3 . | patch -p0 ) && \ py3version=$(python3 --version 2>&1) && \ echo -e "\nTesting with ${py3version}" && \ python3 2to3output/ipaddr...
Shell
#!/bin/sh # Converts the python2 ipaddr files to python3 and runs the unit tests # with both python versions. mkdir -p 2to3output && \ cp -f *.py 2to3output && \ ( cd 2to3output && 2to3 . | patch -p0 ) && \ py3version=$(python3 --version 2>&1) && \ echo -e "\nTesting with ${py3version}" && \ python3 2to3output/ipaddr...
Shell
#!/bin/sh # Converts the python2 ipaddr files to python3 and runs the unit tests # with both python versions. mkdir -p 2to3output && \ cp -f *.py 2to3output && \ ( cd 2to3output && 2to3 . | patch -p0 ) && \ py3version=$(python3 --version 2>&1) && \ echo -e "\nTesting with ${py3version}" && \ python3 2to3output/ipaddr...
Shell
#!/bin/sh # Converts the python2 ipaddr files to python3 and runs the unit tests # with both python versions. mkdir -p 2to3output && \ cp -f *.py 2to3output && \ ( cd 2to3output && 2to3 . | patch -p0 ) && \ py3version=$(python3 --version 2>&1) && \ echo -e "\nTesting with ${py3version}" && \ python3 2to3output/ipaddr...
Shell
#!/bin/sh # Converts the python2 ipaddr files to python3 and runs the unit tests # with both python versions. mkdir -p 2to3output && \ cp -f *.py 2to3output && \ ( cd 2to3output && 2to3 . | patch -p0 ) && \ py3version=$(python3 --version 2>&1) && \ echo -e "\nTesting with ${py3version}" && \ python3 2to3output/ipaddr...
Shell
#!/bin/sh # Converts the python2 ipaddr files to python3 and runs the unit tests # with both python versions. mkdir -p 2to3output && \ cp -f *.py 2to3output && \ ( cd 2to3output && 2to3 . | patch -p0 ) && \ py3version=$(python3 --version 2>&1) && \ echo -e "\nTesting with ${py3version}" && \ python3 2to3output/ipaddr...
Shell
#!/bin/sh # Converts the python2 ipaddr files to python3 and runs the unit tests # with both python versions. mkdir -p 2to3output && \ cp -f *.py 2to3output && \ ( cd 2to3output && 2to3 . | patch -p0 ) && \ py3version=$(python3 --version 2>&1) && \ echo -e "\nTesting with ${py3version}" && \ python3 2to3output/ipaddr...
Shell
#!/bin/sh # Converts the python2 ipaddr files to python3 and runs the unit tests # with both python versions. mkdir -p 2to3output && \ cp -f *.py 2to3output && \ ( cd 2to3output && 2to3 . | patch -p0 ) && \ py3version=$(python3 --version 2>&1) && \ echo -e "\nTesting with ${py3version}" && \ python3 2to3output/ipaddr...
Shell
#!/usr/bin/bash #This batch file changes CR/LF line endings to pure LF line endings to be Unix-compliant. #It relies on crlf.py, taken from the Windows Python 2.5 distribution. python crlf.py *.c *.h *.py Makefile README common/*.c python crlf.py include/*.h include/devices/*.h include/devices/*.pl python crlf.py unit...
Shell
#!/bin/bash set -e # Check if the jar has been built. if [ ! -e target/bitcoinj-tools-*.jar ] || [[ "$ALWAYS_BUILD_WALLETTOOL" != "" ]]; then echo "Compiling WalletTool to a JAR" cd ../core mvn install -DskipTests cd ../tools [ -e target/bitcoinj-tools-*.jar ] && rm target/bitcoinj-tools-*.jar mvn package...
Shell