code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/usr/bin/env bash
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# Generate Go code listing errors and other #defined constant
# values (ENAMETOOLONG etc.), by asking the preprocessor
# about the definitions.... | Shell |
#!/usr/bin/env bash
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# Generate Go code listing errors and other #defined constant
# values (ENAMETOOLONG etc.), by asking the preprocessor
# about the definitions.... | Shell |
#!/bin/sh
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
trap "rm -f arch_GOARCH.h defs_GOOS_GOARCH.h os_GOOS.h signals_GOOS.h" EXIT INT TERM
set -e
SYS=$1
export GOOS=$(echo $SYS | sed 's/_.*//')
export GOARC... | Shell |
#!/usr/bin/env bash
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# Environment variables that control make.bash:
#
# GOROOT_FINAL: The expected final Go root, baked into binaries.
# The default is the locatio... | Shell |
#!/usr/bin/env bash
# Copyright 2010 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
set -e
wiki_pid=
cleanup() {
kill $wiki_pid
rm -f test_*.out Test.txt final-test.bin final-test.go
}
trap cleanup 0 INT
go build -o get.bin ... | Shell |
#!/usr/bin/env bash
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
set -e
goos=$(go env GOOS)
defer_panic_recover="
defer
defer2
"
effective_go="
eff_bytesize
eff_qr
eff_sequence
"
error_handling="
er... | Shell |
#!/bin/sh
# Copyright 2012 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# This script rebuilds the time zone files using files
# downloaded from the ICANN/IANA distribution.
# Versions to use.
CODE=2011i
DATA=2011n
set -e
... | Shell |
#!/bin/bash
# Copyright 2011 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# Test the code review plugin.
# Assumes a local Rietveld is running using the App Engine SDK
# at http://localhost:7777/
#
# dev_appserver.py -p 7777... | Shell |
#! /bin/sh
#
# new botchk (for eggdrop 1.1+)
#
# $Id: botchk,v 1.4 1999/12/15 02:32:57 guppy Exp $
#
# This is a script suitable for use in a crontab. It checks to make sure
# your bot is running. YOU NEED A SEPARATE CRON JOB FOR EACH BOT. If your
# bot isn't found, it'll try to start it back up.
#
# You'll need to... | Shell |
#! /bin/sh
#
# new botchk (for eggdrop 1.1+)
#
# $Id: botchk,v 1.4 1999/12/15 02:32:57 guppy Exp $
#
# This is a script suitable for use in a crontab. It checks to make sure
# your bot is running. YOU NEED A SEPARATE CRON JOB FOR EACH BOT. If your
# bot isn't found, it'll try to start it back up.
#
# You'll need to... | Shell |
#! /bin/sh
# This trick is borrowed from Tothwolf's Wolfpack \
# Search for tclsh[0-9].[0-9] in each valid dir in PATH \
for dir in $(echo $PATH | sed 's/:/ /g'); \
do \
if test -d $dir; \
then \
files=$(/bin/ls $dir | egrep '^tclsh[0-9]\.[0-9]$'); \
if test "$files" != ""; \
then \
versions="${ve... | Shell |
#! /bin/sh
#
# botchk
#
# $Id: botchk,v 1.6 2002/02/27 18:21:46 guppy Exp $
#
# This is a script suitable for use in a crontab. It checks to make sure
# your bot is running. YOU NEED A SEPARATE CRON JOB FOR EACH BOT. If your
# bot isn't found, it'll try to start it back up.
#
# You'll need to edit this script for yo... | Shell |
#! /bin/sh
# This trick is borrowed from Tothwolf's Wolfpack \
# Search for tclsh[0-9].[0-9] in each valid dir in PATH \
for dir in $(echo $PATH | sed 's/:/ /g'); \
do \
if test -d $dir; \
then \
files=$(/bin/ls $dir | egrep '^tclsh[0-9]\.[0-9]$'); \
if test "$files" != ""; \
then \
versions="${ve... | Shell |
#! /bin/sh
# This trick is borrowed from Tothwolf's Wolfpack \
# Search for tclsh[0-9].[0-9] in each valid dir in PATH \
for dir in $(echo $PATH | sed 's/:/ /g'); \
do \
if test -d $dir; \
then \
files=$(/bin/ls $dir | egrep '^tclsh[0-9]\.[0-9]$'); \
if test "$files" != ""; \
then \
versions="${ve... | Shell |
#! /bin/sh
#
# botchk
#
# $Id: botchk,v 1.6 2002/02/27 18:21:46 guppy Exp $
#
# This is a script suitable for use in a crontab. It checks to make sure
# your bot is running. YOU NEED A SEPARATE CRON JOB FOR EACH BOT. If your
# bot isn't found, it'll try to start it back up.
#
# You'll need to edit this script for yo... | Shell |
#! /bin/sh
# This trick is borrowed from Tothwolf's Wolfpack \
# Search for tclsh[0-9].[0-9] in each valid dir in PATH \
for dir in $(echo $PATH | sed 's/:/ /g'); \
do \
if test -d $dir; \
then \
files=$(/bin/ls $dir | egrep '^tclsh[0-9]\.[0-9]$'); \
if test "$files" != ""; \
then \
versions="${ve... | Shell |
#! /bin/sh
#
# new botchk (for eggdrop 1.1+)
#
# $Id: botchk,v 1.4 1999/12/15 02:32:57 guppy Exp $
#
# This is a script suitable for use in a crontab. It checks to make sure
# your bot is running. YOU NEED A SEPARATE CRON JOB FOR EACH BOT. If your
# bot isn't found, it'll try to start it back up.
#
# You'll need to... | Shell |
#! /bin/sh
#
# new botchk (for eggdrop 1.1+)
#
# $Id: botchk,v 1.4 1999/12/15 02:32:57 guppy Exp $
#
# This is a script suitable for use in a crontab. It checks to make sure
# your bot is running. YOU NEED A SEPARATE CRON JOB FOR EACH BOT. If your
# bot isn't found, it'll try to start it back up.
#
# You'll need to... | Shell |
#!/bin/bash
# /etc/init.d/usbauto
#
#This will mount usb drive after boot up and umount before shutdown
case "$1" in
start)
echo "Mounting Drives"
echo "/dev/disk/by-id/ata-Hitachi_HDP725032GLA380_GEK033RG2WZUWC-part2 swap swap defaults 0 0" > /etc/fstab
echo "UUID=ca43824d-0dda-4c36-a9c1-c55282... | Shell |
#!/bin/bash
# /etc/init.d/usbauto
#
#This will mount usb drive after boot up and umount before shutdown
case "$1" in
start)
echo "Mounting Drives"
echo "/dev/disk/by-id/ata-Hitachi_HDP725032GLA380_GEK033RG2WZUWC-part2 swap swap defaults 0 0" > /etc/fstab
echo "UUID=ca43824d-0dda-4c36-a9c1-c55282... | Shell |
#!/bin/bash
IFS_BAK=$IFS
IFS="
"
inv="/Data/inventory"
invT="/Data/inventory/temp"
invRW1="/Data/inventory/temp/qgmraw1"
invRW2="/Data/inventory/temp/qgmraw2"
mediaA="/Data/MovieA/"
mediaB="/Data/MovieB/"
mediaC="/Data/MovieT1/"
mediaD="/Data/MovieT2/"
echo "Generating TVShow List....."
/usr/bin/find $mediaA -size ... | Shell |
#!/bin/bash
IFS_BAK=$IFS
IFS="
"
inv="/Data/inventory"
invT="/Data/inventory/temp"
invRW1="/Data/inventory/temp/raw1"
invRW2="/Data/inventory/temp/raw2"
mediaA="/Data/ShowA/"
mediaB="/Data/ShowB/"
mediaC="/Data/ShowC/"
echo "Generating TVShow List....."
/usr/bin/find $mediaA -size +5M -exec ls -sdh --block-size=M {... | Shell |
#!/bin/bash
IFS_BAK=$IFS
IFS="
"
inv="/Data/inventory"
invT="/Data/inventory/temp"
invRW1="/Data/inventory/temp/qgmraw1"
invRW2="/Data/inventory/temp/qgmraw2"
mediaA="/Data/MovieA/"
mediaB="/Data/MovieB/"
mediaC="/Data/MovieT1/"
mediaD="/Data/MovieT2/"
echo "Generating TVShow List....."
/usr/bin/find $mediaA -size ... | Shell |
#!/bin/bash
IFS_BAK=$IFS
IFS="
"
inv="/Data/inventory"
invT="/Data/inventory/temp"
invRW1="/Data/inventory/temp/raw1"
invRW2="/Data/inventory/temp/raw2"
mediaA="/Data/ShowA/"
mediaB="/Data/ShowB/"
mediaC="/Data/ShowC/"
echo "Generating TVShow List....."
/usr/bin/find $mediaA -size +5M -exec ls -sdh --block-size=M {... | Shell |
#!/bin/bash
IFS_BAK=$IFS
IFS="
"
inv="/Data/inventory"
invT="/Data/inventory/temp"
mediaA="/Data/MovieA"
mediaB="/Data/MovieB"
mediaT1="/Data/MovieT2"
mediaT2="/Data/MovieT2"
/bin/ls -1 $mediaA > $invT/movielistA
/bin/ls -1 $mediaB > $invT/movielistB
/bin/ls -1 $mediaT1 > $invT/movielistT1
/bin/ls -1 $mediaT2 > $invT... | Shell |
#!/bin/bash
IFS_BAK=$IFS
IFS="
"
inv="/Data/inventory"
invT="/Data/inventory/temp"
mediaA="/Data/MovieA"
mediaB="/Data/MovieB"
mediaT1="/Data/MovieT2"
mediaT2="/Data/MovieT2"
/bin/ls -1 $mediaA > $invT/movielistA
/bin/ls -1 $mediaB > $invT/movielistB
/bin/ls -1 $mediaT1 > $invT/movielistT1
/bin/ls -1 $mediaT2 > $invT... | Shell |
#!/bin/sh
cd /private/var/mobile/Library/Preferences/XBMC/addons/script.atv2updatenighlybuild
echo Deleting old nightly install file
rm xbmc-.*-.*-master-atv2.deb
xbmcdir=http://mirrors.xbmc.org/nightlies/darwin/atv2
wget -q $xbmcdir /private/var/mobile/Library/Preferences/XBMC/addons/script.atv2updatenighlybuild
xbmcd... | Shell |
#!/bin/sh
cd /private/var/mobile/Library/Preferences/XBMC/addons/script.atv2updatenighlybuild
echo Deleting old nightly install file
rm xbmc-.*-.*-master-atv2.deb
xbmcdir=http://mirrors.xbmc.org/nightlies/darwin/atv2
wget -q $xbmcdir /private/var/mobile/Library/Preferences/XBMC/addons/script.atv2updatenighlybuild
xbmcd... | Shell |
#!/bin/sh
cd src/ && zip -q -r /tmp/xbmc-tvshack.zip * -x */*.svn/*
if [ 0 -eq $? ]; then
echo "Package created in /tmp/xbmc-tvshack.zip"
else
echo "Could not create package!"
fi | Shell |
#!/bin/sh
cd src/ && zip -q -r /tmp/xbmc-tvshack.zip * -x */*.svn/*
if [ 0 -eq $? ]; then
echo "Package created in /tmp/xbmc-tvshack.zip"
else
echo "Could not create package!"
fi | Shell |
#!/bin/sh
cd src/ && zip -q -r /tmp/xbmc-tvshack.zip * -x */*.svn/*
if [ 0 -eq $? ]; then
echo "Package created in /tmp/xbmc-tvshack.zip"
else
echo "Could not create package!"
fi | Shell |
#!/bin/sh
cd src/ && zip -q -r /tmp/xbmc-tvshack.zip * -x */*.svn/*
if [ 0 -eq $? ]; then
echo "Package created in /tmp/xbmc-tvshack.zip"
else
echo "Could not create package!"
fi | Shell |
#!/bin/sh
cd src/ && zip -q -r /tmp/xbmc-tvshack.zip * -x */*.svn/*
if [ 0 -eq $? ]; then
echo "Package created in /tmp/xbmc-tvshack.zip"
else
echo "Could not create package!"
fi | Shell |
#!/bin/sh
cd src/ && zip -q -r /tmp/xbmc-tvshack.zip * -x */*.svn/*
if [ 0 -eq $? ]; then
echo "Package created in /tmp/xbmc-tvshack.zip"
else
echo "Could not create package!"
fi | Shell |
#!/bin/bash
svn export --force src/ ~/.xbmc/addons/plugin.video.tvshack
mv ~/.xbmc/addons/plugin.video.tvshack/resources/logging-debug.conf ~/.xbmc/addons/plugin.video.tvshack/resources/logging.conf
| Shell |
#!/bin/bash
svn export --force src/ ~/.xbmc/addons/plugin.video.tvshack
mv ~/.xbmc/addons/plugin.video.tvshack/resources/logging-debug.conf ~/.xbmc/addons/plugin.video.tvshack/resources/logging.conf
| Shell |
#!/bin/sh
cd src/ && zip -q -r /tmp/xbmc-tvshack.zip * -x */*.svn/*
if [ 0 -eq $? ]; then
echo "Package created in /tmp/xbmc-tvshack.zip"
else
echo "Could not create package!"
fi | Shell |
#!/bin/sh
cd src/ && zip -q -r /tmp/xbmc-tvshack.zip * -x */*.svn/*
if [ 0 -eq $? ]; then
echo "Package created in /tmp/xbmc-tvshack.zip"
else
echo "Could not create package!"
fi | Shell |
#!/bin/bash
# download packlist
TMP="$(mktemp)"
wget "http://arutha.rapidspeeds.com:4000/txt" -O "$TMP"
SRC="$TMP"
# print bot's name to stdout
echo "THORA|Arutha"
# grep for packs and print pack numbers to stdout
for i in \
"Wonderful_Days" \
"Bakemonogatari_Ep0[6-9]" \
;do
grep "$i" "$SRC" | awk '{print $1}' ... | Shell |
#!/bin/bash
# download packlist
TMP="$(mktemp)"
TMP2="$(mktemp)"
wget "http://www.sailormooncenter.net/3/xdcc_list" -O "$TMP2"
awk '/Usagi packlist/, /\/pre/' "$TMP2" > "$TMP"
rm $TMP2
SRC="$TMP"
# print bot's name to stdout
echo "SMC|Usagi"
# grep for packs and print pack numbers to stdout
for i in \
" Sailor Moon... | Shell |
cp -R $1 $2
cd $2
for i in $1*; do mv $i ${i/$1/$2}; done | xargs
perl -pi -e 's/'"$1"'/'"$2"'/g;' $(find .)
| Shell |
g++ $@ -DNDEBUG -I /usr/local/include -I ../misc -I . -O3 -o xbt_tracker \
-Wl,-R/usr/local/lib/gcc44 \
../misc/sql/database.cpp \
../misc/sql/sql_query.cpp \
../misc/sql/sql_result.cpp \
../misc/bt_misc.cpp \
../misc/bvalue.cpp \
../misc/sha1.cpp \
../misc/socket.cpp \
../misc/virtual_binary.cpp \
../misc/xc... | 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 |
#!/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 |
#! /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
# 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
# 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
# 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
# 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
# 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
# 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
# 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
# libtoolT - Provide generalized library-building support services.
# Generated automatically by (GNU wxdummy 1)
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
# Free Software Foundation, Inc.
#
# This file is part of GNU Libtool:
# O... | Shell |
#! /bin/sh
# libtoolT - Provide generalized library-building support services.
# Generated automatically by (GNU wxdummy 1)
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
# Free Software Foundation, Inc.
#
# This file is part of GNU Libtool:
# O... | Shell |
#!/bin/sh
aclocal
libtoolize --automake --force --copy
automake -a -c
autoconf
| Shell |
#!/bin/sh
aclocal
libtoolize --automake --force --copy
automake -a -c
autoconf
| Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
errstatus=0
dirmode=""
usage="\
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
# process command line arguments
while test $# -gt 0 ; do
case $1 in
-h | --help... | 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
# depcomp - compile a program generating dependencies as side-effects
# Copyright 1999, 2000 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 Foundation; either ve... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
# Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU ... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
errstatus=0
dirmode=""
usage="\
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
# process command line arguments
while test $# -gt 0 ; do
case $1 in
-h | --help... | Shell |
#! /bin/bash
# libtoolT - Provide generalized library-building support services.
# Generated automatically by (GNU dummy 1)
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
# Free Software Foundation, Inc.
#
# This file is part of GNU Libtool:
# O... | Shell |
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
timestamp='2003-06-18'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that S... | Shell |
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
timestamp='2003-06-17'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public L... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
# Copyright 1999, 2000 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 Foundation; either ve... | 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
# Common stub for a few missing GNU programs while installing.
# Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU ... | 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/bash
# libtoolT - Provide generalized library-building support services.
# Generated automatically by (GNU dummy 1)
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
# Free Software Foundation, Inc.
#
# This file is part of GNU Libtool:
# O... | Shell |
#!/bin/sh
#
# This file is part of Apparat.
#
# Apparat is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Apparat is distribu... | Shell |
#!/bin/sh
#
# This file is part of Apparat.
#
# Apparat is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Apparat is distribu... | Shell |
#!/bin/sh
#
# This file is part of Apparat.
#
# Apparat is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Apparat is distribu... | Shell |
#!/bin/sh
#
# This file is part of Apparat.
#
# Apparat is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Apparat is distribu... | Shell |
#!/bin/sh
#
# This file is part of Apparat.
#
# Apparat is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Apparat is distribu... | Shell |
#!/bin/sh
#
# This file is part of Apparat.
#
# Apparat is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Apparat is distribu... | Shell |
#!/bin/sh
#
# This file is part of Apparat.
#
# Apparat is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Apparat is distribu... | Shell |
#!/bin/sh
#
# This file is part of Apparat.
#
# Apparat is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Apparat is distribu... | Shell |
#!/bin/sh
#
# This file is part of Apparat.
#
# Apparat is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Apparat is distribu... | Shell |
#!/bin/sh
WITH_USB=1
LIBUSB_WIN32_BIN_VERSION="1.2.6.0"
LIBUSB_WIN32_BIN_ARCHIVE="libusb-win32-bin-$LIBUSB_WIN32_BIN_VERSION.zip"
LIBUSB_WIN32_BIN_URL="http://freefr.dl.sourceforge.net/project/libusb-win32/libusb-win32-releases/$LIBUSB_WIN32_BIN_VERSION/$LIBUSB_WIN32_BIN_ARCHIVE"
LIBUSB_WIN32_BIN_DIR="libusb-win32-bi... | Shell |
#!/bin/sh
cat << EOF | \
pn53x-tamashell |\
awk '\
/^> #.*:/{
sub(/^> #/,"")
n=$0
for (i=0;i<8-length();i++) {
n= n " "
}
getline
getline
getline
sub(/Rx: 00/,"")
gsub(/ +/," ")
... | Shell |
#!/bin/sh
ID=$(cat << EOF | \
pn53x-tamashell |\
grep -A1 "^Tx: 42 01 0b 3f 80" |\
sed -e '1d' -e "s/^Rx: 00 .. .. \(.. .. .. ..\).*/\1/" -e 's/ //g'
# Timeouts
3205000002
# ListTarget ModeB
4a010300
# TypeB' APGEN
42010b3f80
EOF
)
if [ -z "$ID" ]; then
echo "Error: I was not abble to read Nav... | Shell |
#! /bin/sh
# Stop script on first error.
set -e
# Retrieve libnfc version from configure.ac
LIBNFC_VERSION=$(grep AC_INIT configure.ac | sed 's/^.*\[libnfc\],\[\(.*\)\],\[.*/\1/g')
echo "=== Building release archive for libnfc $LIBNFC_VERSION ==="
# Easiest part: GNU/linux, BSD and other POSIX systems.
LIBNFC_AUTOTO... | Shell |
#!/bin/sh
export BASE_DIR="`dirname $0`"
if test -z "$NO_MAKE"; then
make -C "$BASE_DIR/../" > /dev/null || exit 1
fi
if test -z "$CUTTER"; then
CUTTER="`make -s -C "$BASE_DIR" echo-cutter`"
fi
"$CUTTER" --keep-opening-modules -s "$BASE_DIR" "$@" "$BASE_DIR"
# ^^^^^^^^^^^^^^^^^^^^^^
# FIXME: Remove ... | Shell |
# Maintainer: Aaron Ali <t0nedef@causal.ca>
pkgname=xbmc-repo-causal
pkgver=2.1.0
pkgrel=2
pkgdesc="Adds causal.ca's XBMC plugin repository"
arch=('any')
url="http://aur.causal.ca/xbmc/addons"
license=('GPL')
depends=('xbmc')
install=install
source=(addon.xml icon.png)
package() {
install -Dm644 ${srcdir}/addon.xml $... | 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-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
# 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-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
# 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
# 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-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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.