code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/bash
set -e
echo -n "Enter the version for this release: "
read ver
if [ ! $ver ]; then
echo "Invalid version."
exit
fi
name="select2"
js="$name.js"
mini="$name.min.js"
css="$name.css"
release="$name-$ver"
tag="$ver"
branch="build-$ver"
curbranch=`git branch | grep "*" | sed "s/* //"`
timestamp=$(date)
to... | Shell |
#!/bin/bash
set -e
echo -n "Enter the version for this release: "
read ver
if [ ! $ver ]; then
echo "Invalid version."
exit
fi
name="select2"
js="$name.js"
mini="$name.min.js"
css="$name.css"
release="$name-$ver"
tag="$ver"
branch="build-$ver"
curbranch=`git branch | grep "*" | sed "s/* //"`
timestamp=$(date)
to... | Shell |
#!/bin/bash
set -e
echo -n "Enter the version for this release: "
read ver
if [ ! $ver ]; then
echo "Invalid version."
exit
fi
name="select2"
js="$name.js"
mini="$name.min.js"
css="$name.css"
release="$name-$ver"
tag="$ver"
branch="build-$ver"
curbranch=`git branch | grep "*" | sed "s/* //"`
timestamp=$(date)
to... | Shell |
#!/bin/sh
## -- OPEN2X USER SETTINGS
## OPEN2X - This should point to the root of your tool-chain {i.e. folder above the BIN dir}
OPEN2X=/opt/openwiz/toolchain/arm-openwiz-linux-gnu
## HOST and TARGET - These should be the canonical tool names of your tool.
## For the sake of this script HOST and TARGET should be t... | Shell |
#!/bin/sh
## -- OPEN2X USER SETTINGS
## OPEN2X - This should point to the root of your tool-chain {i.e. folder above the BIN dir}
OPEN2X=/opt/openwiz/toolchain/arm-openwiz-linux-gnu
## HOST and TARGET - These should be the canonical tool names of your tool.
## For the sake of this script HOST and TARGET should be t... | Shell |
javah -classpath ../bin/ com.seleuco.xpectrum.Emulator
| Shell |
#!/bin/sh
## -- OPEN2X USER SETTINGS
## OPEN2X - This should point to the root of your tool-chain {i.e. folder above the BIN dir}
OPEN2X=/opt/openwiz/toolchain/arm-openwiz-linux-gnu
## HOST and TARGET - These should be the canonical tool names of your tool.
## For the sake of this script HOST and TARGET should be t... | Shell |
#!/bin/sh
## -- OPEN2X USER SETTINGS
## OPEN2X - This should point to the root of your tool-chain {i.e. folder above the BIN dir}
OPEN2X=/opt/openwiz/toolchain/arm-openwiz-linux-gnu
## HOST and TARGET - These should be the canonical tool names of your tool.
## For the sake of this script HOST and TARGET should be t... | Shell |
#!/bin/sh
## -- OPEN2X USER SETTINGS
## OPEN2X - This should point to the root of your tool-chain {i.e. folder above the BIN dir}
OPEN2X=/opt/openwiz/toolchain/arm-openwiz-linux-gnu
## HOST and TARGET - These should be the canonical tool names of your tool.
## For the sake of this script HOST and TARGET should be t... | Shell |
#!/bin/sh
## -- OPEN2X USER SETTINGS
## OPEN2X - This should point to the root of your tool-chain {i.e. folder above the BIN dir}
OPEN2X=/opt/openwiz/toolchain/arm-openwiz-linux-gnu
## HOST and TARGET - These should be the canonical tool names of your tool.
## For the sake of this script HOST and TARGET should be t... | Shell |
javah -classpath ../bin/ com.seleuco.xpectrum.Emulator
| Shell |
#!/bin/sh
## -- OPEN2X USER SETTINGS
## OPEN2X - This should point to the root of your tool-chain {i.e. folder above the BIN dir}
OPEN2X=/opt/openwiz/toolchain/arm-openwiz-linux-gnu
## HOST and TARGET - These should be the canonical tool names of your tool.
## For the sake of this script HOST and TARGET should be t... | Shell |
#!/bin/sh
## -- OPEN2X USER SETTINGS
## OPEN2X - This should point to the root of your tool-chain {i.e. folder above the BIN dir}
OPEN2X=/opt/openwiz/toolchain/arm-openwiz-linux-gnu
## HOST and TARGET - These should be the canonical tool names of your tool.
## For the sake of this script HOST and TARGET should be t... | Shell |
javah -classpath ../bin/ com.seleuco.xpectrum.Emulator
| Shell |
#!/bin/sh
## -- OPEN2X USER SETTINGS
## OPEN2X - This should point to the root of your tool-chain {i.e. folder above the BIN dir}
OPEN2X=/opt/openwiz/toolchain/arm-openwiz-linux-gnu
## HOST and TARGET - These should be the canonical tool names of your tool.
## For the sake of this script HOST and TARGET should be t... | Shell |
#!/bin/sh
## -- OPEN2X USER SETTINGS
## OPEN2X - This should point to the root of your tool-chain {i.e. folder above the BIN dir}
OPEN2X=/opt/openwiz/toolchain/arm-openwiz-linux-gnu
## HOST and TARGET - These should be the canonical tool names of your tool.
## For the sake of this script HOST and TARGET should be t... | Shell |
#!/bin/sh
## -- OPEN2X USER SETTINGS
## OPEN2X - This should point to the root of your tool-chain {i.e. folder above the BIN dir}
OPEN2X=/opt/openwiz/toolchain/arm-openwiz-linux-gnu
## HOST and TARGET - These should be the canonical tool names of your tool.
## For the sake of this script HOST and TARGET should be t... | Shell |
#!/bin/sh
## -- OPEN2X USER SETTINGS
## OPEN2X - This should point to the root of your tool-chain {i.e. folder above the BIN dir}
OPEN2X=/opt/openwiz/toolchain/arm-openwiz-linux-gnu
## HOST and TARGET - These should be the canonical tool names of your tool.
## For the sake of this script HOST and TARGET should be t... | Shell |
javah -classpath ../bin/ com.seleuco.xpectrum.Emulator
| Shell |
#!/bin/sh
## -- OPEN2X USER SETTINGS
## OPEN2X - This should point to the root of your tool-chain {i.e. folder above the BIN dir}
OPEN2X=/opt/openwiz/toolchain/arm-openwiz-linux-gnu
## HOST and TARGET - These should be the canonical tool names of your tool.
## For the sake of this script HOST and TARGET should be t... | Shell |
#!/bin/sh
## -- OPEN2X USER SETTINGS
## OPEN2X - This should point to the root of your tool-chain {i.e. folder above the BIN dir}
OPEN2X=/opt/openwiz/toolchain/arm-openwiz-linux-gnu
## HOST and TARGET - These should be the canonical tool names of your tool.
## For the sake of this script HOST and TARGET should be t... | Shell |
javah -classpath ../bin/ com.seleuco.xpectrum.Emulator
| Shell |
#!/bin/sh
## -- OPEN2X USER SETTINGS
## OPEN2X - This should point to the root of your tool-chain {i.e. folder above the BIN dir}
OPEN2X=/opt/openwiz/toolchain/arm-openwiz-linux-gnu
## HOST and TARGET - These should be the canonical tool names of your tool.
## For the sake of this script HOST and TARGET should be t... | Shell |
#!/bin/sh
## -- OPEN2X USER SETTINGS
## OPEN2X - This should point to the root of your tool-chain {i.e. folder above the BIN dir}
OPEN2X=/opt/openwiz/toolchain/arm-openwiz-linux-gnu
## HOST and TARGET - These should be the canonical tool names of your tool.
## For the sake of this script HOST and TARGET should be t... | Shell |
javah -classpath ../bin/ com.seleuco.xpectrum.Emulator
| Shell |
#!/bin/bash
Plugin=${PWD##*/}
Dir=${PWD%/*}
Target=xpt
echo export "$Plugin" to "$Dir" "....."
# vim -S genfile.vim
v=`grep VERSION plugin/xptemplate.vim | awk '{print $3}'`
cd $Dir
svn export $Plugin $Target
svn export $Plugin/../xpt.ftp.svn/trunk/ftplugin $Target/ftplugin
cd $Target
rm -rf syntax/vim.vim xp... | Shell |
#!/bin/bash
Plugin=${PWD##*/}
Dir=${PWD%/*}
Target=xpt
echo export "$Plugin" to "$Dir" "....."
# vim -S genfile.vim
v=`grep VERSION plugin/xptemplate.vim | awk '{print $3}'`
cd $Dir
svn export $Plugin $Target
svn export $Plugin/../xpt.ftp.svn/trunk/ftplugin $Target/ftplugin
cd $Target
rm -rf syntax/vim.vim xp... | Shell |
#!/bin/bash
CurrentDir=${PWD##*/}
ParentDir=${PWD%/*}
DistDir=$ParentDir/dist
echo export "$CurrentDir" to "$DistDir"
# exit
# vim -S genfile.vim
v=`grep VERSION plugin/xptemplate.vim | awk '{print $3}'`
cd $ParentDir
svn export --force $CurrentDir $DistDir
# svn export $CurrentDir/../xpt.ftp.svn/trunk/ftplugi... | Shell |
#!/bin/bash
CurrentDir=${PWD##*/}
ParentDir=${PWD%/*}
DistDir=$ParentDir/dist
echo export "$CurrentDir" to "$DistDir"
# exit
# vim -S genfile.vim
v=`grep VERSION plugin/xptemplate.vim | awk '{print $3}'`
cd $ParentDir
svn export --force $CurrentDir $DistDir
# svn export $CurrentDir/../xpt.ftp.svn/trunk/ftplugi... | Shell |
#!/bin/bash
CurrentDir=${PWD##*/}
ParentDir=${PWD%/*}
DistDir=$ParentDir/dist
echo export "$CurrentDir" to "$DistDir"
# exit
v=`grep VERSION plugin/xptemplate.vim | awk '{print $3}'`
# remove old files those may not exist in src
cd $DistDir
find -name "*.vim" | xargs rm -f
cd $ParentDir
svn export --force $Cu... | Shell |
#!/bin/bash
CurrentDir=${PWD##*/}
ParentDir=${PWD%/*}
DistDir=$ParentDir/dist
echo export "$CurrentDir" to "$DistDir"
# exit
v=`grep VERSION plugin/xptemplate.vim | awk '{print $3}'`
# remove old files those may not exist in src
cd $DistDir
find -name "*.vim" | xargs rm -f
cd $ParentDir
svn export --force $Cu... | Shell |
#!/bin/sh
. ./xpt.testall.bat
| Shell |
#!/bin/bash
CurrentDir=${PWD##*/}
ParentDir=${PWD%/*}
DistDir=$ParentDir/dist
vim -c 'helptags doc|qa'
VCS=svn
if [ -d ../.git ]; then
VCS=git
if git log -1 | fgrep 'git-svn-id'; then
VCS=gitsvn
fi
fi
echo "VCS=$VCS"
ver=`grep VERSION plugin/xptemplate.vim | awk '{print $3}'`
rev=r
if ... | Shell |
#!/bin/sh
. ./xpt.testall.bat
| Shell |
#!/bin/bash
CurrentDir=${PWD##*/}
ParentDir=${PWD%/*}
DistDir=$ParentDir/dist
vim -c 'helptags doc|qa'
VCS=svn
if [ -d ../.git ]; then
VCS=git
if git log -1 | fgrep 'git-svn-id'; then
VCS=gitsvn
fi
fi
echo "VCS=$VCS"
ver=`grep VERSION plugin/xptemplate.vim | awk '{print $3}'`
rev=r
if ... | Shell |
#!/bin/sh
. ./test.bat
| Shell |
#!/bin/bash
case $1 in
gentest)
cd ftplugin/
langs=`ls -d * | grep -v "^_" | awk '{printf($1" ");}'`
cd -
echo "vim -c \"XPTtestAll $langs\"" >test.bat
exit
;;
tosvn)
rsync -Rrvc --delete \
--exclude=.git/ --exclude=.svn/ \
--excl... | Shell |
#!/bin/sh
. ./test.bat
| Shell |
#!/bin/bash
case $1 in
gentest)
cd ftplugin/
langs=`ls -d * | grep -v "^_" | awk '{printf($1" ");}'`
cd -
echo "vim -c \"XPTtestAll $langs\"" >test.bat
exit
;;
tosvn)
rsync -Rrvc --delete \
--exclude=.git/ --exclude=.svn/ \
--excl... | Shell |
xml2rfc xrest-0.1.xml xrest-0.1.html | 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
# This is Open Source OS ---> Kos
#
#
#
echo "###################################"
| Shell |
#!/bin/bash
set -e # fail early
function die() {
echo "Error: " $*
echo
echo "USage: $0 [dest]"
exit 1
}
shopt -s extglob # extended glob pattern
function process() {
SRC="$1"
BASE="${SRC/.apk/}"
DATE=`date +%Y%m%d`
N=1
while /bin/true; do
EXT=`python -c "print chr(96+$N)"`
DEST="${BASE}_${DATE... | Shell |
# adjust paths below and then run
# . ./android-gcc-setup.sh
# to setup build environment
export NDK=$HOME/fun/android/android-ndk
HOST_TYPE=darwin-x86
ANDROID_VERSION=3
LIBDIR=$NDK/build/platforms/android-$ANDROID_VERSION/arch-arm/usr/lib
export CFLAGS="-march=armv5te -mtune=xscale"
export CC=$NDK/toolchains/arm-ea... | Shell |
#!/bin/sh
SCRIPTDIR=`dirname $0`
. $SCRIPTDIR/android-gcc-setup.sh
cd $SCRIPTDIR/..
if [ ! -d "deps" ]
then
mkdir -p deps
fi
cd deps
DEPSDIR=$PWD
JNIDIR=$DEPSDIR/../jni
if [ ! -d "$JNIDIR/pdfview2/lib" ]
then
mkdir -p $JNIDIR/pdfview2/lib
fi
if [ ! -d "$JNIDIR/pdfview2/include" ]
then
mkdir -p $JNIDIR/pd... | Shell |
echo ""
echo "*"
echo "* run dojo build"
echo "*"
cd dojo-trunk/util/buildscripts
./build.sh profile="leakdetect" action="clean,release" localeList="en,de" optimize="shrinksafe.keepLines" releaseDir="../../../dojo-build" releaseName="" cssOptimize="comments.keepLines"
| 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/bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP versions 4 and 5
#
# CakePHP(tm) : Rapid Development Framework (http://www.cakephp.org)
# Copyright 2005-2007, Cake Software Foundation, Inc.
#
# Licensed under ... | Shell |
#!/bin/bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP versions 4 and 5
#
# CakePHP(tm) : Rapid Development Framework (http://www.cakephp.org)
# Copyright 2005-2007, Cake Software Foundation, Inc.
#
# Licensed under ... | Shell |
#!/bin/sh
cp syntax.txt syntax.html
sam -d syntax.html <<'!'
,s/\&/\&/g
,s/</\</g
,s/>/\>/g
,s!== (([^()]|\([^()]*\))*)!≡ <code>\1</code>!g
,s!«!<code>!g
,s!»!</code>!g
,s! vim$! <font size=-2>VIM</font>!g
,s! pcre$! <font size=-2>PCRE</font>!g
,s! perl$! <font size=-2>PERL</font>!g
,x g/NOT SUPPORTED/ s!^[^... | Shell |
#!/bin/sh
cp syntax.txt syntax.wiki
sam -d syntax.wiki <<'!'
,s!`!`````!g
,s!== (([^()]|\([^()]*\))*)!≡ `\1`!g
,s!«!`!g
,s!»!`!g
,s! vim$! <font size="1">VIM</font>!g
,s! pcre$! <font size="1">PCRE</font>!g
,s! perl$! <font size="1">PERL</font>!g
,s!(^[^ ]+) (.*)\n!`\1` \2\n!g
,x g/NOT SUPPORTED/ s!^[^ ]+!<font color=... | Shell |
#!/usr/bin/env bash
success=true
for i
do
printf "%-40s" $i
if sh -c "$i >$i.log 2>&1" 2>/dev/null
then
echo PASS
else
echo FAIL';' output in $i.log
success=false
fi
done
if $success; then
echo 'ALL TESTS PASSED.'
exit 0
fi
echo 'TESTS FAILED.'
exit 1
| Shell |
#!/bin/sh
cd $1
for file in *.html
do
sed 's/<meta http-equiv="Content-Type" content="text\/html;charset=.*">/<meta http-equiv="Content-Type" content="text\/html;charset=gbk">/g' "$file" > .t
mv -f .t "$file"
done
| Shell |
#!/bin/sh
cd $(dirname $0)/../fonts
rm -f fonts.zip
zip fonts.zip ASC10 ASC12 ASC14 ASC16 ASC18 GBK10 GBK12 GBK14 GBK16 GBK18
#zip fonts.zip ASC12 GBK12
| Shell |
#!/bin/sh
pspsh -e exit
| Shell |
#!/bin/sh
# @configure_input@
AUTHOR=hrimfaxi
EMAIL=outmatch@gmail.com
DIRS="msg fonts"
SRCDIR=@abs_top_srcdir@/src
BUILDDIR=@abs_top_builddir@/src
ROOTDIR=@abs_top_builddir@/rar
DESTDIR=@abs_top_builddir@/rar/PSP/GAME/xReader
DESTDIR2=@abs_top_builddir@/rar/seplugins
LITE=n
echo "xReader transfer script"
echo "Autho... | Shell |
#!/bin/sh
pspsh -e 'd ms0:/psp/game/xReader/xReader.prx' && pspsh
| Shell |
#32bit for fw 1.xx
./configure
make; make SCEkxploit
mkdir -p ./release/32bit/100
mkdir -p ./release/32bit/150
cp -rf EBOOT.PBP ./release/32bit/100/
cp -rf __SCE__eReader ./release/32bit/150/
cp -rf %__SCE__eReader ./release/32bit/150/
zip -9 -j ./release/32bit/100/fonts.zip ./fonts/GBK12 ./fonts/ASC12 ./fonts/GBK14 ./... | Shell |
#!/bin/bash
# @configure_input@
function copy {
echo " $(basename $1)"
cp -u "$1" "$DESTDIR/"
}
DIRS=(msg fonts)
BUILDDIR="@abs_top_builddir@/src"
SRCDIR="@abs_top_srcdir@/src"
DESTDRIVE="${1:-/media/disk}"
DESTDIR="$DESTDRIVE/PSP/GAME/xReader"
DEBUG=y
echo "Checking if PSP plugged in"
while [ ! -e "$DESTDRIVE... | Shell |
#!/bin/sh
if [ $# -lt 1 ]; then
echo "Auto Indent Script "
echo "Usage: $0 <source_and_header_files>"
fi
while [ $# -gt 0 ];
do
SRC="$1"
INDENTFLAG="-kr -ut -bap -br -bls -brs -ts4 -l160 -sob -cdw -cli4 -bls -i4 -nce"
echo "Indenting $SRC"
test ! -f "$SRC" && (echo "$SRC doesn't exists"; shift; continue)
# dos2... | Shell |
#! /bin/sh
# libpng-config
# provides configuration info for libpng.
# Copyright (C) 2002 Glenn Randers-Pehrson
# For conditions of distribution and use, see copyright notice in png.h
# Modeled after libxml-config.
version=1.2.8
prefix=""
libdir=""
libs=""
I_opts=""
L_opts=""
R_opts=""
cppflags=""
ccopts=""
ldopts=... | Shell |
# -- grayscale
./png2pnm -noraw ../pngsuite/basn0g01.png basn0g01.pgm
./png2pnm -noraw ../pngsuite/basn0g02.png basn0g02.pgm
./png2pnm -noraw ../pngsuite/basn0g04.png basn0g04.pgm
./png2pnm -noraw ../pngsuite/basn0g08.png basn0g08.pgm
./png2pnm -noraw ../pngsuite/basn0g16.png basn0g16.pgm
# -- full-color
./png2pnm -nor... | Shell |
make -f makefile.std
sh png2pnm.sh
sh pnm2png.sh
| Shell |
# -- grayscale
./pnm2png basn0g01.pgm basn0g01.png
./pnm2png basn0g02.pgm basn0g02.png
./pnm2png basn0g04.pgm basn0g04.png
./pnm2png basn0g08.pgm basn0g08.png
./pnm2png basn0g16.pgm basn0g16.png
# -- full-color
./pnm2png basn2c08.ppm basn2c08.png
./pnm2png basn2c16.ppm basn2c16.png
# -- palletted
./pnm2png basn3p01.ppm... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
scriptversion=2006-05-11.19
# Original author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain.
#
# This file is maintained in Automake, please report
# bugs to <bug-automake@gnu.org> or send patches to
# <automake-patches@gnu.org>... | Shell |
# libtool (GNU libtool) 2.4
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
# 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; not even f... | Shell |
#! /bin/sh
#
# Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2009 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
#
# This file is part of the FreeType project, and may only be used, modified,
# and distributed under the terms of the FreeType project license,
# LICENSE.TXT. By continuing to use, modify, o... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2010-02-06.18; # 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
TOP_DIR=.
OBJ_DIR=.
for x in "$@"
do
case x"$x" in
x--srcdir=* | x--topdir=* )
TOP_DIR=`echo $x | sed 's/^--[a-z]*dir=//'`
;;
x--builddir=* | x--objdir=* )
OBJ_DIR=`echo $x | sed 's/^--[a-z]*dir=//'`
;;
esac
done
mkdir -p ${OBJ_DIR}/builds/atari/tmp/orig
( cd ${TOP_DIR} && find . -... | Shell |
#!/bin/sh
# Copyright 2005, 2006, 2007, 2008, 2009, 2010 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
#
# This file is part of the FreeType project, and may only be used, modified,
# and distributed under the terms of the FreeType project license,
# LICENSE.TXT. By continuing to use, modify, or distribute t... | Shell |
# ltmain.sh - Provide generalized library-building support services.
# NOTE: Changing this file will not affect anything until you rerun ltconfig.
#
# Copyright (C) 1996-1998 Free Software Foundation, Inc.
# Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# This program is free software; you can redistribute it and/or ... | Shell |
#! /bin/sh
# ltconfig - Create a system-specific libtool.
# Copyright (C) 1996-1998 Free Software Foundation, Inc.
# Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# This file 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 Soft... | 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 |
# 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
#
# chkconfig: 2345 92 29
# description: XRelayer HTTP proxy daemon
#
. /etc/rc.d/init.d/functions
INSTALL_PATH=@CMAKE_INSTALL_PREFIX@/xrelayer
XRELAYER=${INSTALL_PATH}/xrelayer
case "$1" in
start)
echo -n $"Starting xrelayer: "
if [ -e /var/lock/subsys/xrelayer ]; then
if [ -e /var/run/xrelayer.pid ] ... | Shell |
#! /bin/sh
#
# chkconfig: 2345 92 29
# description: XRelayer HTTP proxy daemon
#
. /etc/rc.d/init.d/functions
INSTALL_PATH=@CMAKE_INSTALL_PREFIX@/xrelayer
XRELAYER=${INSTALL_PATH}/xrelayer
case "$1" in
start)
echo -n $"Starting xrelayer: "
if [ -e /var/lock/subsys/xrelayer ]; then
if [ -e /var/run/xrelayer.pid ] ... | Shell |
#!/bin/bash
#
make distclean >/dev/null
rm -rf release
mkdir -p release/Xsaitekpanels/64 &&
qmake -spec win32-g++ && qmake -set CROSS_COMPILE x86_64-w64-mingw32- && make &&
cp plugin/release/win.xpl1.dll release/Xsaitekpanels/64/win.xpl
if [ $? != 0 ] ; then
exit
fi
make distclean >/dev/null
qmake -spec win32-g++ &&... | Shell |
#!/bin/bash
#
make distclean >/dev/null
rm -rf lipo_temp
rm -rf release
mkdir -p lipo_temp &&
mkdir -p release/Xsaitekpanels/64 &&
make distclean >/dev/null
qmake -spec macx-clang-32 && make &&
cp plugin/libmac.xpl.dylib lipo_temp/mac32.xpl
if [ $? != 0 ] ; then
exit
fi
make distclean >/dev/null
qmake -spec macx-cl... | Shell |
#!/bin/bash
#
make distclean >/dev/null
rm -rf release
mkdir -p release/Xsaitekpanels/64 &&
qmake -spec win32-g++ && qmake -set CROSS_COMPILE x86_64-w64-mingw32- && make &&
cp plugin/release/win.xpl1.dll release/Xsaitekpanels/64/win.xpl
if [ $? != 0 ] ; then
exit
fi
make distclean >/dev/null
qmake -spec win32-g++ &&... | Shell |
#!/bin/bash
#
make distclean >/dev/null
rm -rf lipo_temp
rm -rf release
mkdir -p lipo_temp &&
mkdir -p release/Xsaitekpanels/64 &&
make distclean >/dev/null
qmake -spec macx-clang-32 && make &&
cp plugin/libmac.xpl.dylib lipo_temp/mac32.xpl
if [ $? != 0 ] ; then
exit
fi
make distclean >/dev/null
qmake -spec macx-cl... | Shell |
source /cern/alicesoft/cern_env.sh current
export PATH="$XRDDMSYS/bin/:$PATH"
export LD_LIBRARY_PATH="$XRDDMSYS/lib/:$LD_LIBRARY_PATH" | Shell |
#!/bin/bash
#
# afdsmgrd-aaf-integration.sh -- by Dario Berzano <dario.berzano@cern.ch>
#
export BATCH=0
if [ "$1" == "-b" ] || [ "$1" == "--batch" ]; then
BATCH=1
fi
# aaf.cf
source $ALICE_PROOF_AAF_DIR/aaf.cf
# ROOT
#export ROOTSYS="/pool/PROOF-AAF/alien_packages/VO_ALICE/ROOT/v5-28-00e-1/v5-28-00e-1"
export RO... | Shell |
#!/bin/bash
ALIEN_PACKAGES_AFS_DIR=${ALIEN_PACKAGES_AFS_DIR:-"::PACKAGES_BASE_DIR::"}
ALIEN_PACKAGES_AFS_SCRIPTS_DIR=${ALIEN_PACKAGES_AFS_SCRIPTS_DIR:-"::PACKAGES_BASE_DIR::"}
ALIEN_DIR=${ALIEN_DIR:-"::ALIEN_BASE_DIR::"}
ALICE_USERNAME=${ALICE_USERNAME:-`id -u -n`}
ALICE_ROOT_VERSION_TYPE=${ALICE_ROOT_VERSION_TYPE:-"A... | Shell |
#!/bin/bash
TMP_AAF_DIR="/tmp"
TMP_AAF_INSTALLER="$TMP_AAF_DIR/aaf-installer"
rm -Rf $TMP_AAF_INSTALLER
wget -O $TMP_AAF_INSTALLER http://aaf.cern.ch/config/aaf-installer
chmod +x $TMP_AAF_INSTALLER
export HOME="$TMP_AAF_DIR"
. $TMP_AAF_INSTALLER $*
| Shell |
#!/bin/bash
AAF_INSTALLER_VERSION=1.13
AAF_PACKMAN_SOURCE=""
MY_ALIEN_VER="v2-19"
# if [ `hostname -d` == "cern.ch" ]; then
# AAF_PACKMAN_SOURCE="-name ALICE::CERN::aliendb7"
# fi
# Sourcing functions library for coloured diagnostic messages
[ -f /etc/init.d/functions ] && . /etc/init.d/functions
# Variable which ... | Shell |
#!/bin/bash
#
# afdsmgrd-aaf-integration.sh -- by Dario Berzano <dario.berzano@cern.ch>
#
export BATCH=0
if [ "$1" == "-b" ] || [ "$1" == "--batch" ]; then
BATCH=1
fi
# aaf.cf
source $ALICE_PROOF_AAF_DIR/aaf.cf
# ROOT
#export ROOTSYS="/pool/PROOF-AAF/alien_packages/VO_ALICE/ROOT/v5-28-00e-1/v5-28-00e-1"
export RO... | Shell |
#!/bin/bash
ALIEN_PACKAGES_AFS_DIR=${ALIEN_PACKAGES_AFS_DIR:-"::PACKAGES_BASE_DIR::"}
ALIEN_PACKAGES_AFS_SCRIPTS_DIR=${ALIEN_PACKAGES_AFS_SCRIPTS_DIR:-"::PACKAGES_BASE_DIR::"}
ALIEN_DIR=${ALIEN_DIR:-"::ALIEN_BASE_DIR::"}
ALICE_USERNAME=${ALICE_USERNAME:-`id -u -n`}
ALICE_ROOT_VERSION_TYPE=${ALICE_ROOT_VERSION_TYPE:-"A... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.