code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#! /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
# 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 |
#!/bin/sh
#
# $NetBSD: install-sh.in,v 1.5 2010/10/08 19:57:05 tez Exp $
# This script now also installs multiple files, but might choke on installing
# multiple files with spaces in the file names.
#
# install - install a program, script, or datafile
# This comes from X11R5 (mit/util/scripts/install.sh).
#
# Copyright... | 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
#
# $NetBSD: install-sh.in,v 1.5 2010/10/08 19:57:05 tez Exp $
# This script now also installs multiple files, but might choke on installing
# multiple files with spaces in the file names.
#
# install - install a program, script, or datafile
# This comes from X11R5 (mit/util/scripts/install.sh).
#
# Copyright... | Shell |
#!/bin/sh
# make_zipconf.sh: create platform specific include file zipconf.h
# Copyright (C) 1999-2009 Dieter Baron and Thomas Klausner
#
# This file is part of libzip, a library to manipulate ZIP archives.
# The authors can be contacted at <libzip@nih.at>
#
# Redistribution and use in source and binary forms, wi... | Shell |
#!/bin/sh
# make_zipconf.sh: create platform specific include file zipconf.h
# Copyright (C) 1999-2009 Dieter Baron and Thomas Klausner
#
# This file is part of libzip, a library to manipulate ZIP archives.
# The authors can be contacted at <libzip@nih.at>
#
# Redistribution and use in source and binary forms, wi... | Shell |
#!/bin/sh
# make_zip_err_str.sh: create zip_err_str.c from zip.h
# Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
#
# This file is part of libzip, a library to manipulate ZIP archives.
# The authors can be contacted at <libzip@nih.at>
#
# Redistribution and use in source and binary forms, with or withou... | Shell |
#!/bin/sh
# make_zip_err_str.sh: create zip_err_str.c from zip.h
# Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
#
# This file is part of libzip, a library to manipulate ZIP archives.
# The authors can be contacted at <libzip@nih.at>
#
# Redistribution and use in source and binary forms, with or withou... | Shell |
#!/bin/sh
# configure script for zlib.
#
# Normally configure builds both a static and a shared library.
# If you want to build just a static library, use: ./configure --static
#
# To impose specific compiler or flags or install directory, use for example:
# prefix=$HOME CC=cc CFLAGS="-O4" ./configure
# or for csh/t... | Shell |
#!/bin/sh
# from ckmame:runtest,v 1.22 2005/12/27 09:41:51 dillo Exp
#
# runtest -- run regression tests
# Copyright (C) 2002-2007 Dieter Baron and Thomas Klausner
#
# This file is part of libzip, a library to manipulate ZIP archives.
# The authors can be contacted at <libzip@nih.at>
#
# Redistribution and use i... | Shell |
#!/bin/sh
# from ckmame:runtest,v 1.22 2005/12/27 09:41:51 dillo Exp
#
# runtest -- run regression tests
# Copyright (C) 2002-2007 Dieter Baron and Thomas Klausner
#
# This file is part of libzip, a library to manipulate ZIP archives.
# The authors can be contacted at <libzip@nih.at>
#
# Redistribution and use i... | 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 |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
scriptversion=2009-04-28.21; # UTC
# 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@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=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
# mkinstalldirs --- make directory hierarchy
scriptversion=2009-04-28.21; # UTC
# 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@g... | Shell |
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
# Free Software Foundation, Inc.
timestamp='2009-12-31'
# This file is (in principle) common to ALL GNU software.
# The pres... | 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, 2007, 2008, 2009, 2010
# Free Software Foundation, Inc.
timestamp='2009-12-30'
# This file is free software; you can redistribute it and/or modify it... | 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
# 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 |
#!/bin/sh
#
# $NetBSD: install-sh.in,v 1.5 2010/10/08 19:57:05 tez Exp $
# This script now also installs multiple files, but might choke on installing
# multiple files with spaces in the file names.
#
# install - install a program, script, or datafile
# This comes from X11R5 (mit/util/scripts/install.sh).
#
# Copyright... | 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
#
# $NetBSD: install-sh.in,v 1.5 2010/10/08 19:57:05 tez Exp $
# This script now also installs multiple files, but might choke on installing
# multiple files with spaces in the file names.
#
# install - install a program, script, or datafile
# This comes from X11R5 (mit/util/scripts/install.sh).
#
# Copyright... | Shell |
#!/bin/sh
# make_zipconf.sh: create platform specific include file zipconf.h
# Copyright (C) 1999-2009 Dieter Baron and Thomas Klausner
#
# This file is part of libzip, a library to manipulate ZIP archives.
# The authors can be contacted at <libzip@nih.at>
#
# Redistribution and use in source and binary forms, wi... | Shell |
#!/bin/sh
# make_zipconf.sh: create platform specific include file zipconf.h
# Copyright (C) 1999-2009 Dieter Baron and Thomas Klausner
#
# This file is part of libzip, a library to manipulate ZIP archives.
# The authors can be contacted at <libzip@nih.at>
#
# Redistribution and use in source and binary forms, wi... | Shell |
#!/bin/sh
# make_zip_err_str.sh: create zip_err_str.c from zip.h
# Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
#
# This file is part of libzip, a library to manipulate ZIP archives.
# The authors can be contacted at <libzip@nih.at>
#
# Redistribution and use in source and binary forms, with or withou... | Shell |
#!/bin/sh
# make_zip_err_str.sh: create zip_err_str.c from zip.h
# Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
#
# This file is part of libzip, a library to manipulate ZIP archives.
# The authors can be contacted at <libzip@nih.at>
#
# Redistribution and use in source and binary forms, with or withou... | Shell |
#!/bin/sh
brctl addbr br-left
brctl addbr br-right
tunctl -t tap-left
tunctl -t tap-right
ifconfig tap-left 0.0.0.0 promisc up
ifconfig tap-right 0.0.0.0 promisc up
brctl addif br-left tap-left
ifconfig br-left up
brctl addif br-right tap-right
ifconfig br-right up
pushd /proc/sys/net/bridge
for f in bridge-nf-*; do ec... | Shell |
#!/bin/sh
lxc-destroy -n left
lxc-destroy -n right
ifconfig br-left down
ifconfig br-right down
brctl delif br-left tap-left
brctl delif br-right tap-right
brctl delbr br-left
brctl delbr br-right
ifconfig tap-left down
ifconfig tap-right down
tunctl -d tap-left
tunctl -d tap-right
| Shell |
#!/usr/bin/env bash
TMPFILE=`mktemp`
echo "\documentclass{book}
\usepackage{pdfpages}
\begin{document}
\includepdf[width=${1},fitpaper]{${2}}
\end{document}" >${TMPFILE}.tex
pdflatex -output-directory /tmp ${TMPFILE}.tex >/dev/null 2>/dev/null
cp ${TMPFILE}.pdf ${3}
| Shell |
#!/usr/bin/env bash
TMPFILE=`mktemp`
echo "\documentclass{book}
\usepackage{pdfpages}
\begin{document}
\includepdf[width=${1},fitpaper]{${2}}
\end{document}" >${TMPFILE}.tex
pdflatex -output-directory /tmp ${TMPFILE}.tex >/dev/null 2>/dev/null
cp ${TMPFILE}.pdf ${3}
| Shell |
#!/bin/sh
DISTANCES="25 50 75 100 125 145 147 150 152 155 157 160 162 165 167 170 172 175 177 180"
TRIALS="1 2 3 4 5"
echo WiFi Experiment Example
pCheck=`which sqlite3`
if [ -z "$pCheck" ]
then
echo "ERROR: This script requires sqlite3 (wifi-example-sim does not)."
exit 255
fi
pCheck=`which gnuplot`
if [ -z "$... | Shell |
#!/bin/sh
echo -e "!_TAG_FILE_SORTED\t2\t/2=foldcase/" > filenametags
true_find . -not -regex '.*\.\(png\|gif\)' ! -path "*svn*" ! -path "*uefi64*" -type f -printf "%f\t%p\t1\n" | true_sort -f >> filenametags
| Shell |
#!/bin/sh
echo -e "!_TAG_FILE_SORTED\t2\t/2=foldcase/" > filenametags
true_find . -not -regex '.*\.\(png\|gif\)' ! -path "*svn*" ! -path "*uefi64*" -type f -printf "%f\t%p\t1\n" | true_sort -f >> filenametags
| 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
install_script="$1"
installerName="$2"
tbz="$3" # the tar.bz2 of the php application
apacheRestarter="$4" # the setuid binary to restart Apache
version="$5"
rm -rf "$installerName"
/usr/local/bin/platypus \
-a "Web iPhoto Access installer" \
-o "Text Window" \
-i "build_resources/installer.ic... | Shell |
#!/bin/bash
install_script="$1"
installerName="$2"
tbz="$3" # the tar.bz2 of the php application
apacheRestarter="$4" # the setuid binary to restart Apache
version="$5"
rm -rf "$installerName"
/usr/local/bin/platypus \
-a "Web iPhoto Access installer" \
-o "Text Window" \
-i "build_resources/installer.ic... | Shell |
#!/bin/sh
# /System/Library/CoreServices/ServerVersion.plist : OSX server
# /System/Library/CoreServices/SystemVersion.plist : OSX standard
log=/tmp/wipha.log
date=$(date "+%d_%b_%Y-%H:%M:%S")
function test_error() {
if [ $1 != "0" ]; then
cat $log
echo "... Abort ..."
exit 1
fi
}
fu... | Shell |
#!/bin/sh
# /System/Library/CoreServices/ServerVersion.plist : OSX server
# /System/Library/CoreServices/SystemVersion.plist : OSX standard
log=/tmp/wipha.log
date=$(date "+%d_%b_%Y-%H:%M:%S")
function test_error() {
if [ $1 != "0" ]; then
cat $log
echo "... Abort ..."
exit 1
fi
}
fu... | Shell |
#!/bin/bash
install_script="$1"
installerName="$2"
tbz="$3" # the tar.bz2 of the php application
apacheRestarter="$4" # the setuid binary to restart Apache
version="$5"
rm -rf "$installerName"
/usr/local/bin/platypus \
-a "Web iPhoto Access installer" \
-o "Text Window" \
-i "build_resources/installer.ic... | Shell |
#!/bin/bash
install_script="$1"
installerName="$2"
tbz="$3" # the tar.bz2 of the php application
apacheRestarter="$4" # the setuid binary to restart Apache
version="$5"
rm -rf "$installerName"
/usr/local/bin/platypus \
-a "Web iPhoto Access installer" \
-o "Text Window" \
-i "build_resources/installer.ic... | Shell |
#!/bin/sh
# /System/Library/CoreServices/ServerVersion.plist : OSX server
# /System/Library/CoreServices/SystemVersion.plist : OSX standard
log=/tmp/wipha.log
date=$(date "+%d_%b_%Y-%H:%M:%S")
function test_error() {
if [ $1 != "0" ]; then
cat $log
echo "... Abort ..."
exit 1
fi
}
fu... | Shell |
#!/bin/sh
# /System/Library/CoreServices/ServerVersion.plist : OSX server
# /System/Library/CoreServices/SystemVersion.plist : OSX standard
log=/tmp/wipha.log
date=$(date "+%d_%b_%Y-%H:%M:%S")
function test_error() {
if [ $1 != "0" ]; then
cat $log
echo "... Abort ..."
exit 1
fi
}
fu... | Shell |
#!/bin/bash
install_script="$1"
installerName="$2"
tbz="$3" # the tar.bz2 of the php application
apacheRestarter="$4" # the setuid binary to restart Apache
version="$5"
rm -rf "$installerName"
/usr/local/bin/platypus \
-a "Web iPhoto Access installer" \
-o "Text Window" \
-i "build_resources/installer.ic... | Shell |
#!/bin/bash
install_script="$1"
installerName="$2"
tbz="$3" # the tar.bz2 of the php application
apacheRestarter="$4" # the setuid binary to restart Apache
version="$5"
rm -rf "$installerName"
/usr/local/bin/platypus \
-a "Web iPhoto Access installer" \
-o "Text Window" \
-i "build_resources/installer.ic... | Shell |
#!/bin/sh
# /System/Library/CoreServices/ServerVersion.plist : OSX server
# /System/Library/CoreServices/SystemVersion.plist : OSX standard
log=/tmp/wipha.log
date=$(date "+%d_%b_%Y-%H:%M:%S")
function test_error() {
if [ $1 != "0" ]; then
cat $log
echo "... Abort ..."
exit 1
fi
}
fu... | Shell |
#!/bin/sh
# /System/Library/CoreServices/ServerVersion.plist : OSX server
# /System/Library/CoreServices/SystemVersion.plist : OSX standard
log=/tmp/wipha.log
date=$(date "+%d_%b_%Y-%H:%M:%S")
function test_error() {
if [ $1 != "0" ]; then
cat $log
echo "... Abort ..."
exit 1
fi
}
fu... | Shell |
#!/bin/bash
install_script="$1"
installerName="$2"
tbz="$3" # the tar.bz2 of the php application
apacheRestarter="$4" # the setuid binary to restart Apache
version="$5"
rm -rf "$installerName"
/usr/local/bin/platypus \
-a "Web iPhoto Access installer" \
-o "TextWindow" \
-i "build_resources/installer.icn... | Shell |
#!/bin/bash
install_script="$1"
installerName="$2"
tbz="$3" # the tar.bz2 of the php application
apacheRestarter="$4" # the setuid binary to restart Apache
version="$5"
rm -rf "$installerName"
/usr/local/bin/platypus \
-a "Web iPhoto Access installer" \
-o "TextWindow" \
-i "build_resources/installer.icn... | Shell |
#!/bin/sh
# /System/Library/CoreServices/ServerVersion.plist : OSX server
# /System/Library/CoreServices/SystemVersion.plist : OSX standard
log=/tmp/wipha.log
date=$(date "+%d_%b_%Y-%H:%M:%S")
function test_error() {
if [ $1 != "0" ]; then
cat $log
echo "... Abort ..."
exit 1
fi
}
fu... | Shell |
#!/bin/sh
# /System/Library/CoreServices/ServerVersion.plist : OSX server
# /System/Library/CoreServices/SystemVersion.plist : OSX standard
log=/tmp/wipha.log
date=$(date "+%d_%b_%Y-%H:%M:%S")
function test_error() {
if [ $1 != "0" ]; then
cat $log
echo "... Abort ..."
exit 1
fi
}
fu... | Shell |
#!/bin/bash
install_script="$1"
installerName="$2"
tbz="$3" # the tar.bz2 of the php application
apacheRestarter="$4" # the setuid binary to restart Apache
version="$5"
rm -rf "$installerName"
/usr/local/bin/platypus \
-a "Web iPhoto Access installer" \
-o "TextWindow" \
-i "build_resources/installer.icn... | Shell |
#!/bin/bash
install_script="$1"
installerName="$2"
tbz="$3" # the tar.bz2 of the php application
apacheRestarter="$4" # the setuid binary to restart Apache
version="$5"
rm -rf "$installerName"
/usr/local/bin/platypus \
-a "Web iPhoto Access installer" \
-o "TextWindow" \
-i "build_resources/installer.icn... | Shell |
#!/bin/sh
# /System/Library/CoreServices/ServerVersion.plist : OSX server
# /System/Library/CoreServices/SystemVersion.plist : OSX standard
log=/tmp/wipha.log
date=$(date "+%d_%b_%Y-%H:%M:%S")
function test_error() {
if [ $1 != "0" ]; then
cat $log
echo "... Abort ..."
exit 1
fi
}
fu... | Shell |
#!/bin/sh
# /System/Library/CoreServices/ServerVersion.plist : OSX server
# /System/Library/CoreServices/SystemVersion.plist : OSX standard
log=/tmp/wipha.log
date=$(date "+%d_%b_%Y-%H:%M:%S")
function test_error() {
if [ $1 != "0" ]; then
cat $log
echo "... Abort ..."
exit 1
fi
}
fu... | Shell |
#!/bin/bash
install_script="$1"
installerName="$2"
tbz="$3" # the tar.bz2 of the php application
version="$4"
rm -rf "$installerName"
/usr/local/bin/platypus \
-a "Web iPhoto Access installer" \
-o "TextWindow" \
-i "build_resources/installer.icns" \
-u "Alexandre Feblot" \
-f "$(pwd)/$tbz" \
... | Shell |
#!/bin/bash
install_script="$1"
installerName="$2"
tbz="$3" # the tar.bz2 of the php application
version="$4"
rm -rf "$installerName"
/usr/local/bin/platypus \
-a "Web iPhoto Access installer" \
-o "TextWindow" \
-i "build_resources/installer.icns" \
-u "Alexandre Feblot" \
-f "$(pwd)/$tbz" \
... | Shell |
#!/bin/sh
# /System/Library/CoreServices/ServerVersion.plist
log=/tmp/wipha.log
date=$(date "+%d_%b_%Y-%H:%M:%S")
function test_error() {
if [ $1 != "0" ]; then
cat $log
echo "... Abort ..."
exit 1
fi
}
function backupOnce() {
backupFile=$1.bak_WiPha_$date
if ! [ -f $backupFi... | Shell |
#!/bin/sh
# /System/Library/CoreServices/ServerVersion.plist
log=/tmp/wipha.log
date=$(date "+%d_%b_%Y-%H:%M:%S")
function test_error() {
if [ $1 != "0" ]; then
cat $log
echo "... Abort ..."
exit 1
fi
}
function backupOnce() {
backupFile=$1.bak_WiPha_$date
if ! [ -f $backupFi... | Shell |
#!/bin/bash
install_script="$1"
installerName="$2"
tbz="$3" # the tar.bz2 of the php application
apacheRestarter="$4" # the setuid binary to restart Apache
version="$5"
rm -rf "$installerName"
/usr/local/bin/platypus \
-a "Web iPhoto Access installer" \
-o "Text Window" \
-i "build_resources/installer.ic... | Shell |
#!/bin/bash
install_script="$1"
installerName="$2"
tbz="$3" # the tar.bz2 of the php application
apacheRestarter="$4" # the setuid binary to restart Apache
version="$5"
rm -rf "$installerName"
/usr/local/bin/platypus \
-a "Web iPhoto Access installer" \
-o "Text Window" \
-i "build_resources/installer.ic... | Shell |
#!/bin/sh
# /System/Library/CoreServices/ServerVersion.plist : OSX server
# /System/Library/CoreServices/SystemVersion.plist : OSX standard
log=/tmp/wipha.log
date=$(date "+%d_%b_%Y-%H:%M:%S")
function test_error() {
if [ $1 != "0" ]; then
cat $log
echo "... Abort ..."
exit 1
fi
}
fu... | Shell |
#!/bin/sh
# /System/Library/CoreServices/ServerVersion.plist : OSX server
# /System/Library/CoreServices/SystemVersion.plist : OSX standard
log=/tmp/wipha.log
date=$(date "+%d_%b_%Y-%H:%M:%S")
function test_error() {
if [ $1 != "0" ]; then
cat $log
echo "... Abort ..."
exit 1
fi
}
fu... | Shell |
#!/bin/bash
install_script="$1"
installerName="$2"
tbz="$3" # the tar.bz2 of the php application
apacheRestarter="$4" # the setuid binary to restart Apache
version="$5"
rm -rf "$installerName"
/usr/local/bin/platypus \
-a "Web iPhoto Access installer" \
-o "Text Window" \
-i "build_resources/installer.ic... | Shell |
#!/bin/bash
install_script="$1"
installerName="$2"
tbz="$3" # the tar.bz2 of the php application
apacheRestarter="$4" # the setuid binary to restart Apache
version="$5"
rm -rf "$installerName"
/usr/local/bin/platypus \
-a "Web iPhoto Access installer" \
-o "Text Window" \
-i "build_resources/installer.ic... | Shell |
#!/bin/sh
# /System/Library/CoreServices/ServerVersion.plist : OSX server
# /System/Library/CoreServices/SystemVersion.plist : OSX standard
log=/tmp/wipha.log
date=$(date "+%d_%b_%Y-%H:%M:%S")
function test_error() {
if [ $1 != "0" ]; then
cat $log
echo "... Abort ..."
exit 1
fi
}
fu... | Shell |
#!/bin/sh
# /System/Library/CoreServices/ServerVersion.plist : OSX server
# /System/Library/CoreServices/SystemVersion.plist : OSX standard
log=/tmp/wipha.log
date=$(date "+%d_%b_%Y-%H:%M:%S")
function test_error() {
if [ $1 != "0" ]; then
cat $log
echo "... Abort ..."
exit 1
fi
}
fu... | Shell |
#!/bin/sh
#set -x
default_path=".."
default_cmd="zizler --short \$file"
tests_list=`find in/ -name '*.c' | sed -e 's#^\./\(.*\)#\1#' | sort`
prog_name=`basename $0`
# counts:
# - tests that have not been converted to test-suite format
# - tests that passed
# - tests that failed
# - tests that failed but are known to... | Shell |
#!/bin/sh
#set -x
default_path=".."
default_cmd="zizler --short \$file"
tests_list=`find in/ -name '*.c' | sed -e 's#^\./\(.*\)#\1#' | sort`
prog_name=`basename $0`
# counts:
# - tests that have not been converted to test-suite format
# - tests that passed
# - tests that failed
# - tests that failed but are known to... | Shell |
#!/bin/bash -e
#
# This script is indented to be used in automatic cronjobs for
# scanning the linux git tree for dead blocks and do coverage analysis
# on it.
#
giturl="git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git"
function usage() {
echo "usage: ${0##*/} <-d DIR> [-c REV] [-t PROCS]"
... | Shell |
#!/bin/bash -e
# This script is indented to run the undertaker on a whole linux
# tree. It will determine which files to be processed and how many
# threads can be started according to the count of processors your
# machine has. It assumes, that you have run undertaker-kconfigdump
# before, in order to create the mode... | Shell |
#!/bin/bash -e
# This script is indented to run the undertaker on a whole linux
# tree. It will determine which files to be processed and how many
# threads can be started according to the count of processors your
# machine has. It assumes, that you have run undertaker-kconfigdump
# before, in order to create the mode... | Shell |
#!/bin/bash -e
#
# This script is indented to be used in automatic cronjobs for
# scanning the linux git tree for dead blocks and do coverage analysis
# on it.
#
giturl="git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git"
function usage() {
echo "usage: ${0##*/} <-d DIR> [-c REV] [-t PROCS]"
... | Shell |
#!/bin/bash
PATH=..:../../ziz:/usr/local/bin:$PATH
export PATH
passed=0
total=0
for f in *.c; do
if ! ./test-defines.py -v0 $f; then
echo "FAILED $f";
else
echo "PASSED $f"
passed=$(( $passed + 1 ))
fi
total=$(( $total + 1 ))
done
echo "$passed/$total checks passed"
[ $passed -eq $total ] || exi... | Shell |
#!/bin/bash
PATH=..:../../ziz:/usr/local/bin:$PATH
export PATH
passed=0
total=0
for f in *.c; do
if ! ./test-defines.py -v0 $f; then
echo "FAILED $f";
else
echo "PASSED $f"
passed=$(( $passed + 1 ))
fi
total=$(( $total + 1 ))
done
echo "$passed/$total checks passed"
[ $passed -eq $total ] || exi... | Shell |
#!/bin/sh
#set -x
default_path=".."
default_cmd="undertaker -m models \$file"
tests_list=`find . -name '*.c' | sed -e 's#^\./\(.*\)#\1#' | sort`
prog_name=`basename $0`
# counts:
# - tests that have not been converted to test-suite format
# - tests that passed
# - tests that failed
# - tests that failed but are know... | Shell |
#!/bin/sh
#set -x
default_path=".."
default_cmd="undertaker -m models \$file"
tests_list=`find . -name '*.c' | sed -e 's#^\./\(.*\)#\1#' | sort`
prog_name=`basename $0`
# counts:
# - tests that have not been converted to test-suite format
# - tests that passed
# - tests that failed
# - tests that failed but are know... | Shell |
#!/bin/sh
# Check ncurses compatibility
# What library to link
ldflags()
{
for ext in so a dylib ; do
for lib in ncursesw ncurses curses ; do
$cc -print-file-name=lib${lib}.${ext} | grep -q /
if [ $? -eq 0 ]; then
echo "-l${lib}"
exit
fi
done
done
exit 1
}
# Where is ncurses.h?
ccflags()
{
if... | Shell |
#!/bin/sh
# Check ncurses compatibility
# What library to link
ldflags()
{
for ext in so a dylib ; do
for lib in ncursesw ncurses curses ; do
$cc -print-file-name=lib${lib}.${ext} | grep -q /
if [ $? -eq 0 ]; then
echo "-l${lib}"
exit
fi
done
done
exit 1
}
# Where is ncurses.h?
ccflags()
{
if... | Shell |
#!/bin/sh
# Needed for systems without gettext
$* -xc -o /dev/null - > /dev/null 2>&1 << EOF
#include <libintl.h>
int main()
{
gettext("");
return 0;
}
EOF
if [ ! "$?" -eq "0" ]; then
echo -DKBUILD_NO_NLS;
fi
| Shell |
#!/bin/sh
# Needed for systems without gettext
$* -xc -o /dev/null - > /dev/null 2>&1 << EOF
#include <libintl.h>
int main()
{
gettext("");
return 0;
}
EOF
if [ ! "$?" -eq "0" ]; then
echo -DKBUILD_NO_NLS;
fi
| Shell |
#!/bin/bash
set -e
# This script is used for precalculating the configuration models of a
# linux tree. Therefore the config is first dumped with dumpconf to an
# rsf file. This rsf file is piped to rsf2model which calculates the
# model which is used by the undertaker afterwards.
#
# dumpconf and rsf2model can be pla... | Shell |
#!/bin/bash
set -e
# This script is used for precalculating the configuration models of a
# linux tree. Therefore the config is first dumped with dumpconf to an
# rsf file. This rsf file is piped to rsf2model which calculates the
# model which is used by the undertaker afterwards.
#
# dumpconf and rsf2model can be pla... | Shell |
#!/bin/bash
set -e
# This script is used for precalculating the configuration models of a
# linux tree. Therefore the config is first dumped with dumpconf to an
# rsf file. This rsf file is piped to rsf2model which calculates the
# model which is used by the undertaker afterwards.
#
# dumpconf and rsf2model can be pla... | Shell |
#!/bin/sh
#set -x
default_path=".."
default_cmd="rsf2model \$file"
tests_list=`find . -name '*.fm' | sed -e 's#^\./\(.*\)#\1#' | sort`
prog_name=`basename $0`
# counts:
# - tests that have not been converted to test-suite format
# - tests that passed
# - tests that failed
# - tests that failed but are known to fail
... | Shell |
#!/bin/sh
#set -x
default_path=".."
default_cmd="rsf2model \$file"
tests_list=`find . -name '*.fm' | sed -e 's#^\./\(.*\)#\1#' | sort`
prog_name=`basename $0`
# counts:
# - tests that have not been converted to test-suite format
# - tests that passed
# - tests that failed
# - tests that failed but are known to fail
... | Shell |
#!/bin/bash
set -e
# This script is used for precalculating the configuration models of a
# linux tree. Therefore the config is first dumped with dumpconf to an
# rsf file. This rsf file is piped to rsf2model which calculates the
# model which is used by the undertaker afterwards.
#
# dumpconf and rsf2model can be pla... | Shell |
#!/bin/bash
{
echo "WikiStart";
wget -q -O- http://vamos.informatik.uni-erlangen.de/trac/undertaker/wiki/TitleIndex | \
sed 's/</\n/g' | egrep -o "Undertaker[^<>\" ][^<\">]*" | sort -u | grep -v Release; } | \
while read page; do
echo "Extracting $page"
wget -q -O "$page" http://vamos.infor... | Shell |
#!/bin/bash
{
echo "WikiStart";
wget -q -O- http://vamos.informatik.uni-erlangen.de/trac/undertaker/wiki/TitleIndex | \
sed 's/</\n/g' | egrep -o "Undertaker[^<>\" ][^<\">]*" | sort -u | grep -v Release; } | \
while read page; do
echo "Extracting $page"
wget -q -O "$page" http://vamos.infor... | Shell |
#!/bin/sh
## repo default configuration
##
REPO_URL='git://android.git.kernel.org/tools/repo.git'
REPO_REV='stable'
# Copyright (C) 2008 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 Lic... | Shell |
#!/bin/sh
#
# Copyright (C) 2008 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://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by app... | Shell |
#!/bin/sh
# From Gerrit Code Review 2.1.2-rc2-33-g7e30c72
#
# 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 ... | Shell |
#!/bin/sh
#
# An example hook script to verify if you are on battery, in case you
# are running Linux or OS X. Called by git-gc --auto with no arguments.
# The hook should exit with non-zero status after issuing an appropriate
# message if it wants to stop the auto repacking.
# This program is free software; you can r... | Shell |
#!/bin/sh
exec ssh -o "ControlMaster no" -o "ControlPath $REPO_SSH_SOCK" "$@"
| Shell |
#! /bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5.
#
# Calling this script install-sh is preferred over install.sh, to prevent
# `make' implicit rules from creating a file called install from it
# when there is no Makefile.
#
# This script is compatible with the BSD install script,... | 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
for file in ${1+"$@"} ; do
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
shift
pathcomp=
fo... | Shell |
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
# Free Software Foundation, Inc.
timestamp='2000-12-15'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
#... | Shell |
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
# Free Software Foundation, Inc.
timestamp='2000-12-15'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as publishe... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.