code
stringlengths
1
1.96M
language
stringclasses
1 value
#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, # Inc. timestamp='2006-07-02' # This file is free software; you can redistribute it and/or modify it # under the terms of th...
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2006-10-14.15 # 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 hereby ...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2006-05-10.23 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free software; you can redi...
Shell
#!/bin/bash find org/jivesoftware -name '*.java' -exec sed -i 's:import org.xmlpull.mxp1.MXParser:import org.xmlpull.v1.XmlPullParserFactory:' '{}' ';' find org/jivesoftware -name '*.java' -exec sed -i 's:new MXParser():XmlPullParserFactory.newInstance().newPullParser():g' '{}' ';'
Shell
#!/bin/bash rm org/xbill/DNS/spi/DNSJavaNameServiceDescriptor.java
Shell
#!/bin/bash mkdir -p org/apache/harmony/ mv javax org/apache/harmony/ find org/apache/harmony/ -name '*.java' -exec sed -i 's:package javax:package org.apache.harmony.javax:g' '{}' ';' find -name '*.java' -exec sed -i 's:import javax.security.sasl:import org.apache.harmony.javax.security.sasl:g' '{}' ';' find -name '*...
Shell
#!/bin/bash find -name '*.java' -exec sed -i 's:import org.apache.harmony.javax.security.sasl.Sasl;:import de.measite.smack.Sasl;:g' '{}' ';'
Shell
#!/bin/bash find org/apache/harmony -name '*.java' -exec sed -i 's:import org.apache.harmony.auth.internal.nls.Messages;::' '{}' ';' find org/apache/harmony -name '*.java' -exec sed -i 's:Messages.getString(\("[^"]*"\)):\1:g' '{}' ';'
Shell
#!/bin/bash rm -rf org/ietf/ rm -rf org/apache/harmony/auth rm -rf org/apache/harmony/javax/security/auth/kerberos/ rm -rf org/apache/harmony/javax/security/auth/x500/ rm org/apache/harmony/javax/security/auth/Policy.java
Shell
#!/bin/bash rm org/jivesoftware/smack/debugger/LiteDebugger.java rm org/jivesoftware/smackx/debugger/EnhancedDebugger.java rm org/jivesoftware/smackx/debugger/EnhancedDebuggerWindow.java
Shell
#!/bin/bash echo "## Step 00: initialize" ( if ! [ -d build ]; then mkdir build mkdir build/src mkdir build/src/trunk fi ) fetch() { ( cd src if ! [ -f "${2}/.svn/entries" ]; then mkdir "${2}" cd "${2}" svn co --non-interactive --trust-server-cert "${1}" "." else cd "${2}" sv...
Shell
#!/bin/bash cd src; make clean; cd ../test; make clean; cd ../ui ./clean;
Shell
#!/bin/bash cd src; make; cd ../test; make; cd ../ui ./build;
Shell
#!/bin/bash cd src; make cd ../test; make cd ..; make;
Shell
#!/bin/bash cd src; make clean; cd ../test; make clean; cd ..; make clean;
Shell
#!/bin/bash # # Helper script for i18n. # I18N_BASE=English.lproj LANG_LIST=i18n-supported.list if [ "$1" == "extract" ] ; then # Extract string tables from the mother nibs: echo "Creating string tables for languages..." for lang in `tail -n 1 $LANG_LIST` ; do if [ "$lang.lproj" != "$I18N_BASE" ] ; then echo ...
Shell
#!/bin/bash # # Helper script for i18n. # I18N_BASE=English.lproj LANG_LIST=i18n-supported.list if [ "$1" == "extract" ] ; then # Extract string tables from the mother nibs: echo "Creating string tables for languages..." for lang in `tail -n 1 $LANG_LIST` ; do if [ "$lang.lproj" != "$I18N_BASE" ] ; then echo ...
Shell
#!/bin/bash sed -n '/<key>CFBundleVersion<\/key>/{n;p;}' < Info.plist | awk -F '>' '{print $2}' | awk -F '<' '{print $1}'
Shell
#!/bin/bash sed -n '/<key>CFBundleVersion<\/key>/{n;p;}' < Info.plist | awk -F '>' '{print $2}' | awk -F '<' '{print $1}'
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 ...
Shell
#!/bin/sh ROOT=../.. CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar" java -classpath $CLASSPATH \ com.pmstation.shared.soap.demo.BrowseFolderDemo $*
Shell
#!/bin/sh ROOT=../.. CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar" java -classpath $CLASSPATH \ com.pmstation.shared.soap.demo.DownloadDemo $*
Shell
#!/bin/sh ROOT=../.. JARS=`ls ../../lib` CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar" for i in $JARS ; do CLASSPATH="${CLASSPATH}:../../lib/${i}" done java -classpath $CLASSPATH \ com.pmstation.shared.soap.demo.UploadDemo $*
Shell
#!/bin/sh ROOT=../.. JARS=`ls ../../lib` CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar" for i in $JARS ; do CLASSPATH="${CLASSPATH}:../../lib/${i}" done java -classpath $CLASSPATH \ com.pmstation.shared.soap.demo.FolderSettingsDemo $*
Shell
#!/bin/sh ROOT=../.. CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar" java -classpath $CLASSPATH \ com.pmstation.shared.soap.demo.CreateFolderDemo $*
Shell
#!/bin/sh ROOT=../.. CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar" java -classpath $CLASSPATH \ com.pmstation.shared.soap.demo.SignupDemo $*
Shell
#!/bin/sh # START-COMMIT HOOK # # The start-commit hook is invoked before a Subversion txn is created # 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 file is a template) # with the following ordered...
Shell
#!/bin/sh # POST-REVPROP-CHANGE HOOK # # The post-revprop-change hook is invoked after a revision property # has been added, modified or deleted. Subversion runs this hook by # invoking a program (script, executable, binary, etc.) named # 'post-revprop-change' (for which this file is a template), with the # f...
Shell
#!/bin/sh # POST-LOCK HOOK # # The post-lock hook is run after a path is locked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-lock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this repos...
Shell
#!/bin/sh # POST-LOCK HOOK # # The post-lock hook is run after a path is locked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-lock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this repos...
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 # 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 # 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-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-REVPROP-CHANGE HOOK # # The post-revprop-change hook is invoked after a revision property # has been added, modified or deleted. Subversion runs this hook by # invoking a program (script, executable, binary, etc.) named # 'post-revprop-change' (for which this file is a template), with the # f...
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 # START-COMMIT HOOK # # The start-commit hook is invoked before a Subversion txn is created # 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 file is a template) # with the following ordered...
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 scala -cp 'build:lib/antlr-runtime-3.1b1.jar' z.Main "$@"
Shell
#!/bin/sh scala -cp 'build:lib/antlr-runtime-3.1b1.jar' z.Main "$@"
Shell
#!/bin/bash tibwin=`xdotool search 'Tibia Player Linux'` xdotool windowfocus $tibwin xdotool key Down
Shell
gcc -o threaded-c threaded-c.c `pkg-config --cflags --libs glib-2.0` -std=c99 -Wall
Shell
#!/bin/bash set -u generate() { for i in `seq 2 10000`; do echo "$i" done } filter() { while read n; do if [ $(($n % $1)) -ne 0 ]; then echo "$n" fi done } dir=$(mktemp -d) ch=0 mkfifo "$dir/$ch" generate > "$dir/$ch" & while true; do exec 3<"$dir/$ch" rea...
Shell
#!/bin/bash mntdir="mountdir" loopdev="testblock" cleanup () { sudo umount -v "$mntdir" sudo rmmod -v vvsfs rmdir -v "$mntdir" rm -v "$loopdev" } if [ "$1" == "down" ]; then cleanup exit 0 fi cusdir=/usr/src/linux [ -n "$KSRCDIR" ] && cusdir="$KSRCDIR" make KSRCDIR="$cusdir" all || exit 1 dd if=/dev/zero of="$...
Shell
#!/bin/bash startdir=$(pwd) cd dir prove -fr "../pjd-fstest-20080816/tests/$1" cd "$startdir"
Shell
#!/bin/bash clean_up() { fusermount -u dir } quit_signal() { echo 'caught signal!' clean_up exit } trap clean_up SIGHUP SIGINT SIGTERM ./mount.clfs dev dir clean_up
Shell
#!/bin/bash set -eux g++ -o conway main.cpp -I ../../utility/c `sdl-config --cflags --libs` -l boost_thread-mt
Shell
#!/bin/bash build_package() { rm -rf sandbox make DESTDIR=sandbox install cp -r DEBIAN sandbox/ rm -rf sandbox/DEBIAN/.svn dpkg -b sandbox/ . } if [ "$1" == "install" ]; then build_package exit 0 fi autoreconf -i ./configure --prefix=/usr make fakeroot $0 install
Shell
#! /bin/bash emerge --sync && \ layman -S && \ update-eix && \ emerge -vDNua world
Shell
#!/bin/bash hamachi start hamachi login && sleep 5 echo Joining Hamachi network... hamachi join n00b69 && sleep 2 hamachi go-online n00b69 && sleep 2 hamachi get-nicks echo Adding broadcast route... sudo route add 255.255.255.255 dev ham0 hamachi list && \ echo Connected to Hamachi!
Shell
#!/bin/bash set -ex python -c 'import sys; print sys.argv' $* python -c 'import sys; print sys.argv' "$*" python -c 'import sys; print sys.argv' $@ python -c 'import sys; print sys.argv' "$@"
Shell
#!/bin/bash cat <<EOM | cat blah EOM #| tee
Shell
#!/bin/bash cat $1 | sed s/^\\\([0-9_\\.a-zA-Z]\\+\\\)\\s\*=\\s\*/\\1\ =\ / | sed s/\\\\u\\\([0-9a-f]\\{4\\}\\\)/\\\\u\\U\\1\\E/g > $2
Shell
#!/bin/bash SCRIPT_PATH=$0 RESOLVED_PATH=`readlink -f "$SCRIPT_PATH"` while [ ! "$RESOLVED_PATH" = "$SCRIPT_PATH" ]; do SCRIPT_PATH=$RESOLVED_PATH RESOLVED_PATH=`readlink -f "$SCRIPT_PATH"` done GP_HOME=`dirname "$SCRIPT_PATH"` GP_LOG_DIR="$HOME/.ganttproject.d" # Check if log dir is present (or create it) if [ ...
Shell
#! /bin/bash # Location where to install GanttProject INSTALL_PATH=/usr/local/share/ganttproject/ # Location of executable of GanttProject GP_EXECUTABLE=/usr/local/bin/ganttproject # Assuming that writing at INSTALL_PATH and GP_EXECUTABLE needs root rights: if [ "$(id -u)" != "0" ]; then echo "This script must be...
Shell
#!/bin/sh set -e if [ -e /usr/bin/ganttproject ]; then rm -f /usr/bin/ganttproject; fi if [ -x "$(which update-mime >/dev/null 2>&1)" ]; then update-mime; fi if [ -x "$(which update-menus 2>/dev/null)" ]; then update-menus; fi
Shell
#!/bin/sh set -e if [ "$1" = "configure" ]; then if [ -e /usr/bin/ganttproject ]; then rm -f /usr/bin/ganttproject; fi ln -s /usr/share/ganttproject/ganttproject /usr/bin/ganttproject if [ -x "$(which update-menus 2>/dev/null)" ]; then update-menus; fi if [ -x "$(which update-mime 2>/dev/null)" ]; then update...
Shell
#!/bin/sh # Detects OS we're compiling on and generates build_config.mk, # which in turn gets read while processing Makefile. # build_config.mk will set the following variables: # - PORT_CFLAGS will either set: # -DLEVELDB_PLATFORM_POSIX if cstatomic is present # -DLEVELDB_PLATFORM_NOATOMI...
Shell
#!/bin/bash # # Copyright (C) 2007 The Android Open Source Project # # 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 ap...
Shell
#!/bin/bash # # Copyright (C) 2007 The Android Open Source Project # # 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 ap...
Shell
#!/bin/bash if [ $# != 1 ] then echo "Usage: $0 emailAddress" exit 1 fi read -s -p "Password: " mypassword echo "" curl https://www.google.com/accounts/ClientLogin -d Email=$1 -d "Passwd=$mypassword" -d accountType=GOOGLE -d source=Google-cURL-Example -d service=ac2dm
Shell
#!/bin/sh # Create a backup tar gzip file of the cwd with the date appended # located in the parent directory. FILENAME=../`pwd|xargs basename`-`date -j "+%Y-%m-%d"`.tgz echo Will create $FILENAME tar cfz $FILENAME . echo Done.
Shell
#!/bin/sh # Need to run a full clean install when changing the request factory interfaces # Doing so deletes the local debug app engine database # This script backs that up first SRC=shuffle-app-engine/target/shuffle-app-engine-2.0.0-SNAPSHOT/WEB-INF/appengine-generated DEST=../db_backup rm -r $DEST mkdir $DEST cp -...
Shell
pushd in cp 17x17_y.bmp 17x17.bmp popd pushd src cp flags_poiseuille_gravity_y.h flags.h popd make ./lb2d_prime ./in/params_poiseuille_gravity_y.in
Shell
pushd src cp flags_poiseuille_pressure_y.h flags.h popd make ./lb2d_prime ./in/params_poiseuille_pressure_y.in
Shell
pushd in cp 17x17_x.bmp 17x17.bmp popd pushd src cp flags_poiseuille_gravity_x.h flags.h popd make ./lb2d_prime ./in/params_poiseuille_gravity_x.in
Shell
pushd src cp flags_taylor_pressure.h flags.h popd make ./lb2d_prime ./in/params_taylor_pressure.in
Shell
pushd src cp flags_taylor_pressure_x_infile.h flags.h popd make ./lb2d_prime ./in/params_taylor_pressure_x_infile.in
Shell
pushd src cp flags_taylor_pressure_y_infile.h flags.h popd make ./lb2d_prime ./in/params_taylor_pressure_y_infile.in
Shell
#!/bin/bash if [ $# != 1 ] then echo "Usage: $0 emailAddress" exit 1 fi read -s -p "Password: " mypassword echo "" curl https://www.google.com/accounts/ClientLogin -d Email=$1 -d "Passwd=$mypassword" -d accountType=GOOGLE -d source=Google-cURL-Example -d service=ac2dm
Shell
#!/bin/sh # Need to run a full clean install when changing the request factory interfaces # Doing so deletes the local debug app engine database # This script backs that up first SRC=shuffle-app-engine/target/shuffle-app-engine-2.0.0-SNAPSHOT/WEB-INF/appengine-generated DEST=../db_backup rm -r $DEST mkdir $DEST cp -...
Shell
#!/bin/sh # Create a backup tar gzip file of the cwd with the date appended # located in the parent directory. FILENAME=../`pwd|xargs basename`-`date -j "+%Y-%m-%d"`.tgz echo Will create $FILENAME tar cfz $FILENAME . echo Done.
Shell
#!/bin/sh def="en-US" ext="showip" b=locale/$def/$ext/$ext other=$(ls locale/ | grep -v $def) echo "Other: $other" for name in $(cut -f2 -d' ' < $b.dtd); do line=$(grep " $name " $b.dtd) #echo "$name" for o in $other; do f=locale/$o/$ext/$ext.dtd if ! grep " $name " "$f" >/dev/null; then echo "Add $name to...
Shell
#!/bin/sh # trivial script to prevent installing the extension all the # time for testing... ant cp ipv6ident.jar ~/.mozilla/firefox/default.jp7/extensions/{3e9bb2a7-62ca-4efa-a4e6-f6f6168a652d}/chrome/
Shell
export RUBYLIB=../ext/metasm:../src/metasm/ export LD_LIBRARY_PATH=/usr/local/lib
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 ...
Shell
#!/bin/sh if [ "${1}" == "x64" ]; then arch=x86_64 archdir=x64 else arch=x86 archdir=Win32 fi make_dirs() ( if [ ! -d bin_${archdir}d/lib ]; then mkdir -p bin_${archdir}d/lib fi ) copy_libs() ( cp lib*/*-lav-*.dll ../bin_${archdir}d cp lib*/*-lav-*.pdb ../bin_${archdir}d cp lib*/*.lib ../bin_${...
Shell
#!/bin/sh if [ "${1}" == "x64" ]; then arch=x86_64 archdir=x64 else arch=x86 archdir=Win32 fi make_dirs() ( if [ ! -d bin_${archdir}/lib ]; then mkdir -p bin_${archdir}/lib fi if [ ! -d bin_${archdir}d/lib ]; then mkdir -p bin_${archdir}d/lib fi ) strip_libs() { x86_64-w64-mingw32-strip li...
Shell
#!/bin/sh if [ -z "$JYTHON_HOME" ]; then echo "Set JYTHON_HOME to compile." exit 1 fi DIR="$( cd "$( dirname "$0" )" && pwd )" OPTS="-cp $JYTHON_HOME/jython.jar -target 1.5 -source 1.5 $* -Xlint:unchecked" javac $OPTS $DIR/testlibs/*.java javac $OPTS $DIR/listeners/*.java
Shell
#!/bin/sh testdir=`dirname $0` rm -f $testdir/output.* export PYTHONPATH=$testdir/../../../src python -m robot.run -l none -r none -d $testdir $testdir/test.txt python $testdir/../times2csv.py $testdir/output.xml echo "------------------------------ results ------------------------------" cat $testdir/output.csv echo "...
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 pybot --outputdir results --exclude parallel atest/
Shell
#!/bin/bash #python src/robot/rebot.py $* &> /dev/null & python src/robot/run.py $* &> /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.jyt...
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 #small script to cross-compile the packages for windows. BUILD_DIR=build SOURCE_DIR=../.. . cross.env #get the absolute path SOURCE_DIR=$(cd $(dirname ${SOURCE_DIR}) && pwd) make -C $SOURCE_DIR distclean echo "Compiling for target ${TARGET} in ${BUILD_DIR} from ${SOURCE_DIR}" echo "PKGCONFIG path is ...
Shell
#! /bin/bash BASEDIR=$1 OUTNAME=$2 pushd $BASEDIR DIRS=`find data/* -type d | sed -e 's:/:\\\\:g' | awk '{ print "File /r ${SRCDIR}\\\\" $0 }'` #Then top-level files ending in .db FILES=`find data -maxdepth 1 -name '*.db' | sed -e 's:/:\\\\:g' | awk '{ print "File ${SRCDIR}\\\\" $0 }'` popd echo "$DIRS" > ${OUTNAME} ...
Shell
#! /bin/bash #This script converts windows .pc files for gtk to a linux-xcompile-environment safe version . cross.env PCDIR=$WINGTK_PATH/lib/pkgconfig echo "Converting .pc files in $PCDIR" cd $PCDIR for f in *.pc; do if grep 'prefix=' $f >/dev/null 2>&1 ; then cat $f | sed s+^prefix=.*$+prefix=$WINGTK_PATH+ >...
Shell
#! /bin/bash aclocal -I ac_macros/ autoconf autoheader automake --add-missing
Shell
#! /bin/bash source $srcdir/test.sh echo "***********************" echo "Testing Virtex-4 Family" echo "***********************" MAKEFILE="$srcdir/testmake.mk DEBIT=\$(top_builddir)/debit_v4 DUMPARG=--unkdump XDL2BIT=\$(top_builddir)/xdl/xdl2bit_v4" family=virtex4 test_family
Shell
#! /bin/bash source $srcdir/test.sh echo "***********************" echo "Testing Virtex-5 Family" echo "***********************" MAKEFILE="$srcdir/testmake.mk DEBIT=\$(top_builddir)/debit_v5 DUMPARG=--unkdump XDL2BIT=\$(top_builddir)/xdl/xdl2bit_v5" family=virtex5 test_family
Shell
#! /bin/bash . log-functions COMPARE="cmp -s" #MAKE is set by make itself from above function get_dirs() { DIRS=`ls -d $1/*/` } function test_family() { get_dirs $family for chip in $DIRS; do #echo "Descending in chip $chip" test_chip || exit 1 done } function test_chip() { get_dirs $chip ...
Shell
#! /bin/bash source $srcdir/test.sh echo "************************" echo "Speed Virtex-II Family" echo "************************" function speed_design() { local DESIGN_NAME=$1; echo "Doing speed analysis for design $DESIGN_NAME" make -s --no-print-directory -f $MAKEFILE ${DESIGN_NAME}.allspeed } CALLED...
Shell
#! /bin/bash source $srcdir/test.sh echo "************************" echo "Testing Virtex-II Family" echo "************************" MAKEFILE="$srcdir/testmake.mk DEBIT=\$(top_builddir)/debit DUMPARG=--framedump" family=virtex2 test_family
Shell