code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/sh BASEDIR="../src" # root of translatable sources PROJECT="kweshtunotes" # project name BUGADDR="http://code.google.com/p/weshtunotes/" # MSGID-Bugs WDIR=`pwd` # working dir echo "Preparing rc files" cd ${BASEDIR} # we use simple sorting to make sure the lines do not jump around too muc...
Shell
#!/bin/sh BASEDIR="../src" # root of translatable sources PROJECT="kweshtunotes" # project name BUGADDR="http://code.google.com/p/weshtunotes/" # MSGID-Bugs WDIR=`pwd` # working dir echo "Preparing rc files" cd ${BASEDIR} # we use simple sorting to make sure the lines do not jump around too muc...
Shell
#!/bin/sh BASEDIR="../src" # root of translatable sources PROJECT="kweshtunotes" # project name BUGADDR="http://code.google.com/p/weshtunotes/" # MSGID-Bugs WDIR=`pwd` # working dir echo "Preparing rc files" cd ${BASEDIR} # we use simple sorting to make sure the lines do not jump around too muc...
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
#! /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
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/bash SERVER=$1 shift DIR=$1 if [ -z "$SERVER" ]; then echo -ne "usage: sls [user@]host [path]\n" exit; fi ssh $SERVER "ls $DIR"
Shell
#! /bin/bash let count=20; echo -n "=>" while [ $count -gt 0 ]; do echo -ne "\b==>" let count=count-1; sleep .5 done echo -e "\n"
Shell
#! /bin/bash while [ -n "$1" ]; do jpegtopnm "$1" > temp pnmscale -xysize 640 480 temp | pnmtojpeg > "$1" pnmscale -xysize 184 138 temp | pnmtojpeg > "t_$1" rm temp shift done
Shell
#! /bin/bash let count=20; echo -n "=>" while [ $count -gt 0 ]; do echo -ne "\b==>" let count=count-1; sleep .5 done echo -e "\n"
Shell
#! /bin/bash EMAIL=wbornor@splaysh.com IPIDENPAGE=http://www.splaysh.com/myip.php ROUTERIDENPAGE=~/.routeriden if [ -f $ROUTERIDENPAGE ]; then newip=$(wget -qO - $IPIDENPAGE) if [ -z $newip ]; then #IPIDENPAGE down, wait till it returns exit fi if [ -n "$(echo $newip | diff --brief $ROUTERIDENPAGE - | grep ...
Shell
#! /bin/bash SERVER=$1 shift DIR=$1 if [ -z "$SERVER" ]; then echo -ne "usage: sls [user@]host [path]\n" exit; fi ssh $SERVER "ls $DIR"
Shell
#! /bin/bash while [ -n "$1" ]; do jpegtopnm "$1" > temp pnmscale -xysize 640 480 temp | pnmtojpeg > "$1" pnmscale -xysize 184 138 temp | pnmtojpeg > "t_$1" rm temp shift done
Shell
#! /bin/bash EMAIL=wbornor@splaysh.com IPIDENPAGE=http://www.splaysh.com/myip.php ROUTERIDENPAGE=~/.routeriden if [ -f $ROUTERIDENPAGE ]; then newip=$(wget -qO - $IPIDENPAGE) if [ -z $newip ]; then #IPIDENPAGE down, wait till it returns exit fi if [ -n "$(echo $newip | diff --brief $ROUTERIDENPAGE - | grep ...
Shell
#!/bin/bash # Java bindings for the libgphoto2 library. # Copyright (C) 2011 Innovatrics s.r.o. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or ...
Shell
#!/system/bin/sh DIR=/data/data/org.sshtunnel PATH=$DIR:$PATH case $1 in start) echo " base { log_debug = off; log_info = off; log = stderr; daemon = on; redirector = iptables; } " >$DIR/redsocks.conf echo " redsocks { local_ip = 127.0.0.1; local_port = 8123; ip = 127.0.0.1; port = $2; type = http-re...
Shell
#!/system/bin/sh DIR=/data/data/org.sshtunnel PATH=$DIR:$PATH case $1 in start) echo " base { log_debug = off; log_info = off; log = stderr; daemon = on; redirector = iptables; } " >$DIR/redsocks.conf echo " redsocks { local_ip = 127.0.0.1; local_port = 8123; ip = 127.0.0.1; port = $2; type = socks5;...
Shell
#!/bin/bash # Massive Network Game Object Server # Monitoring Script pid=`ps ax | awk '($5 ~ /mangos-worldd/) { print $1 }'` cpu=`top -b -n 1 -p $pid | awk '($12 ~ /mangos-worldd/) { print $9 }'` #echo $pid #echo $cpu intcpu=${cpu%.*} #echo $intcpu if [ "$intcpu" -gt "95" ] then kill -9 $pid echo "Killed MaNGOS for ...
Shell
#!/bin/bash # Trinity Server # autorestart Script while : do echo "TrinityCore daemon restarted" echo `date` >> crash.log & ./mangosd | tail -n 20 >> crash.log echo " " >> crash.log & pid=`ps ax | awk '($5 ~ /trinitycore/) { print $1 }'` wait $pid echo `date` ", TrinityCore daemon crashed and restarted....
Shell
# Be sure to specify files instead of * when running the script. perl -p -i -e "s/ +$//g" *
Shell
# Be sure to specify files instead of * when running the script. perl -p -i -e "s/\t/ /g" *
Shell
#!/bin/sh # sh is buggy on RS/6000 AIX 3.2. Replace above line with #!/bin/ksh # Bzcmp/diff wrapped for bzip2, # adapted from zdiff by Philippe Troin <phil@fifi.org> for Debian GNU/Linux. # Bzcmp and bzdiff are used to invoke the cmp or the diff pro- # gram on compressed files. All options specified are passed #...
Shell
#!/bin/sh # Bzmore wrapped for bzip2, # adapted from zmore by Philippe Troin <phil@fifi.org> for Debian GNU/Linux. PATH="/usr/bin:$PATH"; export PATH prog=`echo $0 | sed 's|.*/||'` case "$prog" in *less) more=less ;; *) more=more ;; esac if test "`echo -n a`" = "-n a"; then # looks like a SysV system: ...
Shell
#!/bin/bash # see the README in this directory for usage etc. usage() { echo ''; echo 'Usage: xmlproc.sh -[option] <filename.xml>'; echo 'Specify a target from:'; echo '-v verify xml file conforms to dtd'; echo '-html output in html format (single file)'; echo '-ps output in postscript format'; ...
Shell
#!/bin/sh # Bzgrep wrapped for bzip2, # adapted from zgrep by Philippe Troin <phil@fifi.org> for Debian GNU/Linux. ## zgrep notice: ## zgrep -- a wrapper around a grep program that decompresses files as needed ## Adapted from a version sent by Charles Levert <charles@comm.polymtl.ca> PATH="/usr/bin:$PATH"; export PA...
Shell
#!/bin/sh LOCALCLASSPATH=Libs/* java -Xmx400m -cp "%LOCALCLASSPATH%" com.google.code.openmu.ConnectServer
Shell
#!/bin/sh LOCALCLASSPATH=Libs/* java -Xmx400m -cp "%LOCALCLASSPATH%" com.google.code.openmu.GameServer
Shell
#! /bin/sh usage() { echo "Usage: gpsee-config [OPTIONS] Options: [--prefix] [--exec-prefix] [--includedir] [--libdir] [--version] [--libs] [--ldflags] [--cc] [--cxx] [--cflags] [--cppflags] [--cxxflags] [--lib-file...
Shell
#! /bin/bash # # ***** BEGIN LICENSE BLOCK ***** # Version: MPL 1.1/GPL 2.0/LGPL 2.1 # # The contents of this file are subject to the Mozilla Public License Version # 1.1 (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.mozilla.org/...
Shell
#! /bin/bash # # ***** BEGIN LICENSE BLOCK ***** # Version: MPL 1.1/GPL 2.0/LGPL 2.1 # # The contents of this file are subject to the Mozilla Public License Version # 1.1 (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.mozilla.org/...
Shell
#! /bin/sh -f # # ***** BEGIN LICENSE BLOCK ***** # Version: MPL 1.1/GPL 2.0/LGPL 2.1 # # The contents of this file are subject to the Mozilla Public License Version # 1.1 (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.mozilla.org...
Shell
#! /bin/sh JS_DEBUGEE="$1" if [ ! "$JS_DEBUGEE" ]; then echo "Usage: $0 <script.js>" >/dev/stderr exit 1 fi gdb -q -x `dirname $0`/gdb-gsrdb.cmds --args gsrdb -c debugger -f $1
Shell
#! /bin/sh [ "$GSR" ] || GSR=/usr/bin/gsr export GSR path="`dirname $0`" output="`$GSR -F \"$path/stack_dump.js\" 2>&1`" if expr 'Uncaught exception in /Users/wes/hg/gpsee/tests/error_reporting/stack_dump.js:15: An error occurred' : "^Uncaught exception in .*stack_dump.js:15: An error occurred$" >/dev/null; then e...
Shell
#! /bin/sh [ "$GSR" ] || GSR=/usr/bin/gsr $GSR -c 'a=123' $GSR -c 'lkjslkj(' echo "Should have a warning and a syntax error above"
Shell
#! /bin/sh [ "$GSR" ] || GSR=/usr/bin/gsr export GSR path="`dirname $0`" $GSR -F "$path/stack_dump.js" >/dev/null 2>&1 exitCode="$?" if [ "$exitCode" = 1 ]; then echo "OKAY: Exit code for an uncaught exception passes" else echo "FAIL: Exit code for an uncaught exception was $exitCode" fi $GSR -F "$path/warning.j...
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 adb shell cat /data/data/com.google.android.apps.iosched/shared_prefs/com.google.android.apps.iosched_preferences.xml | xmllint --format -
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
#!/bin/sh adb shell pm clear 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 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 # 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 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 # Used to update http://openlayers.org/dev/ # Get current 'Last Changed Rev' REV=`svn info http://svn.openlayers.org/ | grep 'Revision' | awk '{print $2}'` # Get the last svn rev touch /tmp/ol_svn_rev OLD_REV="o`cat /tmp/ol_svn_rev`" # If they're not equal, do some work. if [ ! o$REV = $OLD_REV ]; then ...
Shell
#!/bin/sh RELEASE=$1 RC=$2 svn co http://svn.openlayers.org/branches/openlayers/$RELEASE cd $RELEASE sed -i -e "s/OpenLayers.VERSION_NUMBER=.*/OpenLayers.VERSION_NUMBER=\"Release $1-$2\";/" lib/OpenLayers.js sed -i -e "s/VERSION_NUMBER: .*,/VERSION_NUMBER: \"Release $1-$2\",/" lib/OpenLayers/SingleFile.js svn diff; ...
Shell
#!/bin/sh RELEASE=$1 svn copy -m "Branching for the $RELEASE release" http://svn.openlayers.org/trunk/openlayers http://svn.openlayers.org/branches/openlayers/$RELEASE
Shell
#!/bin/sh # Used to update http://openlayers.org/dev/ # Get current 'Last Changed Rev' REV=`svn info http://svn.openlayers.org/ | grep 'Revision' | awk '{print $2}'` # Get the last svn rev touch /tmp/ol_svn_rev OLD_REV="o`cat /tmp/ol_svn_rev`" # If they're not equal, do some work. if [ ! o$REV = $OLD_REV ]; then ...
Shell
#!/bin/sh VERSION=$1 wget -c http://closure-compiler.googlecode.com/files/compiler-latest.zip unzip compiler-latest.zip svn export http://svn.openlayers.org/tags/openlayers/release-$VERSION OpenLayers-$VERSION cd OpenLayers-$VERSION/build mv ../../compiler.jar ../tools/closure-compiler.jar ./build.py -c closure ful...
Shell
#!/bin/sh -x svn export http://svn.openlayers.org/tags/openlayers/release-$VERSION OpenLayers-$VERSION cd OpenLayers-$VERSION/build ./build.py mkdir /osgeo/openlayers/docs/api/$VERSION cd .. cp build/OpenLayers.js /osgeo/openlayers/docs/api/$VERSION cp -a img/ /osgeo/openlayers/docs/api/$VERSION cp -a theme/ /osgeo/op...
Shell
#!/bin/sh RELEASE=$1 RC=$2 svn co http://svn.openlayers.org/branches/openlayers/$RELEASE cd $RELEASE sed -i -e "s/OpenLayers.VERSION_NUMBER=.*/OpenLayers.VERSION_NUMBER=\"Release $1-$2\";/" lib/OpenLayers.js sed -i -e "s/VERSION_NUMBER: .*,/VERSION_NUMBER: \"Release $1-$2\",/" lib/OpenLayers/SingleFile.js svn diff; ...
Shell
#!/bin/sh RELEASE=$1 svn copy -m "Branching for the $RELEASE release" http://svn.openlayers.org/trunk/openlayers http://svn.openlayers.org/branches/openlayers/$RELEASE
Shell
#!/bin/sh -x svn export http://svn.openlayers.org/tags/openlayers/release-$VERSION OpenLayers-$VERSION cd OpenLayers-$VERSION/build ./build.py mkdir /osgeo/openlayers/docs/api/$VERSION cd .. cp build/OpenLayers.js /osgeo/openlayers/docs/api/$VERSION cp -a img/ /osgeo/openlayers/docs/api/$VERSION cp -a theme/ /osgeo/op...
Shell
#!/bin/sh VERSION=$1 wget -c http://closure-compiler.googlecode.com/files/compiler-latest.zip unzip compiler-latest.zip svn export http://svn.openlayers.org/tags/openlayers/release-$VERSION OpenLayers-$VERSION cd OpenLayers-$VERSION/build mv ../../compiler.jar ../tools/closure-compiler.jar ./build.py -c closure ful...
Shell
#!/bin/sh -e ./test_bitstream ./test_estimatebit ./test_qrencode ./test_qrinput ./test_qrspec ./test_rs ./test_split ./test_monkey
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
# 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 # 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
#! /bin/sh # Wrapper for compilers which do not understand `-c -o'. scriptversion=2009-04-28.21; # UTC # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009 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 t...
Shell
#!/bin/sh set -e if [ `uname -s` = Darwin ]; then LIBTOOLIZE=glibtoolize else LIBTOOLIZE=libtoolize fi if [ -d /usr/local/share/aclocal ]; then ACLOCAL_DIR=/usr/local/share/aclocal elif [ -d /opt/local/share/aclocal ]; then ACLOCAL_DIR=/opt/local/share/aclocal elif [ -d /usr/share/aclocal ]; then ...
Shell
# a shell script to create a java documentation # for a processing library. # # make changes to the variables below so they # fit the structure of your library # the package name of your library package=template; # source folder location src=../src; # the destination folder of your documentation dest=../document...
Shell
#!/usr/bin/env bash ################################################################# # TV-MAXE 0.07 Launcher Script # # Author : V3n3RiX [ at ] MandrivaUsers [ dot ] ro # ################################################################# # Version 0.07 comes with massive amount of changes, so old settings # might ...
Shell
#!/bin/sh RC_VERSION=3.1.1-SNAPSHOT chmod a+x restclient-ui/target/restclient-ui-${RC_VERSION}/WizTools.org\ RESTClient.app/Contents/MacOS/JavaApplicationStub
Shell
#!/bin/sh VERSION=3.1-SNAPSHOT cp restclient-cli/target/restclient-cli-${VERSION}-jar-with-dependencies.jar \ restclient-ui/target/restclient-ui-${VERSION}-jar-with-dependencies.jar \ restclient-ui/target/restclient-ui-${VERSION}-app.zip \ ~/Dropbox/Public/
Shell
#!/bin/sh svn log -v -r597:HEAD > rest-client-history-26.log
Shell
#!/bin/bash DIR=/usr/local/etc/reaver/ BACKUPDIR=$(pwd)/reaverBackup if [ ! -d $BACKUPDIR ]; then mkdir -p -m 700 "$BACKUPDIR" fi FILENAME=reaverBackup_`date +"%Y-%m-%d_%H-%M-%S"`.tar.gz FILEPATH="$BACKUPDIR"/"$FILENAME" tar -czvf $FILEPATH $DIR # List contents of tar.gz file # tar -ztvf file.tar.gz echo ">>> Listin...
Shell
#!/bin/bash wash -i mon0 -C -s | awk -F' ' '{ if($5 == "No"){print $1 " " $2 " " substr($0, index($0,$6))}}'
Shell
#!/bin/bash ### REQUIREMENTS # (If you use Backtrack 5, you probably have all the following) # - reaver 1.4 (I didn't try it with previous versions) # - X-environment (unless you'll change 'konsole' invocations to 'screen' or something like that...) # - gawk (Gnu AWK) # - macchanger # - airmon-ng, airodump-ng # - per...
Shell
#!/bin/bash if [ -z "$1" ] || [ "$1" == "--help" ]; then echo "Using $0 [BSSID] [OPTIONS]"; echo "[OPTIONS] are:"; echo " --group-by-day - Grouping PIN dates, by day and shows PIN count of each day"; echo " --group-by-hour - Grouping PIN hours, by day+hour and shows PIN count of each day+hour"; exit; fi so...
Shell
#!/bin/bash ############ AUTO-REAVER CONFIGURATION ####################################### #### Additional Reaver options besides bssid, spoofed mac, session file, channel # d [seconds] = delay (seconds) between PIN attempts # g [num attempts] = Quit after num pin attempts (for 1 iteration of loop) # T [seconds] = Set...
Shell
hg push https://KrissD@code.google.com/p/wetbin/
Shell
#!/bin/bash xvfb-run atest/run_atests.py ci
Shell
#!/bin/sh autoreconf -i
Shell
#! /bin/bash # 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 Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # This program is distributed in the hope that it will be...
Shell
#!/bin/sh # This script mounts an encfs filesystem, starts a shell in the mounted # directory, and then unmounts the filesystem when the shell exits. # This is an equivalent of the cfssh utility for cfs. # Contributed by David Rosenstrauch. canonicalize() { cd "$1" pwd } if [ -z "$1" -o "$1" = "-h" ]; then echo...
Shell
#!/bin/sh # create distribution file make dist # create tar archive and signature tarArchive=@PACKAGE@-@VERSION@.tgz mv @PACKAGE@-@VERSION@.tar.gz $tarArchive # let the user know why they're being asked for a passpharse echo "Signing tar archive - enter GPG password"; gpg --detach-sign -a $tarArchive # create rpms #...
Shell
#! /bin/bash TOOLCHAIN=${HOME}/android-toolchain MYSTRIP=${TOOLCHAIN}/bin/arm-linux-androideabi-strip autoreconf -i rm -rf armeabi ./config-arm-encfs.sh make clean make -j4 make install ${MYSTRIP} --strip-unneeded armeabi/bin/encfs rm -rf armeabi-v7a ./config-arm-encfs.sh 1 make clean make -j4 make install ${MYSTRI...
Shell
#!/bin/sh rm m4/[c-z]*.m4 echo Creating autoconf scripts... sh ./reconfig.sh echo Configuring... ./configure sh ./makedist2.sh
Shell
#! /bin/bash git clone https://github.com/seth-hg/fuse-android.git find ./fuse-android \( -name "*.c" -o -name "*.h" \) -exec sed -i 's/off_t/loff_t/g' {} \; patch -p1 < ./fuse-android.patch
Shell
#! /bin/bash diff -x '*.in' -x '*.o' -x '*.lo' -x '*.1' -ur ${HOME}/encfs-1.7.4/encfs ./encfs-1.7.4/encfs > encfs-android.patch.new
Shell
#! /bin/bash GSED=`which gsed` if [ "${GSED}" = "" ] then GSED=`which sed` fi if [ ! -f encfs-1.7.4.tgz ] then wget http://encfs.googlecode.com/files/encfs-1.7.4.tgz fi rm -rf encfs-1.7.4 tar -xzf encfs-1.7.4.tgz cd encfs-1.7.4 patch -p1 < ../encfs-android.patch find ./ \( -name "*.c" -o -name "*.h" -o -name ...
Shell
#! /bin/bash # 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 Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # This program is distributed in the hope that it will be...
Shell
#! /bin/bash TOOLCHAIN=${HOME}/android-toolchain MYSTRIP=${TOOLCHAIN}/bin/arm-linux-androideabi-strip cd encfs-1.7.4 cp ../config-arm-encfs.sh ./ rm -rf armeabi ./config-arm-encfs.sh make clean make -j4 make install ${MYSTRIP} --strip-unneeded armeabi/bin/encfs rm -rf armeabi-v7a ./config-arm-encfs.sh 1 make clean ...
Shell
#! /bin/bash wget http://www.openssl.org/source/openssl-1.0.0k.tar.gz tar -xzf openssl-1.0.0k.tar.gz
Shell
# Don't attempt a parallel build! (-jN) OPENSSL_VERSION="1.0.0k" cp -v Makefile.android openssl-${OPENSSL_VERSION} cp -v Makefile.android.armv7 openssl-${OPENSSL_VERSION} cd openssl-${OPENSSL_VERSION} rm -rf libcrypto.a libssl.a armeabi make -f Makefile.android clean make -f Makefile.android mkdir -p armeabi mv lib...
Shell
#! /bin/bash diff -x '*.in' -x '*.o' -x '*.lo' -x '*.1' -x 'bld*' -x '*~' -ur ${HOME}/wxWidgets-2.8.12 ./wxWidgets-2.8.12 > wx-android.patch
Shell
#! /bin/bash if [ ! -f wxWidgets-2.8.12.tar.bz2 ] then wget http://downloads.sourceforge.net/project/wxwindows/2.8.12/wxWidgets-2.8.12.tar.bz2 fi if [ ! -d wxWidgets-2.8.12 ] then tar -xjf wxWidgets-2.8.12.tar.bz2 cd wxWidgets-2.8.12 patch -p1 < ../wx-android.patch cd .. fi
Shell
#! /bin/bash # 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 Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # This program is distributed in the hope that it will be...
Shell
#! /bin/bash WXVER=2.8.12 BUILDDIR=wxWidgets-${WXVER}/bld rm -rf ${BUILDDIR} mkdir -p ${BUILDDIR} cd ${BUILDDIR} ../../config-arm-wx.sh make -j4 make install
Shell
#! /bin/bash wget --no-check-certificate https://protobuf.googlecode.com/files/protobuf-2.4.1.tar.bz2 tar -xjf protobuf-2.4.1.tar.bz2
Shell
#! /bin/bash # 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 Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # This program is distributed in the hope that it will be...
Shell