code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads if [ ""$1"" = "" ];then targetPlatform="Windows" else targetPlatform=$1 fi if [ ""$2"" = "" ];then targetArchitecture="i386" else targetArchitectu...
Shell
#!/bin/sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads PREFIX=/Developer/Cocotron/1.0/Windows/i386/hunspell-1.3.1 BUILD=/tmp/build_hunspell $scriptResources/downloadFilesIfNeeded.sh $downloadFolder http://down...
Shell
#/bin/sh #Copyright (c) 2006 Christopher J. W. Lloyd # #Permission is hereby granted, free of charge, to any person obtaining a copy of this #software and associated documentation files (the "Software"), to deal in the Software #without restriction, including without limitation the rights to use, copy, modify, #merge, ...
Shell
#!/bin/sh #Copyright (c) 2006 Christopher J. W. Lloyd # #Permission is hereby granted, free of charge, to any person obtaining a copy of this #software and associated documentation files (the "Software"), to deal in the Software #without restriction, including without limitation the rights to use, copy, modify, #merge,...
Shell
#!/bin/sh #Copyright (c) 2006 Christopher J. W. Lloyd # #Permission is hereby granted, free of charge, to any person obtaining a copy of this #software and associated documentation files (the "Software"), to deal in the Software #without restriction, including without limitation the rights to use, copy, modify, #merge,...
Shell
#!/bin/sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads PREFIX=/Developer/Cocotron/1.0/Windows/i386/gcc-4.3.1/i386-mingw32msvc/ INCLUDE=$PREFIX/include BIN=$PREFIX/bin LIB=$PREFIX/lib $scriptResources/downloadF...
Shell
#!/bin/sh ./install_zlib.sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads PREFIX=/Developer/Cocotron/1.0/Windows/i386/freetype-2.3.5 $scriptResources/downloadFilesIfNeeded.sh $downloadFolder "http://downloads....
Shell
#!/bin/sh #Copyright (c) 2006 Christopher J. W. Lloyd # #Permission is hereby granted, free of charge, to any person obtaining a copy of this #software and associated documentation files (the "Software"), to deal in the Software #without restriction, including without limitation the rights to use, copy, modify, #merge,...
Shell
#!/bin/sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads if [ ""$1"" = "" ];then targetPlatform="Windows" else targetPlatform=$1 fi if [ ""$2"" = "" ];then targetArchitecture="i386" else targetArchitectu...
Shell
#!/bin/sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads/pthread PREFIX=/Developer/Cocotron/1.0/Windows/i386/gcc-4.3.1/i386-mingw32msvc/ INCLUDE=$PREFIX/include BIN=$PREFIX/bin LIB=$PREFIX/lib mkdir -p $downloa...
Shell
#!/bin/sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads if [ ""$1"" = "" ];then targetPlatform="Windows" else targetPlatform=$1 fi if [ ""$2"" = "" ];then targetArchitecture="i386" else targetArchitectu...
Shell
#!/bin/sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads if [ ""$1"" = "" ];then targetPlatform="Windows" else targetPlatform=$1 fi if [ ""$2"" = "" ];then targetArchitecture="i386" else targetArchitectu...
Shell
#!/bin/bash # the name of the server on which we test export TESTING_SERVER=192.168.2.102 # the directory under which our build directory is available on the _server_ export TESTING_DIR=/Tests # specifies if files should be linked or copied to the test harness folder export TESTING_LINK_FILES=YES
Shell
#!/bin/bash # This script can be run on any linux machine or vagrant machine. It # installs any necessary dependencies and builds xulsword using the # loc_MK.txt build settings if this file exists (otherwise defaults). cd `dirname $0` sudo apt-get update sudo apt-get install -y libtool sudo apt-get install -y autoc...
Shell
#!/bin/bash # Static lib requires that sword-svn and clucene are # compiled locally to provide necessary object files #security=.libs/security.o security= #icu=-licui18n\ -licudata\ -licuuc icu= lzma= bz2= if [ `uname -m` == "x86_64" ] then echo compiling for 64 bit kernal with gcc 4.6 g++ -shared \ .libs/libxuls...
Shell
#!/bin/sh # Bootstrap the xulsword installation. # Run this to generate all the initial makefiles, etc. srcdir=`dirname $0` test -z "$srcdir" && srcdir=. ORIGDIR=`pwd` cd $srcdir PROJECT=xulsword TEST_TYPE=-f FILE=configure.ac DIE=0 (autoconf --version) < /dev/null > /dev/null 2>&1 || { echo echo "You must have au...
Shell
./configure --host=x86_64-unknown-linux-gnu CFLAGS="-m64 -fPIC" CXXFLAGS="-m64 -fPIC" LDFLAGS="-m64 -rpath=/usr/local/lib/phpsword"
Shell
#!/bin/bash #cc -shared .libs/phpsword.o .libs/.o -L/usr/lib64 -L/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5/64 -lstdc++ ../sword-svn/lib/.libs/libsword-1.6.2.so ../clucene-core-0.9.21b/src/.libs/libclucene.so.0.0.0 -m64 -Wl,-soname -Wl,phpsword.so -o .libs/phpsword.so #exit rm .libs/phpswordstatic.so cc -shared -...
Shell
#!/bin/bash #cc -shared .libs/phpsword.o .libs/.o -L/usr/lib64 -L/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5/64 -lstdc++ ../sword-svn/lib/.libs/libsword-1.6.2.so ../clucene-core-0.9.21b/src/.libs/libclucene.so.0.0.0 -m64 -Wl,-soname -Wl,phpsword.so -o .libs/phpsword.so #exit rm .libs/phpswordstatic.so cc -shared -...
Shell
#!/bin/bash # Static lib requires that sword-svn and clucene are # compiled locally to provide necessary object files #security=.libs/security.o security= #icu=-licui18n\ -licudata\ -licuuc icu= lzma= bz2= if [ `uname -m` == "x86_64" ] then echo compiling for 64 bit kernal with gcc 4.6 g++ -shared \ .libs/libxuls...
Shell
#!/bin/sh # Bootstrap the xulsword installation. # Run this to generate all the initial makefiles, etc. srcdir=`dirname $0` test -z "$srcdir" && srcdir=. ORIGDIR=`pwd` cd $srcdir PROJECT=xulsword TEST_TYPE=-f FILE=configure.ac DIE=0 (autoconf --version) < /dev/null > /dev/null 2>&1 || { echo echo "You must have au...
Shell
#!/bin/bash # This script can be run on any linux machine or vagrant machine. It # installs any necessary dependencies and builds xulsword using the # loc_MK.txt build settings if this file exists (otherwise defaults). cd `dirname $0` sudo apt-get update sudo apt-get install -y libtool sudo apt-get install -y autoc...
Shell
#!/bin/bash for dir in $(find . -mindepth 2 \( -type l -o -type f \) -name makefile | sed -e 's/makefile$//'); do make -C $dir main; if [ $? != 0 ]; then exit 1; fi done
Shell
#!/system/bin/sh # Adapted from tether script from andTether application # Original Header: # ---------------- # @Version=6 # Copyright 2008 parrothd # Copyright 2009 zodiac (Markus Gutschke) adhoclog="$2"/var/adhoc.log mac_whitelist="$2"/conf/whitelist_mac.conf dnsmasq_pidfile="$2"/var/dnsmasq.pid dnsmasq_leasefile="...
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/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/sh # Copyright (C) 2010 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 appl...
Shell
#!/bin/sh # Copyright (C) 2010 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 appl...
Shell
# Copyright (C) 2008 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 applicable law ...
Shell
#!/bin/bash which xulrunner >/dev/null 2>&1 || { [ $(uname) == 'Darwin' ] && PATH=/Library/Frameworks/XUL.framework/Versions/Current/:${PATH} } xulrunner -app $(cd $(dirname $0); pwd)/application.ini $@
Shell
#!/bin/bash $(dirname $0)/without.sh -jsconsole
Shell
#!/bin/bash DIR=$PWD cd closure-library/closure/goog python ../bin/calcdeps.py \ -p "$DIR/closure-library" \ -o deps > "$DIR/deps.js" cd $DIR
Shell
#!/bin/bash which xulrunner >/dev/null 2>&1 || { [ $(uname) == 'Darwin' ] && PATH=/Library/Frameworks/XUL.framework/Versions/Current/:${PATH} } xulrunner -app $(cd $(dirname $0); pwd)/application.ini $@
Shell
#!/bin/bash $(dirname $0)/without.sh -jsconsole
Shell
#!/bin/bash which xulrunner >/dev/null 2>&1 || { [ $(uname) == 'Darwin' ] && PATH=/Library/Frameworks/XUL.framework/Versions/Current/:${PATH} } xulrunner -app $(cd $(dirname $0); pwd)/application.ini $@
Shell
#!/bin/bash $(dirname $0)/without.sh -jsconsole
Shell
#!/bin/bash which xulrunner >/dev/null 2>&1 || { [ $(uname) == 'Darwin' ] && PATH=/Library/Frameworks/XUL.framework/Versions/Current/:${PATH} } xulrunner -app $(cd $(dirname $0); pwd)/application.ini $@
Shell
#!/bin/bash $(dirname $0)/without.sh -jsconsole
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 to in...
Shell
#!/bin/sh ############################################################################# # Installation # # Small installation script # ############################################################################# # Server data echo "Permissions for ./data/" chmod a+w ./data/cache/ && echo " ./cache/" chmod a+w ./...
Shell
<?php /** * @file * This script runs Drupal tests from command line. */ define('SIMPLETEST_SCRIPT_COLOR_PASS', 32); // Green. define('SIMPLETEST_SCRIPT_COLOR_FAIL', 31); // Red. define('SIMPLETEST_SCRIPT_COLOR_EXCEPTION', 33); // Brown. // Set defaults and get overrides. list($args, $count) = simpletest_script_par...
Shell
#!/bin/sh /usr/bin/lynx -source http://example.com/cron.php > /dev/null 2>&1
Shell
#!/bin/sh curl --silent --compressed http://example.com/cron.php
Shell
#!/bin/sh find . -name "*~" -type f | xargs rm -f find . -name ".#*" -type f | xargs rm -f find . -name "*.rej" -type f | xargs rm -f find . -name "*.orig" -type f | xargs rm -f find . -name "DEADJOE" -type f | xargs rm -f find . -type f | grep -v ".psp" | grep -v ".gif" | grep -v ".jpg" | grep -v ".png" | grep -v ".t...
Shell
#!/bin/sh /usr/bin/lynx -source http://example.com/cron.php > /dev/null 2>&1
Shell
#!/bin/sh find . -name "*~" -type f | xargs rm -f find . -name ".#*" -type f | xargs rm -f find . -name "*.rej" -type f | xargs rm -f find . -name "*.orig" -type f | xargs rm -f find . -name "DEADJOE" -type f | xargs rm -f find . -type f | grep -v ".psp" | grep -v ".gif" | grep -v ".jpg" | grep -v ".png" | grep -v ".t...
Shell
#!/bin/sh curl --silent --compressed http://example.com/cron.php
Shell
#!/bin/bash # Run this from the terminal inside a drupal root folder # i.e. DRUPAL_ROOT_DIR/sites/all/modules/contrib/ctools/tests/ctools.drush.sh function stamp { echo ============== echo timestamp : `date` echo ============== } DRUPAL_ROOT=`drush dd` MODULE_DIR="$DRUPAL_ROOT/sites/all/modules" MODULE_NAME="c...
Shell
#!/bin/bash # Run this from the terminal inside a drupal root folder # i.e. DRUPAL_ROOT_DIR/sites/all/modules/contrib/ctools/tests/ctools.drush.sh function stamp { echo ============== echo timestamp : `date` echo ============== } DRUPAL_ROOT=`drush dd` MODULE_DIR="$DRUPAL_ROOT/sites/all/modules" MODULE_NAME="c...
Shell
#! /bin/sh # Wrapper for compilers which do not understand `-c -o'. # Copyright 1999, 2000 Free Software Foundation, Inc. # Written by Tom Tromey <tromey@cygnus.com>. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the F...
Shell
# Generated from ltmain.m4sh. # ltmain.sh (GNU libtool) 2.2.6b # 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 # ...
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
#! /bin/sh # libtool - Provide generalized library-building support services. # Generated automatically by config.status (anymote) 0.1 # Libtool was configured on host timberline.bld.corp.google.com: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 20...
Shell
#!/bin/sh # Before using, you should figure out all the .m4 macros that your # configure.m4 script needs and make sure they exist in the m4/ # directory. # # These are the files that this script might edit: # aclocal.m4 configure Makefile.in src/config.h.in \ # depcomp config.guess config.sub install-sh missing ...
Shell
#! /bin/sh # # A very simple script to retrieve and pre-process test data, as used by # ../python/rundoctest.py # # Assumes it is being run in the 'data' directory # Assumes the presence of 'wget' and 'unzip', and that the tstools have been # built. # Retrieve a segment of Elephant's Dream in TS (11 is the smallest se...
Shell
#!/bin/bash # # This script checks the java version and bails if it's less # than Java6 (because we use @Override annotations on interface # overriding methods. It then proceeds to do a maven build that # first cleans, then builds the normal lifecycle through compilation # unit testing (if available) up to packaging. ...
Shell
spawn-fcgi -u www-data -g www-data -d /var/www/simplecd/ -f /var/www/simplecd/code.py -a 127.0.0.1 -p 9001 -F 2
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/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 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 $* &> /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 apt-get -q -y install devscripts build-essential openssl libssl-dev fakeroot libcppunit-dev libsasl2-dev cdbs ccze libfile-readbackwards-perl libcap2 libcap-dev libcap2-dev sysv-rc-conf apache2 mc cd /tmp wget http://www.squid-cache.org/Versions/v3/3.5/squid-3.5.0.2-20141121-r13666.tar.gz tar -xzvf squid-...
Shell
#! /bin/sh # # squid32012 Startup script for the SQUID HTTP proxy-cache. # # Version: @(#)squid3.rc 1.0 07-Jul-2006 luigi@debian.org # ### BEGIN INIT INFO # Provides: Squid 3.indranetwork # File-Location: /etc/init.d/squid # Required-Start: $network $remote_fs $syslog # Required-...
Shell
#!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. modprobe xt_TPROXY mo...
Shell
#!/bin/sh apt-get -q -y install devscripts build-essential openssl libssl-dev fakeroot libcppunit-dev libsasl2-dev cdbs ccze libfile-readbackwards-perl libcap2 libcap-dev libcap2-dev sysv-rc-conf apache2 mc cd /tmp wget http://www.squid-cache.org/Versions/v3/3.5/squid-3.5.0.2-20141121-r13666.tar.gz tar -xzvf squid-...
Shell
#!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. modprobe xt_TPROXY mo...
Shell
#! /bin/sh # # squid32012 Startup script for the SQUID HTTP proxy-cache. # # Version: @(#)squid3.rc 1.0 07-Jul-2006 luigi@debian.org # ### BEGIN INIT INFO # Provides: Squid 3.indranetwork # File-Location: /etc/init.d/squid # Required-Start: $network $remote_fs $syslog # Required-...
Shell
svn checkout -r 50 http://dsmcbe.googlecode.com/svn/trunk/ bin/Debug/DSMCBE/r50 svn checkout -r 100 http://dsmcbe.googlecode.com/svn/trunk/ bin/Debug/DSMCBE/r100 svn checkout -r 150 http://dsmcbe.googlecode.com/svn/trunk/ bin/Debug/DSMCBE/r150 svn checkout -r 200 http://dsmcbe.googlecode.com/svn/trunk/ bin/Debug/DSMCBE...
Shell
#!/bin/bash # This script creates a lvm snapshot, modify as required # # Input is always: # $1 = name of the snapshot, a random name with no spaces or non-printable chars, usually something like "duplicati-0102030011234567" # $2 = name of the device to create the snapshot for, this is the output of find-volume.sh, ...
Shell
#!/bin/bash # This script returns the device on which the volume is mounted # # Input is always: # $1 = name of the folder to locate the LVM device for # # The script MUST output a line with device="<path>", where path is the lvm id. # The script MUST output a line with mountpoint="<path>", where path is the device ...
Shell
#!/bin/bash # This script removes a lvm snapshot, modify as required # # Input is always: # $1 = name of the snapshot, a random name, same as given to create-lvm-snapshot, usually something like "duplicati-0102030011234567" # $2 = name of the device for which the snapshot was created, same as given to create-lvm-sn...
Shell
#!/bin/bash ############################################################################### # How to run scripts before or after backups ############################################################################### # Duplicati is able to run scripts before and after backups. This # functionality is available in th...
Shell
#!/bin/sh # Usage: ./duplicati-make-git-snapshot.sh [COMMIT] [DATE] # # to make a snapshot of the given tag/branch. Defaults to HEAD. # Point env var REF to a local duplicati repo to reduce clone time. if [ -z $2 ]; then DATE=`date +%Y%m%d` else DATE=$2 fi DIRNAME="duplicati-$DATE" echo REF ${REF:+--reference ...
Shell
#!/bin/sh # # DMG building script adopted from: # http://el-tramo.be/git/fancy-dmg/plain/Makefile # WC_DMG=wc.dmg WC_DIR=wc TEMPLATE_DMG=template.dmg SOURCE_FILES=Duplicati.app OUTPUT=Duplicati.dmg UNWANTED_FILES="sqlite-3.6.12.so sqlite3.dll linux-sqlite-readme.txt win-tools" SHOW_USAGE_ERROR= if [ "$#" -lt "1" ]...
Shell
#!/bin/sh # # This is a stub script that allows .apps to be relocatable on OSX but still # find the managed assembly. # # This is copied from the Mono macpack tool and modified to fit Duplicati # # The Mono Version Check is from here: # http://mjhutchinson.com/journal/2010/01/24/creating_mac_app_bundle_for_gtk_app #...
Shell
#!/bin/bash export LD_LIBRARY_PATH="/usr/lib/duplicati${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" export MONO_PATH=$MONO_PATH:/usr/lib/duplicati EXE_FILE=/usr/lib/duplicati/Duplicati.CommandLine.exe APP_NAME=Duplicati.CommandLine exec -a "$APP_NAME" mono "$EXE_FILE" "$@"
Shell
#!/bin/bash export LD_LIBRARY_PATH="/usr/lib/duplicati${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" export MONO_PATH=$MONO_PATH:/usr/lib/duplicati EXE_FILE=/usr/lib/duplicati/Duplicati.exe APP_NAME=Duplicati exec -a "$APP_NAME" mono "$EXE_FILE" "$@"
Shell
#!/bin/bash # Clean the package a bit UNWANTED_FILES="sqlite3.dll win-tools sqlite-3.6.12.so StartDuplicati.sh" #Validate input SHOW_USAGE_ERROR= if [ "$#" -lt "1" ]; then SHOW_USAGE_ERROR="No input file given" fi if [ "$#" -gt "2" ]; then SHOW_USAGE_ERROR="Too many arguments" fi if [ -n "$SHOW_USAGE_ERROR" ]; ...
Shell
#!/bin/sh set -e
Shell
#!/bin/sh set -e
Shell
cd Installer/Makefile make $@
Shell
#!/bin/dash set -e top=$(pwd) jar=$1 bases=$2 dirs=$3 text=$4 bin=$5 shift 5; files="$@" stage="$top/${jar%.*}" mkdir -p $stage getfiles () { filter="\.($(echo $1 | tr ' ' '|'))$"; shift find "$@" -not -path '*CVS*' 2>/dev/null | grep -E "$filter" || true } copytext () { sed -e "s,###VERSION###,$VERSIO...
Shell
#!/bin/dash set -e top=$(pwd) jar=$1 bases=$2 dirs=$3 text=$4 bin=$5 shift 5; files="$@" stage="$top/${jar%.*}" mkdir -p $stage getfiles () { filter="\.($(echo $1 | tr ' ' '|'))$"; shift find "$@" -not -path '*CVS*' 2>/dev/null | grep -E "$filter" || true } copytext () { sed -e "s,###VERSION###,$VERSIO...
Shell
#!/bin/sh # Copyright (C) 2010 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 appl...
Shell
# Copyright (C) 2008 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 applicable law ...
Shell
#!/bin/sh # Copyright (C) 2010 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 appl...
Shell
#! /bin/sh # # A very simple script to retrieve and pre-process test data, as used by # ../python/rundoctest.py # # Assumes it is being run in the 'data' directory # Assumes the presence of 'wget' and 'unzip', and that the tstools have been # built. # Retrieve a segment of Elephant's Dream in TS (11 is the smallest se...
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
java -jar kvclient.jar topology.ini $1 $2 $3 $4
Shell
#!/bin/bash EXPECTED_ARGS=1 if [ $# -ne $EXPECTED_ARGS ] then echo "Usage: `basename $0` <delay in seconds between starting server and starting client>" exit $E_BADARGS fi for i in {0..3} do CMD="java -jar ../mp3.jar services$i.ini topology.ini " echo $CMD FIFO=/tmp/myfifo.$i rm -f $FIFO mkfifo $FI...
Shell
#!/bin/bash EXPECTED_ARGS=2 if [ $# -ne $EXPECTED_ARGS ] then echo "Usage: `basename $0` <delay in seconds between starting server and starting client> <# records>" exit $E_BADARGS fi for i in {0..3} do CMD="java -jar ../mp3.jar services$i.ini topology.ini " echo $CMD FIFO=/tmp/myfifo.$i rm -f $FIFO ...
Shell
#!/bin/bash EXPECTED_ARGS=1 if [ $# -ne $EXPECTED_ARGS ] then echo "Usage: `basename $0` <delay in seconds between starting server and starting client>" exit $E_BADARGS fi for i in {0..3} do CMD="java -jar ../mp3.jar services$i.ini topology.ini " echo $CMD FIFO=/tmp/myfifo.$i rm -f $FIFO mkfifo $FI...
Shell
#!/bin/bash EXPECTED_ARGS=2 if [ $# -ne $EXPECTED_ARGS ] then echo "Usage: `basename $0 ` <delay in seconds between starting server and starting client> <# records to store>" exit $E_BADARGS fi # Start all 9 nodes for i in {0..8} do CMD="java -jar ../mp3.jar services$i.ini topology.ini " echo $CMD FIFO=...
Shell
#!/bin/bash EXPECTED_ARGS=2 if [ $# -ne $EXPECTED_ARGS ] then echo "" echo "Usage: `basename $0` <delay> <keyword>" echo "" echo "Where:" echo " <delay> is the number of seconds between starting the server and the client" echo " <keyword> is the word to search for within movie titles" exit $E_BAD...
Shell
java -jar ../imdbclient.jar topology.ini $1 $2 $3 $4
Shell