code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/bash
# 打开apache.http调试信息
adb shell setprop log.tag.org.apache.http VERBOSE
adb shell setprop log.tag.org.apache.http.wire VERBOSE
adb shell setprop log.tag.org.apache.http.headers VERBOSE
echo "Enable Debug"
| Shell |
#! /bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5 (mit/util/scripts/install.sh).
#
# Copyright 1991 by the Massachusetts Institute of Technology
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without... | Shell |
#! /bin/sh
# From configure.in Revision: 1.4
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.13.20030927
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
#
# This configure script is free software; the Free Software Foundation
... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Last modified: 1994-03-25
# Public domain
#
errstatus=0
umask 022
for file in ${1+"$@"} ; do
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
shift
pat... | Shell |
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
timestamp='2005-06-02'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file sug... | Shell |
#! /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 Free Software Foundation, Inc.
timestamp='2005-05-27'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU Gene... | Shell |
#! /bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5 (mit/util/scripts/install.sh).
#
# Copyright 1991 by the Massachusetts Institute of Technology
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Last modified: 1994-03-25
# Public domain
#
errstatus=0
umask 022
for file in ${1+"$@"} ; do
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
shift
pat... | Shell |
#!/bin/sh
# $Id: run_test.sh,v 1.1 2007/05/10 01:17:54 dnovatchev Exp $
#
echo '** '`date`
for i in *.y
do
case $i in
test*)
echo "?? ignored $i"
;;
*)
root=`basename $i .y`
ROOT="test-$root"
../yacc -v -d -b $ROOT $i
for type in .output .tab.c .tab.h
do
REF=${root}${type}
CMP=${ROOT}${type}
i... | Shell |
#!/bin/sh
# $Id: run_test.sh,v 1.1 2007/05/10 01:17:54 dnovatchev Exp $
#
echo '** '`date`
for i in *.y
do
case $i in
test*)
echo "?? ignored $i"
;;
*)
root=`basename $i .y`
ROOT="test-$root"
../yacc -v -d -b $ROOT $i
for type in .output .tab.c .tab.h
do
REF=${root}${type}
CMP=${ROOT}${type}
i... | Shell |
#! /bin/bash -e
export CLASSPATH=".:/Library/Application Support/oxygen9.3/lib/saxon9.jar"
XSPEC=$1
if [ ! -f "$XSPEC" ]
then
echo File not found.
echo Usage:
echo xspec filename [coverage]
echo filename should specify an XSpec document
echo if coverage is specified, outputs test coverage re... | Shell |
#! /bin/bash -e
export CLASSPATH=".:/Library/Application Support/oxygen9.3/lib/saxon9.jar"
XSPEC=$1
if [ ! -f "$XSPEC" ]
then
echo File not found.
echo Usage:
echo xspec filename [coverage]
echo filename should specify an XSpec document
echo if coverage is specified, outputs test coverage re... | Shell |
tagdoc=$1TagDoc.xml.xq
taglib=$1TagLib.xstag.xq
calldoc=$1CallDoc.xml.xq
calllib=$1CallLib.xstag.xq
sed 's/<?xml version="1.0" encoding="UTF-8"?>//g' $tagdoc > $tagdoc.temp
sed 's/<?xml version="1.0" encoding="UTF-8"?>//g' $taglib > $taglib.temp
sed 's/<?xml version="1.0" encoding="UTF-8"?>//g' $calldoc > $calldoc.tem... | Shell |
#!/bin/bash
v1='src\/'; v2='TagDoc.xml'
for i in `ls src/*TagDoc.xml`
do
val=`echo $i | sed -e "s/.*${v1}//;s/${v2}.*//"`
echo "Processing$val"
java net.sf.saxon.Query -o:out/${val}TagDoc.xq -q:../xquery/impl/doc2xq-simple.xq INPUT=../../test/src/${val}TagDoc.xml
done
| Shell |
#!/bin/bash
v1='src\/'; v2='TagDoc.xml'
for i in `ls src/*TagDoc.xml`
do
val=`echo $i | sed -e "s/.*${v1}//;s/${v2}.*//"`
echo "Processing$val"
java net.sf.saxon.Query -o:out/${val}TagDoc.xq -q:../xquery/impl/doc2xq-simple.xq INPUT=../../test/src/${val}TagDoc.xml
done
| Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2005-07-09.11
# Copyright (C) 1999, 2000, 2003, 2004, 2005 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 License as pub... | Shell |
#!/bin/sh
# 1st parameter is absolute path to component source directory
# 2nd parameter is absolute path to component build directory
# 3rd parameter is path to Python QA directory
@top_builddir@/run_tests.sh \
@abs_top_srcdir@/gr-radio-astronomy \
@abs_top_builddir@/gr-radio-astronomy \
@srcdir@
| Shell |
#!/bin/sh
# 1st parameter is absolute path to component source directory
# 2nd parameter is absolute path to component build directory
# 3rd parameter is path to Python QA directory
@top_builddir@/run_tests.sh \
@abs_top_srcdir@/gr-radio-astronomy \
@abs_top_builddir@/gr-radio-astronomy \
@srcdir@
| Shell |
#!/bin/sh
# 1st parameter is absolute path to component source directory
# 2nd parameter is absolute path to component build directory
# 3rd parameter is path to Python QA directory
@top_builddir@/run_tests.sh \
@abs_top_srcdir@/gr-audio-osx \
@abs_top_builddir@/gr-audio-osx \
@srcdir@
| Shell |
#!/bin/sh
# 1st parameter is absolute path to component source directory
# 2nd parameter is absolute path to component build directory
# 3rd parameter is path to Python QA directory
@top_builddir@/run_tests.sh \
@abs_top_srcdir@/gr-audio-osx \
@abs_top_builddir@/gr-audio-osx \
@srcdir@
| Shell |
#!/bin/sh
# 1st parameter is absolute path to component source directory
# 2nd parameter is absolute path to component build directory
# 3rd parameter is path to Python QA directory
@top_builddir@/run_tests.sh \
@abs_top_srcdir@/gr-trellis \
@abs_top_builddir@/gr-trellis \
@srcdir@
| Shell |
#!/bin/sh
# 1st parameter is absolute path to component source directory
# 2nd parameter is absolute path to component build directory
# 3rd parameter is path to Python QA directory
@top_builddir@/run_tests.sh \
@abs_top_srcdir@/gr-trellis \
@abs_top_builddir@/gr-trellis \
@srcdir@
| Shell |
#!/bin/sh
# 1st parameter is absolute path to component source directory
# 2nd parameter is absolute path to component build directory
# 3rd parameter is path to Python QA directory
@top_builddir@/run_tests.sh \
@abs_top_srcdir@/gr-audio-portaudio \
@abs_top_builddir@/gr-audio-portaudio \
@srcdir@
| Shell |
#!/bin/sh
# 1st parameter is absolute path to component source directory
# 2nd parameter is absolute path to component build directory
# 3rd parameter is path to Python QA directory
@top_builddir@/run_tests.sh \
@abs_top_srcdir@/gr-audio-portaudio \
@abs_top_builddir@/gr-audio-portaudio \
@srcdir@
| Shell |
#!/bin/sh
# 1st parameter is absolute path to component source directory
# 2nd parameter is absolute path to component build directory
# 3rd parameter is path to Python QA directory
@top_builddir@/run_tests.sh \
@abs_top_srcdir@/gr-audio-jack \
@abs_top_builddir@/gr-audio-jack \
@srcdir@
| Shell |
#!/bin/sh
# 1st parameter is absolute path to component source directory
# 2nd parameter is absolute path to component build directory
# 3rd parameter is path to Python QA directory
@top_builddir@/run_tests.sh \
@abs_top_srcdir@/gr-audio-jack \
@abs_top_builddir@/gr-audio-jack \
@srcdir@
| Shell |
# ltmain.sh - Provide generalized library-building support services.
# NOTE: Changing this file will not affect anything until you rerun configure.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005
# Free Software Foundation, Inc.
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# Th... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2005-05-14.22
# 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
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2005-07-09.11
# Copyright (C) 1999, 2000, 2003, 2004, 2005 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 License as pub... | Shell |
#!/bin/sh
# First argument is absolute path to top of component source directory
# Second argument is absolute path to top of component build directory
# Third argument is component source directory for qa tests
# Where to find my swig generated shared library
mylibdir=$2/src:$2/src/.libs:$2/src/lib:$2/src/lib/.libs
... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2005-06-08.21
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005
# Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribu... | Shell |
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
# Inc.
timestamp='2006-09-20'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in thi... | Shell |
#!/bin/sh
# Copyright 2001,2005 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
# GNU Radio 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, or (at your option)
# any la... | Shell |
#! /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=2005-05-14.22
# 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
# py-compile - Compile a Python program
scriptversion=2005-05-14.22
# Copyright (C) 2000, 2001, 2003, 2004, 2005 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 License as published by
# the Free Software ... | Shell |
#!/bin/sh
# 1st parameter is absolute path to component source directory
# 2nd parameter is absolute path to component build directory
# 3rd parameter is path to Python QA directory
@top_builddir@/run_tests.sh \
@abs_top_srcdir@/gr-audio-windows \
@abs_top_builddir@/gr-audio-windows \
@srcdir@
| Shell |
#!/bin/sh
# 1st parameter is absolute path to component source directory
# 2nd parameter is absolute path to component build directory
# 3rd parameter is path to Python QA directory
@top_builddir@/run_tests.sh \
@abs_top_srcdir@/gr-audio-windows \
@abs_top_builddir@/gr-audio-windows \
@srcdir@
| Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2005-06-08.21
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005
# Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribu... | Shell |
#!/bin/sh
# First argument is absolute path to top of component source directory
# Second argument is absolute path to top of component build directory
# Third argument is component source directory for qa tests
# Where to find my swig generated shared library
mylibdir=$2/src:$2/src/.libs:$2/src/lib:$2/src/lib/.libs
... | Shell |
#!/bin/sh
# 1st parameter is absolute path to component source directory
# 2nd parameter is absolute path to component build directory
# 3rd parameter is path to Python QA directory
@top_builddir@/run_tests.sh \
@abs_top_srcdir@/gr-audio-alsa \
@abs_top_builddir@/gr-audio-alsa \
@srcdir@
| Shell |
#!/bin/sh
# 1st parameter is absolute path to component source directory
# 2nd parameter is absolute path to component build directory
# 3rd parameter is path to Python QA directory
@top_builddir@/run_tests.sh \
@abs_top_srcdir@/gr-audio-alsa \
@abs_top_builddir@/gr-audio-alsa \
@srcdir@
| Shell |
#!/bin/sh
# 1st parameter is absolute path to component source directory
# 2nd parameter is absolute path to component build directory
# 3rd parameter is path to Python QA directory
# Note: calling master run_tests.sh in gnuradio core is not strictly
# correct, as it will result in a partially bogus PYTHONPATH, but i... | Shell |
#!/bin/sh
# 1st parameter is absolute path to component source directory
# 2nd parameter is absolute path to component build directory
# 3rd parameter is path to Python QA directory
# Note: calling master run_tests.sh in gnuradio core is not strictly
# correct, as it will result in a partially bogus PYTHONPATH, but i... | Shell |
#!/bin/sh
# 1st parameter is absolute path to component source directory
# 2nd parameter is absolute path to component build directory
# 3rd parameter is path to Python QA directory
# For OS/X
DYLD_LIBRARY_PATH=@abs_top_builddir@/usrp/host/lib/:@abs_top_builddir@/usrp/host/lib/.libs:$DYLD_LIBRARY_PATH
export DYLD_LIB... | Shell |
#!/bin/sh
# 1st parameter is absolute path to component source directory
# 2nd parameter is absolute path to component build directory
# 3rd parameter is path to Python QA directory
# For OS/X
DYLD_LIBRARY_PATH=@abs_top_builddir@/usrp/host/lib/:@abs_top_builddir@/usrp/host/lib/.libs:$DYLD_LIBRARY_PATH
export DYLD_LIB... | Shell |
#!/bin/sh
# py-compile - Compile a Python program
scriptversion=2005-05-14.22
# Copyright (C) 2000, 2001, 2003, 2004, 2005 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 License as published by
# the Free Software ... | Shell |
#!/bin/sh
# Copyright 2001,2005 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
# GNU Radio 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, or (at your option)
# any la... | Shell |
#!/bin/sh
# 1st parameter is absolute path to component source directory
# 2nd parameter is absolute path to component build directory
# 3rd parameter is path to Python QA directory
@top_builddir@/run_tests.sh \
@abs_top_srcdir@/gr-gsm-fr-vocoder \
@abs_top_builddir@/gr-gsm-fr-vocoder \
@srcdir@
| Shell |
#!/bin/sh
# 1st parameter is absolute path to component source directory
# 2nd parameter is absolute path to component build directory
# 3rd parameter is path to Python QA directory
@top_builddir@/run_tests.sh \
@abs_top_srcdir@/gr-gsm-fr-vocoder \
@abs_top_builddir@/gr-gsm-fr-vocoder \
@srcdir@
| Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2006-10-15.18
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 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 Licens... | Shell |
# ltmain.sh - Provide generalized library-building support services.
# NOTE: Changing this file will not affect anything until you rerun configure.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005
# Free Software Foundation, Inc.
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# 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
# All this strange PYTHONPATH manipulation is required to run our
# tests using our just built shared library and swig-generated python
# code prior to installation.
# build tree == src tree unless you're doing a VPATH build.
# If you don't know what a VPATH build is, you're not doing one. Relax...
pref... | Shell |
#!/bin/sh
# All this strange PYTHONPATH manipulation is required to run our
# tests using our just built shared library and swig-generated python
# code prior to installation.
# build tree == src tree unless you're doing a VPATH build.
# If you don't know what a VPATH build is, you're not doing one. Relax...
pref... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2006-10-15.18
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 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 Licens... | Shell |
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
# Inc.
timestamp='2006-09-20'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in thi... | Shell |
#!/bin/sh
# Copyright 2001,2005 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
# GNU Radio 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, or (at your option)
# any la... | Shell |
#! /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
# py-compile - Compile a Python program
scriptversion=2005-05-14.22
# Copyright (C) 2000, 2001, 2003, 2004, 2005 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 License as published by
# the Free Software ... | Shell |
#!/bin/sh
# py-compile - Compile a Python program
scriptversion=2005-05-14.22
# Copyright (C) 2000, 2001, 2003, 2004, 2005 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 License as published by
# the Free Software ... | Shell |
#!/bin/sh
# Copyright 2001,2005 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
# GNU Radio 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, or (at your option)
# any la... | Shell |
#!/bin/sh
# 1st parameter is absolute path to component source directory
# 2nd parameter is absolute path to component build directory
# 3rd parameter is path to Python QA directory
@top_builddir@/run_tests.sh \
@abs_top_srcdir@/gr-lpc-vocoder \
@abs_top_builddir@/gr-lpc-vocoder \
@srcdir@
| Shell |
#!/bin/sh
# 1st parameter is absolute path to component source directory
# 2nd parameter is absolute path to component build directory
# 3rd parameter is path to Python QA directory
@top_builddir@/run_tests.sh \
@abs_top_srcdir@/gr-lpc-vocoder \
@abs_top_builddir@/gr-lpc-vocoder \
@srcdir@
| Shell |
#!/bin/sh
# 1st parameter is absolute path to component source directory
# 2nd parameter is absolute path to component build directory
# 3rd parameter is path to Python QA directory
@top_builddir@/run_tests.sh \
@abs_top_srcdir@/gr-video-sdl \
@abs_top_builddir@/gr-video-sdl \
@srcdir@
| Shell |
#!/bin/sh
# 1st parameter is absolute path to component source directory
# 2nd parameter is absolute path to component build directory
# 3rd parameter is path to Python QA directory
@top_builddir@/run_tests.sh \
@abs_top_srcdir@/gr-video-sdl \
@abs_top_builddir@/gr-video-sdl \
@srcdir@
| Shell |
#!/bin/sh
# 1st parameter is absolute path to component source directory
# 2nd parameter is absolute path to component build directory
# 3rd parameter is path to Python QA directory
@top_builddir@/run_tests.sh \
@abs_top_srcdir@/gr-audio-oss \
@abs_top_builddir@/gr-audio-oss \
@srcdir@
| Shell |
#!/bin/sh
# 1st parameter is absolute path to component source directory
# 2nd parameter is absolute path to component build directory
# 3rd parameter is path to Python QA directory
@top_builddir@/run_tests.sh \
@abs_top_srcdir@/gr-audio-oss \
@abs_top_builddir@/gr-audio-oss \
@srcdir@
| 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/sh
autoreconf -i -f
| Shell |
#!/bin/sh
autoreconf -i -f
| Shell |
#!/bin/sh
PATCHLIST=patchlist.conf
DEST=docs/changes/
BASEREV="none"
mkdir -p $DEST
for TARGETREV in $(cat $PATCHLIST); do
if [ $BASEREV = "none" ]
then
BASEREV=$TARGETREV
else
hg diff -r $BASEREV -r $TARGETREV cstrike/cfg/* cstrike/addons/sourcemod/* > $DEST/r$TARGETREV.diff
BAS... | Shell |
#!/bin/sh
SYNTAX="Usage: $0 <base rev> <target rev>"
if [ "$1" ]
then
BASEREV="$1"
if [ "$2" ]
then
TARGETREV="$2"
else
echo "Missing target revision. $SYNTAX"
exit 1
fi
else
echo "$SYNTAX"
exit 1
fi
hg diff -r $BASEREV -r $TARGETREV cstrike/cfg/* cstrike/addo... | Shell |
#!/bin/sh
# Note: Copy this script to the source code repository and execute it
# from that location.
# Program for printing date.
ZR_DATEPATH='date'
ZR_UNOFFICIAL=false
if [ "$1" ]
then
if [ "$1" = "--unofficial" ]
then
ZR_UNOFFICIAL=true
else
ZR_DATEPATH=$1
fi
fi
ZR_VERSION_... | Shell |
#!/bin/sh
BUILD_DIR=build
SRC=src/testsuite/zr
SM_INCLUDE=env/include
ZR_INCLUDE=src/include
SPCOMP=env/linux/bin/spcomp-1.3.4
mkdir -p $BUILD_DIR
$SPCOMP -i$SM_INCLUDE -i$ZR_INCLUDE -o$BUILD_DIR/respawnapitest.smx $SRC/respawnapitest.sp
$SPCOMP -i$SM_INCLUDE -i$ZR_INCLUDE -o$BUILD_DIR/infectapitest.smx $SRC/infecta... | Shell |
#!/bin/sh
cd src/
echo "$(hg tip)\n"
LINES_MAIN=`wc *.sp -l | cut -d ' ' -f1`
LINES_OTHER=`wc zr/*.* -l | tail -n1 | sed 's/^ *\(.*\) *$/\1/' | cut -d ' ' -f1`
LINES_PLAYERCLASSES=`wc zr/playerclasses/*.* -l | tail -n1 | sed 's/^ *\(.*\) *$/\1/' | cut -d ' ' -f1`
LINES_SOUNDEFFECTS=`wc zr/soundeffects/*.* -l | tail ... | Shell |
#!/bin/sh
VERSION="zombiereloaded-3.1"
REVISION=$(hg id -n)
SYNTAX="Usage: $0 [--patch <base rev>]"
# Source paths
BUILDDIR=build
PLUGINFILE=zombiereloaded.smx
PLUGINFILES="cstrike/*"
DOCS="docs/*"
SOURCEDIR="src/*"
# Destination paths
RELEASEDIR=release
SOURCE_DEST=$RELEASEDIR/addons/sourcemod/scripting
DOCS_DEST=... | Shell |
#!/bin/sh
rm -f config.cache
rm -f acconfig.h
aclocal
autoconf
autoheader
automake -a
exit
| Shell |
#!/bin/sh
rm -f config.cache
rm -f acconfig.h
aclocal
autoconf
autoheader
automake -a
exit
| Shell |
#!/bin/bash
# 打开apache.http调试信息
adb shell setprop log.tag.org.apache.http VERBOSE
adb shell setprop log.tag.org.apache.http.wire VERBOSE
adb shell setprop log.tag.org.apache.http.headers VERBOSE
echo "Enable Debug"
| Shell |
#!/bin/bash
# 打开apache.http调试信息
adb shell setprop log.tag.org.apache.http VERBOSE
adb shell setprop log.tag.org.apache.http.wire VERBOSE
adb shell setprop log.tag.org.apache.http.headers VERBOSE
echo "Enable Debug"
| Shell |
#!/bin/sh -
#
# Copyright (c) 1987 Regents of the University of California.
# All rights reserved.
#
# Redistribution and use in source and binary forms are permitted
# provided that the above copyright notice and this paragraph are
# duplicated in all such forms and that any documentation,
# advertising materials, and... | Shell |
#!/bin/sh
#
# $TOG: mdepend.cpp /main/13 1997/06/20 21:12:18 kaleb $
#
# Do the equivalent of the 'makedepend' program, but do it right.
#
# Usage:
#
# makedepend [cpp-flags] [-w width] [-s magic-string] [-f makefile]
# [-o object-suffix]
#
# Notes:
#
# The C compiler used can be overridden with the environment
# var... | Shell |
#!/bin/sh -
#
# Copyright (c) 1987 Regents of the University of California.
# All rights reserved.
#
# Redistribution and use in source and binary forms are permitted
# provided that the above copyright notice and this paragraph are
# duplicated in all such forms and that any documentation,
# advertising materials, and... | Shell |
#!/bin/sh
#
# $TOG: mdepend.cpp /main/13 1997/06/20 21:12:18 kaleb $
#
# Do the equivalent of the 'makedepend' program, but do it right.
#
# Usage:
#
# makedepend [cpp-flags] [-w width] [-s magic-string] [-f makefile]
# [-o object-suffix]
#
# Notes:
#
# The C compiler used can be overridden with the environment
# var... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2012, Cake Software Foundation, Inc.
#
# Licensed under The MIT Lic... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2012, Cake Software Foundation, Inc.
#
# Licensed under The MIT Lic... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2012, Cake Software Foundation, Inc.
#
# Licensed under The MIT Lic... | Shell |
:
# this file should be run from Cygnus BASH
# file to build ttf2pt1 with Cygnus GCC on Windows
# don't forget to copy CYGWIN1.DLL into C:\WINDOWS
gcc -o ttf2pt1 -DWINDOWS ttf2pt1.c pt1.c t1asm.c ttf.c -lm
gcc -o t1asm -DWINDOWS -DSTANDALONE t1asm.c
| Shell |
#!/bin/sh
#
# Copyright (c) 2002 SuSE Linux AG, Nuernberg, Germany. All rights reserved.
#
# Author: Mike Fabian <mfabian@suse.de>, 2002
#
TYPE1_DIR=$1
if [ -z $TYPE1_DIR ] ; then
TYPE1_DIR=/usr/share/texmf/fonts/type1/cjk-latex/
fi
CJK_LATEX_TYPE1_MAP_FILE=/var/lib/texmf/dvips/config/cjk-latex.map
echo "creati... | Shell |
#!/bin/sh
#
# Copyright (c) 2002 SuSE Linux AG, Nuernberg, Germany. All rights reserved.
#
# Author: Mike Fabian <mfabian@suse.de>, 2002
#
TYPE1_DIR=$1
if [ -z $TYPE1_DIR ] ; then
TYPE1_DIR=/usr/share/texmf/fonts/type1/cjk-latex/
fi
CJK_LATEX_TYPE1_MAP_FILE=/var/lib/texmf/dvips/config/cjk-latex.map
echo "creati... | Shell |
#!/bin/sh
if [ $# != 2 ]
then
echo "Usage: 'nspr # file.ps' where # is 2, 5, or 1251"
exit
else
enc=$1
shift
fi
case ${enc} in
1250|1251)
charset=windows
;;
*)
charset=iso8859
;;
esac
sed "s/Times-Roman/Timesnew-Roman-${charset}-${enc}/g;\
s/Times-Italic/Time... | Shell |
#!/bin/sh
CONFLOCAL=$HOME/.netscape/psfonts.cf
CONFGLOBAL=/usr/local/etc/nspsfonts.cf
if [ -r "$CONFLOCAL" ]
then
CONF="$CONFLOCAL"
else
CONF="$CONFGLOBAL"
fi
grep -v "^#" <$CONF | grep -v "^$" | while :
do {
read nsname base afm pfa x
[ -z "$nsname" ] && break;
fname=`awk '/^FontName/ {print $2;}' <$base$afm`
... | Shell |
#!/bin/sh
if uname -s | grep -i bsd >/dev/null
then
LPR=lpr
else
LPR=lp
fi
nsfilter | $LPR "$@"
| Shell |
#!/bin/sh
NDIR=$HOME/.netscape
PFILE=$NDIR/preferences.js
CFFILE=$NDIR/fontsz.cf
TMPFILE=$NDIR/fontsz.sed
die() {
echo "notscape: can't $*" >&2
exit 1
}
[ -r $CFFILE ] && {
awk '{ printf("/intl.font_spec_list/s/-[^-]*-\\([^-]*\\)-%s,/-%s-\\1-%s,/\n", \
$1, $2, $1); }' <$CFFILE >$TMPFILE
cp $PFILE $PFILE.old || d... | Shell |
#!/bin/sh
CONFLOCAL=$HOME/.netscape/psfonts.cf
CONFGLOBAL=/usr/local/etc/nspsfonts.cf
if [ -r "$CONFLOCAL" ]
then
CONF="$CONFLOCAL"
else
CONF="$CONFGLOBAL"
fi
grep -v "^#" <$CONF | grep -v "^$" | while :
do {
read nsname base afm pfa x
[ -z "$nsname" ] && break;
fname=`awk '/^FontName/ {print $2;}' <$base$afm`
... | Shell |
#!/bin/sh
NDIR=$HOME/.netscape
PFILE=$NDIR/preferences.js
CFFILE=$NDIR/fontsz.cf
TMPFILE=$NDIR/fontsz.sed
die() {
echo "notscape: can't $*" >&2
exit 1
}
[ -r $CFFILE ] && {
awk '{ printf("/intl.font_spec_list/s/-[^-]*-\\([^-]*\\)-%s,/-%s-\\1-%s,/\n", \
$1, $2, $1); }' <$CFFILE >$TMPFILE
cp $PFILE $PFILE.old || d... | Shell |
#!/bin/sh
if uname -s | grep -i bsd >/dev/null
then
LPR=lpr
else
LPR=lp
fi
nsfilter | $LPR "$@"
| Shell |
#!/bin/sh
if [ $# != 2 ]
then
echo "Usage: 'nspr # file.ps' where # is 2, 5, or 1251"
exit
else
enc=$1
shift
fi
case ${enc} in
1250|1251)
charset=windows
;;
*)
charset=iso8859
;;
esac
sed "s/Times-Roman/Timesnew-Roman-${charset}-${enc}/g;\
s/Times-Italic/Time... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.