code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh
# first find which PHP binary to use
if test "x$PHP_PEAR_PHP_BIN" != "x"; then
PHP="$PHP_PEAR_PHP_BIN"
else
if test "@php_bin@" = '@'php_bin'@'; then
PHP=php
else
PHP="@php_bin@"
fi
fi
# then look for the right pear include dir
if test "x$PHP_PEAR_INSTALL_DIR" != "x"; then
INCDIR=$PHP_PEAR... | Shell |
#!/bin/sh
runoff1 "$@" | pr.pl -h "xv6/$@" | mpage -m50t50b -o -bLetter -T -t -2 -FLucidaSans-Typewriter83 -L60 >x.ps; gv --swap x.ps
| Shell |
#!/bin/sh
if [ $# != 1 ] || [ ! -f "$1" ]; then
echo 'usage: spinp file.p' 1>&2
exit 1
fi
rm -f $1.trail
spin -a $1 || exit 1
cc -DSAFETY -DREACH -DMEMLIM=500 -o pan pan.c
pan -i
rm pan.* pan
if [ -f $1.trail ]; then
spin -t -p $1
fi
| Shell |
#!/bin/sh
echo This script takes a minute to run. Be patient. 1>&2
LC_CTYPE=C export LC_CTYPE
# pad stdin to multiple of 120 lines
pad()
{
awk '{print} END{for(; NR%120!=0; NR++) print ""}'
}
# create formatted (numbered) files
mkdir -p fmt
rm -f fmt/*
cp README fmt
files=`grep -v '^#' runoff.list | awk '{print $... | Shell |
#!/bin/sh
runoff1 "$@" | pr.pl -h "xv6/$@" | mpage -m50t50b -o -bLetter -T -t -2 -FLucidaSans-Typewriter83 -L60 >x.ps; gv --swap x.ps
| Shell |
#!/bin/sh
if [ $# != 1 ] || [ ! -f "$1" ]; then
echo 'usage: spinp file.p' 1>&2
exit 1
fi
rm -f $1.trail
spin -a $1 || exit 1
cc -DSAFETY -DREACH -DMEMLIM=500 -o pan pan.c
pan -i
rm pan.* pan
if [ -f $1.trail ]; then
spin -t -p $1
fi
| Shell |
#!/bin/sh
echo This script takes a minute to run. Be patient. 1>&2
LC_CTYPE=C export LC_CTYPE
# pad stdin to multiple of 120 lines
pad()
{
awk '{print} END{for(; NR%120!=0; NR++) print ""}'
}
# create formatted (numbered) files
mkdir -p fmt
rm -f fmt/*
cp README fmt
files=`grep -v '^#' runoff.list | awk '{print $... | Shell |
#!/bin/sh
# ./test_run.sh orig_main ../orig
# ./test_run.sh new_main ../new
# ./test_run.sh orig_main ../new
cd $1
java -cp $2: Test
exit 0
| Shell |
#!/bin/sh
# ./test_run.sh orig_main ../orig
# ./test_run.sh new_main ../new
# ./test_run.sh orig_main ../new
cd $1
java -cp $2: Demo1Main
exit 0
| Shell |
#!/bin/sh
javac Util.java
javac Registry.java
javac Properties.java
exit 0
| Shell |
#!/bin/sh
javac -cp ../orig: Demo1Main.java
exit 0
| Shell |
#!/bin/sh
# ./test_run.sh orig_main ../orig
# ./test_run.sh new_main ../new
# ./test_run.sh orig_main ../new
cd $1
java -cp $2: TCMain
exit 0
| Shell |
#!/bin/sh
# ./test_run.sh orig_main ../orig
# ./test_run.sh new_main ../new
# ./test_run.sh orig_main ../new
cd $1
java -cp $2:../libs/GMC.jar:./ -Djava.library.path=../libs/ TCMain
exit 0
| Shell |
#!/bin/sh
runoff1 "$@" | pr.pl -h "xv6/$@" | mpage -m50t50b -o -bLetter -T -t -2 -FLucidaSans-Typewriter83 -L60 >x.ps; gv --swap x.ps
| Shell |
#!/bin/sh
if [ $# != 1 ] || [ ! -f "$1" ]; then
echo 'usage: spinp file.p' 1>&2
exit 1
fi
rm -f $1.trail
spin -a $1 || exit 1
cc -DSAFETY -DREACH -DMEMLIM=500 -o pan pan.c
pan -i
rm pan.* pan
if [ -f $1.trail ]; then
spin -t -p $1
fi
| Shell |
#!/bin/sh
echo This script takes a minute to run. Be patient. 1>&2
LC_CTYPE=C export LC_CTYPE
# pad stdin to multiple of 120 lines
pad()
{
awk '{print} END{for(; NR%120!=0; NR++) print ""}'
}
# create formatted (numbered) files
mkdir -p fmt
rm -f fmt/*
cp README fmt
files=`grep -v '^#' runoff.list | awk '{print $... | Shell |
#!/bin/bash
#
# Copyright (c) 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
CWD=/var/www/taracot/data/site
WORKERS=10
ENVD=deployment
PORT=5001
SUSER=taracot
SGROUP=taracot
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
DAEMON=/usr/local/bin/plackup
NAME="starman"
# Defaults
RUN="no"
OPTIONS="--user=$SUSER --group=$SGROUP --env $ENVD --server Starman --workers=$W... | Shell |
#/bin/sh
echo "Cleaning up"
cd /var/www/taracot/data/sandbox/bin/
./expired_sessions.pl
exit 0
| 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
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
#
# 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 |
#!/usr/bin/env bash
# Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
# For licensing, see LICENSE.html or http://ckeditor.com/license
# Use this file to quickly run the sample under Linux.
adl application.xml ../../
| Shell |
#!/usr/bin/env bash
# Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
# For licensing, see LICENSE.html or http://ckeditor.com/license
# Use this file to quickly run the sample under Linux.
adl application.xml ../../
| Shell |
#!/bin/sh -e
if [ "$1" = "configure" ]; then
/usr/share/locales/install-language-pack "zh" "" "$2" || true
fi
#DEBHELPER#
exit 0
| Shell |
#!/bin/sh -e
if [ "$1" = "configure" ]; then
/usr/share/locales/install-language-pack "zh" "" "$2" || true
fi
#DEBHELPER#
exit 0
| Shell |
#!/bin/bash
#
# This script is similar to minion but will do a few additional things:
# - PHP process is run in the background
# - PHP process is monitored and restarted if it exits for any reason
# - Added handlers for SUGHUP, SIGINT, and SIGTERM
#
# This is meant for long running minion tasks (like background workers... | Shell |
#!/bin/bash
#
# This script is similar to minion but will do a few additional things:
# - PHP process is run in the background
# - PHP process is monitored and restarted if it exits for any reason
# - Added handlers for SUGHUP, SIGINT, and SIGTERM
#
# This is meant for long running minion tasks (like background workers... | 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
logkeys --kill
| Shell |
#!/bin/sh
logkeys --start
| 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 |
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
| Shell |
#!/bin/sh
path=`dirname $0`
pythonhome=$path/../Frameworks/Python.framework/Versions/2.6
export PYTHONHOME=$pythonhome
export DYLD_LIBRARY_PATH=$path/../MacOS:$DYLD_LIBRARY_PATH
export DYLD_LIBRARY_PATH=$path/../coral:$DYLD_LIBRARY_PATH
export DYLD_LIBRARY_PATH=$path/../coral/coral:$DYLD_LIBRARY_PATH
export DYLD_LIBRA... | Shell |
#!/bin/sh
cd `dirname $0`
IS_BETA=`cat ../main/AndroidManifest.xml | grep -ie "versionName=.*beta"`
if [[ -z ${IS_BETA} ]]; then
echo "versionName should include 'beta'." >&2
exit
fi
cd ../main
ant clean release
cd bin
mv DashClock-release.apk DashClock-beta.apk
# See https://code.google.com/p/support/source/brow... | Shell |
#!/bin/sh
source _locals.sh
javadoc -linkoffline http://developer.android.com/reference ${ANDROID_SDK}/docs/reference \
-sourcepath ../src \
-classpath ${ANDROID_SDK}/platforms/android-17/android.jar:${ANDROID_SDK}/tools/support/annotations.jar \
-d ../../out/javadoc/ \
-notree -nonavbar... | Shell |
#!/bin/sh
make
cp RtpServer ../bin/
make clean
| Shell |
#!/bin/sh
make
cp RtpServer ../bin/
make clean
| Shell |
#!/bin/sh
gcc -o playback playback.c
mv playback ../bin/
| Shell |
#!/bin/sh
gcc -o playback playback.c
mv playback ../bin/
| Shell |
#!/bin/sh
cd rtspserver
./compile.sh
cd ..
cd rtpserver
./compile.sh
| Shell |
#!/bin/sh
gcc -c Log.c
gcc -c ErrorInfo.c
gcc -c RtspCmdLineDeal.c
gcc -c RtspServer.c
gcc -o RtspServer Log.o ErrorInfo.o RtspCmdLineDeal.o RtspServer.o
mv RtspServer ../bin/RtspServer
sudo chown root ../bin/RtspServer
sudo chmod u+s ../bin/RtspServer
| Shell |
#!/bin/sh
gcc -c Log.c
gcc -c ErrorInfo.c
gcc -c RtspCmdLineDeal.c
gcc -c RtspServer.c
gcc -o RtspServer Log.o ErrorInfo.o RtspCmdLineDeal.o RtspServer.o
mv RtspServer ../bin/RtspServer
sudo chown root ../bin/RtspServer
sudo chmod u+s ../bin/RtspServer
| Shell |
#!/bin/sh
cd rtspserver
./compile.sh
cd ..
cd rtpserver
./compile.sh
| Shell |
#!/bin/sh
./soapcpp2 -cL login.h
gcc -c loginserver.c
gcc -c soapC.c
gcc -c soapServer.c
gcc -o loginserver loginserver.o soapC.o soapServer.o libgsoap.a -lm
gcc -c soapClient.c
gcc -c loginclient.c
gcc -o loginclient loginclient.o soapC.o soapClient.o libgsoap.a
mv loginserver ../bin/
mv loginclient ../bin/
mv l... | Shell |
#!/bin/sh
./soapcpp2 -cL login.h
gcc -c loginserver.c
gcc -c soapC.c
gcc -c soapServer.c
gcc -o loginserver loginserver.o soapC.o soapServer.o libgsoap.a -lm
gcc -c soapClient.c
gcc -c loginclient.c
gcc -o loginclient loginclient.o soapC.o soapClient.o libgsoap.a
mv loginserver ../bin/
mv loginclient ../bin/
| Shell |
#!/bin/sh
./soapcpp2 -cL login.h
gcc -c loginserver.c
gcc -c soapC.c
gcc -c soapServer.c
gcc -o loginserver loginserver.o soapC.o soapServer.o libgsoap.a -lm
gcc -c soapClient.c
gcc -c loginclient.c
gcc -o loginclient loginclient.o soapC.o soapClient.o libgsoap.a
mv loginserver ../bin/
mv loginclient ../bin/
| Shell |
#!/bin/sh
./soapcpp2 -cL login.h
gcc -c loginserver.c
gcc -c soapC.c
gcc -c soapServer.c
gcc -o loginserver loginserver.o soapC.o soapServer.o libgsoap.a -lm
gcc -c soapClient.c
gcc -c loginclient.c
gcc -o loginclient loginclient.o soapC.o soapClient.o libgsoap.a
mv loginserver ../bin/
mv loginclient ../bin/
mv l... | Shell |
nxjc Main.java
nxjlink -v Main -o smallpark.nxj
nxjupload smallpark.nxj --run
| Shell |
#!/bin/sh
# Public domain.
VERSION="0.16"
_ql() {
echo "$1" > ~/.quodlibet/control
}
_ql_arg() {
if [ "$2" = "" ]; then
echo "E: \`$1' needs an argument." 2>&1
exit 1
else _ql "$1 $2"
fi
}
_ql_reply() {
fn="`tempfile --prefix=ql_`"; rm -f "$fn"; mkfifo -m 0600 "$fn"
_ql "$1 $fn"
cat "$fn"
rm -f "$fn"
}
... | Shell |
#!/bin/bash
#===============================================================================
# FILE: wrapper.sh
# USAGE: ./wrapper.sh executable [cmd-line-args]
# DESCRIPTION: Wraps the execution of a programm or script.
# Use with xterm: xterm -e wrapper.sh executable cmd-line-ar... | Shell |
#!/bin/bash
#===============================================================================
# FILE: wrapper.sh
# USAGE: ./wrapper.sh executable [cmd-line-args]
# DESCRIPTION: Wraps the execution of a programm or script.
# Use with xterm: xterm -e wrapper.sh executable cmd-line-ar... | Shell |
#!/bin/bash
#===============================================================================
# FILE: wrapper.sh
# USAGE: ./wrapper.sh executable [cmd-line-args]
# DESCRIPTION: Wraps the execution of a programm or script.
# Use with xterm: xterm -e wrapper.sh executable cmd-line-ar... | Shell |
#!/bin/bash
#===============================================================================
# FILE: wrapper.sh
# USAGE: ./wrapper.sh executable [cmd-line-args]
# DESCRIPTION: Wraps the execution of a programm or script.
# Use with xterm: xterm -e wrapper.sh executable cmd-line-ar... | 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
# ./test_run.sh orig_main ../orig
# ./test_run.sh new_main ../new
# ./test_run.sh orig_main ../new
cd $1
java -cp $2: Test
exit 0
| Shell |
#!/bin/sh
# ./test_run.sh orig_main ../orig
# ./test_run.sh new_main ../new
# ./test_run.sh orig_main ../new
cd $1
java -cp $2: Demo1Main
exit 0
| Shell |
#!/bin/sh
javac Util.java
javac Registry.java
javac Properties.java
exit 0
| Shell |
#!/bin/sh
javac -cp ../orig: Demo1Main.java
exit 0
| Shell |
#!/bin/sh
# ./test_run.sh orig_main ../orig
# ./test_run.sh new_main ../new
# ./test_run.sh orig_main ../new
cd $1
java -cp $2: TCMain
exit 0
| Shell |
#!/bin/sh
# ./test_run.sh orig_main ../orig
# ./test_run.sh new_main ../new
# ./test_run.sh orig_main ../new
cd $1
java -cp $2:../libs/GMC.jar:./ -Djava.library.path=../libs/ TCMain
exit 0
| Shell |
#!/bin/sh
cat toolbox.xml | \
sed 's/Left/XXXXX/g' | \
sed 's/Right/Left/g' | \
sed 's/XXXXX/Right/g' | \
sed 's/toolbox_undo/XXXXX/g' | \
sed 's/toolbox_redo/toolbox_undo/g' | \
sed 's/XXXXX/toolbox_redo/g' | \
sed 's/toolbox_next/XXXXX/g' | \
sed 's/toolbox_prev/toolbox_next/g' | \
... | 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=2007-03-29.01
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 Free Software
# Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public ... | 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
./configure --system-name=GCC
mv Makefile script/Makefile.gcc
./configure --system-name=GCC --shared
mv Makefile script/Makefile.gcc_so
./configure --system-name=CYGWIN
mv Makefile script/Makefile.cygwin
./configure --system-name=CYGWIN --shared
mv Makefile script/Makefile.cygwin_dll
./configure --system-name... | Shell |
#!/bin/sh
#
# make resource files for each platforms
#
_VERSION2=$(grep VERSION include/hpdf_consts.h | awk '{print $3}' | sed 's/"//g')".0"
_VERSION1=$(grep VERSION include/hpdf_consts.h | awk '{print $3}' | sed 's/"//g;s/\./,/g')",0"
_COMPILER=""
which windres
if [ $? -ne 0 ]; then
echo "windres does not exist."
... | 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
eval `grep '^HPDF_EXTRA_VERSION=' configure.in`
case "$HPDF_EXTRA_VERSION" in
*-dev)
rebuildok=1
;;
*)
rebuildok=0
;;
esac
cvsclean=0
while test $# -gt 0; do
if test "$1" = "--force"; then
rebuildok=1
echo "Forcing buildconf"
fi
if test "$1" = "--clean"; then
cvsclean=... | Shell |
#!/bin/sh
#
# Part of Gerrit Code Review (http://code.google.com/p/gerrit/)
#
# Copyright (C) 2009 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://w... | Shell |
#!/bin/sh
export JETTY_HOST=127.0.0.1
export JETTY_PORT=8081
export JETTY_USER=gerrit2
export JETTY_PID=/var/run/jetty$JETTY_PORT.pid
export JETTY_HOME=/home/$JETTY_USER/jetty
export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.07/jre
JAVA_OPTIONS=""
JAVA_OPTIONS="$JAVA_OPTIONS -Djetty.host=$JETTY_HOST"
export JAVA_OPTION... | Shell |
#!/bin/sh
include_docs=-Dgerrit.include-documentation=1
while [ $# -gt 0 ]
do
case "$1" in
--no-documentation|--without-documentation)
include_docs=
shift
;;
*)
echo >&2 "usage: $0 [--without-documentation]"
exit 1
esac
done
git update-index -q --refresh
if test -n "$(git diff-index --name-only HEAD -... | Shell |
#!/bin/sh
# Update all pom.xml with new build number
#
# TODO(sop) This should be converted to some sort of
# Java based Maven plugin so its fully portable.
#
POM_FILES=$(git ls-files | grep pom.xml)
case "$1" in
--snapshot=*)
V=$(echo "$1" | perl -pe 's/^--snapshot=//')
if [ -z "$V" ]
then
echo >&2 "usage: $0 ... | Shell |
#!/bin/sh
#
# Launch Gerrit Code Review as a daemon process.
# To get the service to restart correctly on reboot, uncomment below (3 lines):
# ========================
# chkconfig: 3 99 99
# description: Gerrit Code Review
# processname: gerrit
# ========================
# Configuration files:
#
# /etc/default/gerrit... | Shell |
#!/bin/sh
V=$(git describe HEAD)
case "$V" in
'')
echo >&2 "fatal: no annotated tags, cannot determine version"
exit 1
;;
*-g*)
echo >&2 "fatal: snapshot $V, cannot determine version"
exit 1
;;
v*)
echo "$V" | perl -lne 'print $1 if /^v(\d+\.\d+(?:\.\d+)?)/'
;;
esac
| 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
VALGRIND=$(which valgrind)
if [ -z "${VALGRIND}" ]; then
echo "missing valgrind"
exit 1
fi
if [ ! -d "tests" ]; then
echo "missing tests (tests/)"
exit 1
fi
VG_SUPPRESSIONS="vg_suppressions"
VG_ARGS="--suppressions=${VG_SUPPRESSIONS} \
--tool=memcheck --leak-check=full \
... | 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/bash
SUCCESS="true"
echo -en "Checking lib... "
find lib -name *.c | while read file; do
FILE=$(basename $file)
RESULT=$(grep "$FILE" lib/Makefile.am 2>/dev/null)
if [ -z "$RESULT" ]; then
echo
echo -en "$FILE is missing from build!" >&2
SUCCESS="false"
fi
done
if [ "$SU... | Shell |
#! /bin/sh
# Wrapper for compilers which do not understand `-c -o'.
scriptversion=2009-10-06.20; # 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 |
#!/usr/bin/env bash
if [ $# -eq 0 ]; then
if [[ ! -x src/xy ]]; then
echo "no build available (src/xy missing)"
exit 1
fi
ARGS="src/xy"
else
ARGS="$@"
fi
valgrind --tool=memcheck \
--leak-check=full \
--trace-children=yes \
--track-fds=yes \
${ARGS}
| Shell |
#!/usr/bin/env bash
if [ $# -eq 0 ]; then
if [[ ! -x src/xy ]]; then
echo "no build available (src/xy missing)"
exit 1
fi
ARGS="src/xy"
else
ARGS="$@"
fi
cgdb src/xy -- -d src -d lib
| Shell |
#!/usr/bin/env bash
#
# Build distributions and tests the archives.
#
echo -en "BUILDING DISTRIBUTIONS.... "
rm -f *tar*
./configure --enable-tests >/dev/null || exit 1
make $@ --silent dist-all >/dev/null || exit 1
DISTS=
for dist in *tar*; do
DISTS="${dist} ${DISTS}"
done
echo "OKAY."
echo -en "TESTING ARCHIVES.... | 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 2009 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... | Shell |
#!/bin/sh
echo "Please refer to networkcard, eth0...eth1 "
read device
./webmail $device >> log.txt 2>&1 &
sleep 1
mainprocess=$(ps -e | grep webmail)
if [ -z "$mainprocess" ]; then
echo "start webmail error, perhaps the argument passed to webmail is invalid. please try again"
exit 2
fi
if [ -e DeviceInfo.xm... | Shell |
#!/bin/sh
echo "Please refer to networkcard, eth0...eth1 "
read device
./webmail $device >> log.txt 2>&1 &
sleep 1
mainprocess=$(ps -e | grep webmail)
if [ -z "$mainprocess" ]; then
echo "start webmail error, perhaps the argument passed to webmail is invalid. please try again"
exit 2
fi
if [ -e DeviceInfo.xm... | Shell |
scp 172.16.2.44:/xy/*.txt ./
| Shell |
#!/bin/sh
source _locals.sh
javadoc -linkoffline http://developer.android.com/reference ${ANDROID_SDK}/docs/reference \
-sourcepath ../src \
-classpath ${ANDROID_SDK}/platforms/android-17/android.jar:${ANDROID_SDK}/tools/support/annotations.jar \
-d ../../out/javadoc/ \
-notree -nonavbar... | Shell |
#!/bin/bash
rm -r CMakeFiles/ CMakeCache.txt cmake_install.cmake Makefile
| Shell |
#!/bin/bash
../output/bin/mkfs.hlfs -l local:///tmp/test3env/ -f test3fs -s 67108864 -b 8192
| Shell |
#!/bin/bash
../output/bin/mkfs.hlfs -l local:///tmp/test3env/ -f test3fs -s 67108864 -b 8192
| Shell |
#!/bin/bash
rm -r CMakeFiles/ CMakeCache.txt cmake_install.cmake Makefile
| Shell |
#!/bin/bash
modprobe nbd
./bin/nbd-server 2000 local:///tmp/testenv
| Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.