code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh
. $TOPDIR/include/site/powerpc-linux
. $TOPDIR/include/site/linux-uclibc
| Shell |
#!/bin/sh
. $TOPDIR/include/site/cris-linux
. $TOPDIR/include/site/linux-uclibc
| Shell |
#!/bin/sh
. $TOPDIR/include/site/mips64-linux
. $TOPDIR/include/site/linux-gnu
| Shell |
#!/bin/sh
. $TOPDIR/include/site/mips-linux
. $TOPDIR/include/site/linux-gnu
| Shell |
#!/bin/sh
. $TOPDIR/include/site/arm-linux
. $TOPDIR/include/site/linux-uclibc
| Shell |
#!/bin/sh
. $TOPDIR/include/site/cris-linux
. $TOPDIR/include/site/linux-gnu
| Shell |
#!/bin/sh
. $TOPDIR/include/site/mips64-linux
. $TOPDIR/include/site/linux-uclibc
| Shell |
#!/bin/sh
. $TOPDIR/include/site/mipsel-linux
. $TOPDIR/include/site/linux-gnu
| Shell |
#!/bin/sh
. $TOPDIR/include/site/armeb-linux
. $TOPDIR/include/site/linux-uclibc
| Shell |
#!/bin/sh
. $TOPDIR/include/site/mips64-linux
. $TOPDIR/include/site/linux-gnu
| Shell |
#!/bin/sh
. $TOPDIR/include/site/arm-linux
. $TOPDIR/include/site/linux-gnu
| Shell |
#!/bin/sh
. $TOPDIR/include/site/i686-linux
. $TOPDIR/include/site/linux-uclibc
| Shell |
#!/bin/sh
. $TOPDIR/include/site/avr32-linux
. $TOPDIR/include/site/linux-uclibc
| Shell |
#!/bin/sh
. $TOPDIR/include/site/i486-linux
. $TOPDIR/include/site/linux-gnu
| Shell |
#!/bin/sh
. $TOPDIR/include/site/avr32-linux
. $TOPDIR/include/site/linux-gnu
| Shell |
#!/bin/sh
. $TOPDIR/include/site/mipsel-linux
. $TOPDIR/include/site/linux-uclibc
| Shell |
#!/bin/sh
. $TOPDIR/include/site/i686-linux
. $TOPDIR/include/site/linux-gnu
| Shell |
#!/bin/sh
. $TOPDIR/include/site/arm-linux
. $TOPDIR/include/site/linux-gnu
| Shell |
#!/bin/sh
. $TOPDIR/include/site/armeb-linux
. $TOPDIR/include/site/linux-gnu
| Shell |
#!/bin/sh
. $TOPDIR/include/site/powerpc-linux
. $TOPDIR/include/site/linux-gnu
| Shell |
#!/bin/sh
. $TOPDIR/include/site/armeb-linux
. $TOPDIR/include/site/linux-uclibc
| Shell |
getvar() {
eval "echo \"\${$1}\""
}
var2file() {
local var
eval "var=\"\${$1}\""
if [ -n "$var" ]; then echo "$var" > "$2"; fi
}
isset() {
local var
eval "var=\"\${$1}\""
[ -n "$var" ]
}
trapret() {(
local retvals="$1"; shift
local cmd="$1"; shift
for retval in $(echo $retvals); do
local trap_$retval=1
... | Shell |
#!/usr/bin/env bash
export LANG=C
export LC_ALL=C
[ -n "$TOPDIR" ] && cd $TOPDIR
try_version() {
[ -f version ] || return 1
REV="$(cat version)"
[ -n "$REV" ]
}
try_svn() {
[ -d .svn ] || return 1
REV="$(svn info | awk '/^Last Changed Rev:/ { print $4 }')"
REV="${REV:+r$REV}"
[ -n "$REV" ]
}
try_git() {
[ -d... | Shell |
#!/usr/bin/env bash
# Check ncurses compatibility
# What library to link
ldflags()
{
for ext in so dylib; do
for dir in "" /usr/local/lib /opt/local/lib; do
$cc ${dir:+-L$dir} -print-file-name=libncursesw.$ext | grep -q /
if [ $? -eq 0 ]; then
echo $dir '-lncursesw'
exit
fi
$cc ${dir:+-L$dir} -p... | Shell |
#!/usr/bin/env bash
# Check ncurses compatibility
# What library to link
ldflags()
{
for ext in so dylib; do
for dir in "" /usr/local/lib /opt/local/lib; do
$cc ${dir:+-L$dir} -print-file-name=libncursesw.$ext | grep -q /
if [ $? -eq 0 ]; then
echo $dir '-lncursesw'
exit
fi
$cc ${dir:+-L$dir} -p... | Shell |
#!/bin/sh
BLKSZ=65536
[ -f "$1" -a -f "$2" ] || {
echo "Usage: $0 <kernel image> <rootfs image> [output file]"
exit 1
}
IMAGE=${3:-openwrt-combined.img}
# Make sure provided images are 64k aligned.
kern="${IMAGE}.kernel"
root="${IMAGE}.rootfs"
dd if="$1" of="$kern" bs=$BLKSZ conv=sync 2>/dev/null
dd if="$2" of="$... | Shell |
#!/usr/bin/env bash
# Create a new openwrt tree with symlinks pointing at the current tree
# Usage: ./scripts/symlink-tree.sh <destination>
FILES="
BSDmakefile
Config.in
LICENSE
Makefile
README
dl
docs
feeds.conf.default
include
package
rules.mk
scripts
target
toolchain
tools"
if [ -f feeds.conf ] ; th... | Shell |
#!/usr/bin/env bash
BASEDIR="$PWD"
ENVDIR="$PWD/env"
usage() {
cat <<EOF
Usage: $0 [options] <command> [arguments]
Commands:
help This help text
list List environments
clear Delete all environment and revert to flat config/files
new <name> Create a new environment
swi... | Shell |
#!/bin/sh
# ipkg - the itsy package management system
#
# Copyright (C) 2001 Carl D. Worth
#
# 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, or (at your option)
# any later ver... | Shell |
#!/usr/bin/env sh
#
# update-package-md5sum - Updates md5sum of OpenWrt packages
#
# update-package-md5sum will update the md5sum for all recusivly found OpenWrt packages
# in a given directory.
#
# Usage: scripts/update-package-md5sum <package directory>
#
# Example: `scripts/update-package-md5sum feeds/packages/pytho... | Shell |
#! /bin/sh
# Output a system dependent set of variables, describing how to set the
# run time search path of shared libraries in an executable.
#
# Copyright 1996-2007 Free Software Foundation, Inc.
# Taken from GNU libtool, 2001
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# This file is fre... | Shell |
#!/bin/bash
#
# tftp flash script for wireless routers
#
# Copyright (C) 2004 by Oleg I. Vdovikin <oleg@cs.msu.su>
# Copyright (C) 2005 by Waldemar Brodkorb <wbx@openwrt.org>
#
# 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
... | Shell |
#!/bin/bash
#
# tftp flash script for wireless routers
#
# Copyright (C) 2004 by Oleg I. Vdovikin <oleg@cs.msu.su>
# Copyright (C) 2005 by Waldemar Brodkorb <wbx@openwrt.org>
#
# 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
... | Shell |
DIR="$PWD/tmp/deptest"
STAMP_DIR="$DIR/stamp"
BUILD_DIR="$DIR/build"
BUILD_DIR_HOST="$DIR/build_host"
STAGING_DIR="$DIR/staging"
STAGING_DIR_HOST="$DIR/staging_host"
STAGING_DIR_HOST_TMPL="$DIR/staging_host_tmpl"
LOG_DIR="$DIR/logs"
mkdir -p "$STAMP_DIR" "$BUILD_DIR" "$LOG_DIR"
[ -d "$STAGING_DIR_HOST_TMPL" ] || {
r... | Shell |
#!/usr/bin/env bash
DIR="$1"
if [ -d "$DIR" ]; then
DIR="$(cd "$DIR"; pwd)"
else
echo "Usage: $0 toolchain-dir"
exit 1
fi
echo -n "Locating cpp ... "
for bin in bin usr/bin usr/local/bin; do
for cmd in "$DIR/$bin/"*-cpp; do
if [ -x "$cmd" ]; then
echo "$cmd"
CPP="$cmd"
break
fi
done
done
if [ ! -x... | Shell |
#!/bin/sh
cat "$@" | md5
| Shell |
#! /bin/sh
# A little script I whipped up to make it easy to
# patch source trees and have sane error handling
# -Erik
#
# (c) 2002 Erik Andersen <andersen@codepoet.org>
# Set directories from arguments, or use defaults.
targetdir=${1-.}
patchdir=${2-../kernel-patches}
patchpattern=${3-*}
if [ ! -d "${targetdir}" ] ;... | Shell |
#!/usr/bin/env bash
# Create a new openwrt tree with symlinks pointing at the current tree
# Usage: ./scripts/symlink-tree.sh <destination>
FILES="
BSDmakefile
Config.in
LICENSE
Makefile
README
dl
docs
feeds.conf.default
include
package
rules.mk
scripts
target
toolchain
tools"
if [ -f feeds.conf ] ; th... | Shell |
#!/usr/bin/env sh
#
# update-package-md5sum - Updates md5sum of OpenWrt packages
#
# update-package-md5sum will update the md5sum for all recusivly found OpenWrt packages
# in a given directory.
#
# Usage: scripts/update-package-md5sum <package directory>
#
# Example: `scripts/update-package-md5sum feeds/packages/pytho... | Shell |
#!/bin/sh
BLKSZ=65536
[ -f "$1" -a -f "$2" ] || {
echo "Usage: $0 <kernel image> <rootfs image> [output file]"
exit 1
}
IMAGE=${3:-openwrt-combined.img}
# Make sure provided images are 64k aligned.
kern="${IMAGE}.kernel"
root="${IMAGE}.rootfs"
dd if="$1" of="$kern" bs=$BLKSZ conv=sync 2>/dev/null
dd if="$2" of="$... | Shell |
#!/bin/sh
# ipkg - the itsy package management system
#
# Copyright (C) 2001 Carl D. Worth
#
# 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, or (at your option)
# any later ver... | Shell |
#!/usr/bin/env bash
#
# Script for various external toolchain tasks, refer to
# the --help output for more information.
#
# Copyright (C) 2012 Jo-Philipp Wich <jow@openwrt.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as pu... | Shell |
#!/bin/sh
set -e
pkg_dir=$1
if [ -z $pkg_dir ] || [ ! -d $pkg_dir ]; then
echo "Usage: ipkg-make-index <package_directory>"
exit 1
fi
which md5sum 2>&1 >/dev/null || alias md5sum=md5
for pkg in `find $pkg_dir -name '*.ipk' | sort`; do
echo "Generating index for package $pkg" >&2
file_size=$(ls -l $pkg | awk '{p... | Shell |
#!/bin/sh
BASE=http://svn.openwrt.org/openwrt/trunk/openwrt
TARGET=$1
CONTROL=$2
VERSION=$3
ARCH=$4
WD=$(pwd)
mkdir -p "$TARGET/CONTROL"
grep '^[^(Version|Architecture)]' "$CONTROL" > "$TARGET/CONTROL/control"
grep '^Maintainer' "$CONTROL" 2>&1 >/dev/null || \
echo "Maintainer: OpenWrt Developers Team <openwr... | Shell |
#! /bin/sh
# Output a system dependent set of variables, describing how to set the
# run time search path of shared libraries in an executable.
#
# Copyright 1996-2007 Free Software Foundation, Inc.
# Taken from GNU libtool, 2001
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# This file is fre... | Shell |
#!/usr/bin/env bash
#
# Empty/wrong machtype-workaround generator
#
# Copyright (C) 2006 Imre Kaloz <kaloz@openwrt.org>
# based on linux/arch/arm/boot/compressed/head-xscale.S
#
# 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 |
#!/usr/bin/env bash
export LANG=C
export LC_ALL=C
[ -n "$TOPDIR" ] && cd $TOPDIR
try_version() {
[ -f version ] || return 1
REV="$(cat version)"
[ -n "$REV" ]
}
try_svn() {
[ -d .svn ] || return 1
REV="$(svn info | awk '/^Last Changed Rev:/ { print $4 }')"
REV="${REV:+r$REV}"
[ -n "$REV" ]
}
try_git() {
[ -d... | Shell |
#!/bin/bash
function usage {
echo "Usage: prepare_image image_type kernel_image rootfs_image header_size"
echo "Padd root and kernel image to the correct size and append the jffs2 start marker as needed"
exit 1
}
function pad_file {
echo "Padding $1 to size $2"
dd if=$1 of=$1.paddingtempfile bs=$2 count=1 con... | Shell |
#!/usr/bin/env bash
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
find_modparams() {
FILE="$1"
$NM "$FILE" | awk '
BEGIN {
FS=" "
}
($3 ~ /^__module_parm_/) && ($3 !~ /^__module_parm_desc/) {
gsub(/__module_pa... | Shell |
#!/bin/sh
grep \^CONFIG_TARGET_ .config | head -n3 > tmp/.diffconfig.head
grep '^CONFIG_ALL=y' .config >> tmp/.diffconfig.head
grep '^CONFIG_DEVEL=y' .config >> tmp/.diffconfig.head
grep '^CONFIG_TOOLCHAINOPTS=y' .config >> tmp/.diffconfig.head
./scripts/config/conf -D tmp/.diffconfig.head -w tmp/.diffconfig.stage1 Con... | 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='2007-04-29'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in thi... | Shell |
#!/usr/bin/env bash
BASEDIR="$PWD"
ENVDIR="$PWD/env"
usage() {
cat <<EOF
Usage: $0 [options] <command> [arguments]
Commands:
help This help text
list List environments
clear Delete all environment and revert to flat config/files
new <name> Create a new environment
swi... | 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='2007-05-17'
# This file is free software; you can redistribute it and/or modify it
# under the terms of th... | Shell |
#!/bin/sh
grep \^CONFIG_TARGET_ .config | head -n3 > tmp/.diffconfig.head
grep '^CONFIG_ALL=y' .config >> tmp/.diffconfig.head
grep '^CONFIG_DEVEL=y' .config >> tmp/.diffconfig.head
grep '^CONFIG_TOOLCHAINOPTS=y' .config >> tmp/.diffconfig.head
./scripts/config/conf -D tmp/.diffconfig.head -w tmp/.diffconfig.stage1 Con... | Shell |
#!/usr/bin/env bash
#
# Empty/wrong machtype-workaround generator
#
# Copyright (C) 2006 Imre Kaloz <kaloz@openwrt.org>
# based on linux/arch/arm/boot/compressed/head-xscale.S
#
# 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 |
#!/usr/bin/env bash
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
find_modparams() {
FILE="$1"
$NM "$FILE" | awk '
BEGIN {
FS=" "
}
($3 ~ /^__module_parm_/) && ($3 !~ /^__module_parm_desc/) {
gsub(/__module_pa... | Shell |
#! /bin/sh
# A little script I whipped up to make it easy to
# patch source trees and have sane error handling
# -Erik
#
# (c) 2002 Erik Andersen <andersen@codepoet.org>
# Set directories from arguments, or use defaults.
targetdir=${1-.}
patchdir=${2-../kernel-patches}
patchpattern=${3-*}
if [ ! -d "${targetdir}" ] ;... | Shell |
#!/bin/sh
set -e
pkg_dir=$1
if [ -z $pkg_dir ] || [ ! -d $pkg_dir ]; then
echo "Usage: ipkg-make-index <package_directory>"
exit 1
fi
which md5sum 2>&1 >/dev/null || alias md5sum=md5
for pkg in `find $pkg_dir -name '*.ipk' | sort`; do
echo "Generating index for package $pkg" >&2
file_size=$(ls -l $pkg | awk '{p... | Shell |
#!/bin/sh
BASE=http://svn.openwrt.org/openwrt/trunk/openwrt
TARGET=$1
CONTROL=$2
VERSION=$3
ARCH=$4
WD=$(pwd)
mkdir -p "$TARGET/CONTROL"
grep '^[^(Version|Architecture)]' "$CONTROL" > "$TARGET/CONTROL/control"
grep '^Maintainer' "$CONTROL" 2>&1 >/dev/null || \
echo "Maintainer: OpenWrt Developers Team <openwr... | Shell |
#!/bin/sh
cat "$@" | md5
| Shell |
#!/bin/bash
function usage {
echo "Usage: prepare_image image_type kernel_image rootfs_image header_size"
echo "Padd root and kernel image to the correct size and append the jffs2 start marker as needed"
exit 1
}
function pad_file {
echo "Padding $1 to size $2"
dd if=$1 of=$1.paddingtempfile bs=$2 count=1 con... | Shell |
#!/usr/bin/env bash
DIR="$1"
if [ -d "$DIR" ]; then
DIR="$(cd "$DIR"; pwd)"
else
echo "Usage: $0 toolchain-dir"
exit 1
fi
echo -n "Locating cpp ... "
for bin in bin usr/bin usr/local/bin; do
for cmd in "$DIR/$bin/"*-cpp; do
if [ -x "$cmd" ]; then
echo "$cmd"
CPP="$cmd"
break
fi
done
done
if [ ! -x... | Shell |
#!/usr/bin/env bash
#
# Script for various external toolchain tasks, refer to
# the --help output for more information.
#
# Copyright (C) 2012 Jo-Philipp Wich <jow@openwrt.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as pu... | Shell |
#!/bin/sh
#ideally you need to set only the following two paths ANDROID_BUILD_DIR and SDK_DIR
#where you downloaded the android sources and built it
ANDROID_BUILD_DIR=/opt/Android-2.3.5
CUR_DIR=`pwd`
ACTEVE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# copy various jars
cd $ANDROID_BUILD_DIR
cp out/targ... | Shell |
#!/bin/sh
# PRE-COMMIT HOOK
#
# The pre-commit hook is invoked before a Subversion txn is
# committed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-commit' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (t... | Shell |
#!/bin/sh
# PRE-REVPROP-CHANGE HOOK
#
# The pre-revprop-change hook is invoked before a revision property
# is added, modified or deleted. Subversion runs this hook by invoking
# a program (script, executable, binary, etc.) named 'pre-revprop-change'
# (for which this file is a template), with the following or... | Shell |
#!/bin/sh
# POST-COMMIT HOOK
#
# The post-commit hook is invoked after a commit. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-commit' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this rep... | Shell |
#!/bin/sh
# POST-UNLOCK HOOK
#
# The post-unlock hook runs after a path is unlocked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-unlock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this... | Shell |
#!/bin/sh
# PRE-LOCK HOOK
#
# The pre-lock hook is invoked before an exclusive lock is
# created. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-lock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (the pat... | Shell |
#!/bin/sh
# POST-UNLOCK HOOK
#
# The post-unlock hook runs after a path is unlocked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-unlock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this... | Shell |
#!/bin/sh
# POST-COMMIT HOOK
#
# The post-commit hook is invoked after a commit. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-commit' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this rep... | Shell |
#!/bin/sh
# PRE-UNLOCK HOOK
#
# The pre-unlock hook is invoked before an exclusive lock is
# destroyed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-unlock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH ... | Shell |
#!/bin/sh
# PRE-COMMIT HOOK
#
# The pre-commit hook is invoked before a Subversion txn is
# committed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-commit' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (t... | Shell |
#!/bin/sh
# START-COMMIT HOOK
#
# The start-commit hook is invoked before a Subversion txn is created
# in the process of doing a commit. Subversion runs this hook
# by invoking a program (script, executable, binary, etc.) named
# 'start-commit' (for which this file is a template)
# with the following ordered... | Shell |
#!/bin/sh
# PRE-REVPROP-CHANGE HOOK
#
# The pre-revprop-change hook is invoked before a revision property
# is added, modified or deleted. Subversion runs this hook by invoking
# a program (script, executable, binary, etc.) named 'pre-revprop-change'
# (for which this file is a template), with the following or... | Shell |
#!/bin/sh
# PRE-LOCK HOOK
#
# The pre-lock hook is invoked before an exclusive lock is
# created. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-lock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (the pat... | Shell |
#!/bin/sh
# POST-LOCK HOOK
#
# The post-lock hook is run after a path is locked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-lock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this repos... | Shell |
#!/bin/sh
# POST-REVPROP-CHANGE HOOK
#
# The post-revprop-change hook is invoked after a revision property
# has been added, modified or deleted. Subversion runs this hook by
# invoking a program (script, executable, binary, etc.) named
# 'post-revprop-change' (for which this file is a template), with the
# f... | Shell |
#!/bin/sh
# PRE-UNLOCK HOOK
#
# The pre-unlock hook is invoked before an exclusive lock is
# destroyed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-unlock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH ... | Shell |
#!/bin/sh
# POST-REVPROP-CHANGE HOOK
#
# The post-revprop-change hook is invoked after a revision property
# has been added, modified or deleted. Subversion runs this hook by
# invoking a program (script, executable, binary, etc.) named
# 'post-revprop-change' (for which this file is a template), with the
# f... | Shell |
#!/bin/sh
# START-COMMIT HOOK
#
# The start-commit hook is invoked before a Subversion txn is created
# in the process of doing a commit. Subversion runs this hook
# by invoking a program (script, executable, binary, etc.) named
# 'start-commit' (for which this file is a template)
# with the following ordered... | Shell |
#!/bin/sh
# POST-LOCK HOOK
#
# The post-lock hook is run after a path is locked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-lock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this repos... | Shell |
#/bin/bash
# make README.txt from read_me.txt
# see http://www.grymoire.com/Unix/Sed.html
# see http://www.grymoire.com/Unix/Regular.html
# note that all single quotes are made rsquo
writeup -b -s text=true read_me.txt
sed -e 's%\(<h[^>]*\)\([^<]*\)%\1\U\2\E%g' \
-e 's%\(<pstrong[^>]*\)\([^<]*\)%\1\U\2\E%g' \
-... | Shell |
#/bin/bash
# make README.txt from read_me.txt
# see http://www.grymoire.com/Unix/Sed.html
# see http://www.grymoire.com/Unix/Regular.html
# note that all single quotes are made rsquo
# (not sure what pstrong is below, but makes a strong paragraph)
writeup -b -s text=true read_me.txt
sed -e 's%\(<h[^>]*\)\([^<]*\)%\1\U\... | Shell |
#!/bin/bash
# rsync this module to the git repository
proj=writeup
rsync -avz --stats d6/${proj}* d6/README* ~/git/${proj}_6
rsync -avz --stats d7/${proj}* d7/README* ~/git/${proj}_7
#rsync -avz --stats -e "ssh -p 7779" urllogin_* root@www.cfaw.info:/var/www/html/peg/sites/default/modules/urllogin
| Shell |
#!/bin/bash
# rsync this module to the git repository
proj=writeup
rsync -avz --stats d6/${proj}* d6/README* ~/git/${proj}_6
rsync -avz --stats d7/${proj}* d7/README* ~/git/${proj}_7
#rsync -avz --stats -e "ssh -p 7779" urllogin_* root@www.cfaw.info:/var/www/html/peg/sites/default/modules/urllogin
| Shell |
#!/bin/bash
java -Dlog4j.configuration=log4j.properties -jar ws-fuzzer.jar
| Shell |
#!/bin/bash
java -Dlog4j.configuration=log4j.properties -jar ws-fuzzer.jar
| Shell |
#!/bin/bash
#METRICSUITE_HOME=/home/mcrasso/Desktop/teaching/courses/COS/cos2011/final/mgarriga/wsdl-metrics-soc-course/metricSuite
java -cp $METRICSUITE_HOME/bin/:lib/easywsdl-schema-2.1.jar:$METRICSUITE_HOME/lib/easywsdl-wsdl-2.1.jar:$METRICSUITE_HOME/lib/log4j-1.2.16.jar edu.isistan.easywsdl.Main $@
| Shell |
#!/bin/bash
#METRICSUITE_HOME=/home/mcrasso/Desktop/teaching/courses/COS/cos2011/final/mgarriga/wsdl-metrics-soc-course/metricSuite
java -cp $METRICSUITE_HOME/bin/:lib/easywsdl-schema-2.1.jar:$METRICSUITE_HOME/lib/easywsdl-wsdl-2.1.jar:$METRICSUITE_HOME/lib/log4j-1.2.16.jar edu.isistan.easywsdl.Main $@
| Shell |
#!/bin/sh
# wsdl2objc.sh
/usr/local/bin/wsdl2objc \
-wsdlPath "${SRCROOT}/Service1.wsdl" \
-outPath "${SRCROOT}/Service1/" \
-addTagToServiceName YES \
-usePrefix YES \
-templateDirectory "${SRCROOT}/wsdl2objc Templates"
| Shell |
#!/bin/sh
# wsdl2objc.sh
/usr/local/bin/wsdl2objc \
-wsdlPath "${SRCROOT}/Service1.wsdl" \
-outPath "${SRCROOT}/Service1/" \
-addTagToServiceName YES \
-usePrefix YES \
-templateDirectory "${SRCROOT}/wsdl2objc Templates"
| 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 |
#!/bin/sh
epydoc -o ../docs/epydoc --exclude unittests --exclude testsupport --no-private --name="WSGIWAPI" --parse-only -u "../index.html" -q ../wsgiwapi
rst2html --link-stylesheet --stylesheet=media/docs.css ../docs/introduction.rst ../docs/introduction.html
rst2html --link-stylesheet --stylesheet=media/docs.css ../... | Shell |
#!/bin/sh
epydoc -o ../docs/epydoc --exclude unittests --exclude testsupport --no-private --name="WSGIWAPI" --parse-only -u "../index.html" -q ../wsgiwapi
rst2html --link-stylesheet --stylesheet=media/docs.css ../docs/introduction.rst ../docs/introduction.html
rst2html --link-stylesheet --stylesheet=media/docs.css ../... | Shell |
#!/bin/sh
epydoc -o ../docs/epydoc --exclude unittests --exclude testsupport --no-private --name="WSGIWebAPI" --parse-only -u "../index.html" -q ../wsgiwebapi
rst2html --link-stylesheet --stylesheet=media/docs.css ../docs/introduction.rst ../docs/introduction.html
rst2html --link-stylesheet --stylesheet=media/docs.css... | Shell |
#!/bin/sh
epydoc -o ../docs/epydoc --exclude unittests --exclude testsupport --no-private --name="WSGIWebAPI" --parse-only -u "../index.html" -q ../wsgiwebapi
rst2html --link-stylesheet --stylesheet=media/docs.css ../docs/introduction.rst ../docs/introduction.html
rst2html --link-stylesheet --stylesheet=media/docs.css... | Shell |
#!/bin/sh
epydoc -o ../docs/epydoc --exclude unittests --exclude testsupport --no-private --name="WSGIWAPI" --parse-only -u "../index.html" -q ../wsgiwapi
rst2html --link-stylesheet --stylesheet=media/docs.css ../docs/introduction.rst ../docs/introduction.html
rst2html --link-stylesheet --stylesheet=media/docs.css ../... | Shell |
#!/bin/sh
epydoc -o ../docs/epydoc --exclude unittests --exclude testsupport --no-private --name="WSGIWAPI" --parse-only -u "../index.html" -q ../wsgiwapi
rst2html --link-stylesheet --stylesheet=media/docs.css ../docs/introduction.rst ../docs/introduction.html
rst2html --link-stylesheet --stylesheet=media/docs.css ../... | Shell |
#!/bin/sh
epydoc -o ../docs/epydoc --exclude unittests --exclude testsupport --no-private --name="WSGIWAPI" --parse-only -u "../index.html" -q ../wsgiwapi
rst2html --link-stylesheet --stylesheet=media/docs.css ../docs/introduction.rst ../docs/introduction.html
rst2html --link-stylesheet --stylesheet=media/docs.css ../... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.