code
stringlengths
1
1.96M
language
stringclasses
1 value
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2006-10-15.18 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 Free Software # Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public Licens...
Shell
#! /bin/sh rm -f ./configure rm -f ./README rm -f ./Makefile.in rm -f ./aclocal.m4 rm -f ./NEWS rm -f ./src/Makefile.in rm -f ./INSTALL rm -f ./missing rm -f ./install-sh rm -f ./AUTHORS rm -f ./config.h.in rm -f ./ChangeLog rm -f ./COPYING rm -rf ./autom4te.cache rm -f ./depcomp
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2006-10-14.15 # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby ...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2006-05-10.23 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free software; you can redi...
Shell
#! /bin/sh touch `find .` aclocal autoconf autoheader touch NEWS README AUTHORS ChangeLog automake --add-missing
Shell
#!/bin/sh module="shortprint" device="shortprint" # invoke rmmod with all arguments we got /sbin/rmmod $module $* || exit 1 # Remove stale nodes rm -f /dev/${device}
Shell
#!/bin/sh module="shortprint" device="shortprint" mode="666" # Group: since distributions do it differently, look for wheel or use staff if grep '^staff:' /etc/group > /dev/null; then group="staff" else group="wheel" fi # invoke insmod with all arguments we got # and use a pathname, as newer modutils don't l...
Shell
#!/bin/sh module="scullc" device="scullc" # invoke rmmod with all arguments we got /sbin/rmmod $module $* || exit 1 # remove nodes rm -f /dev/${device}[0-3] /dev/${device} exit 0
Shell
#!/bin/sh module="scullc" device="scullc" mode="664" # Group: since distributions do it differently, look for wheel or use staff if grep '^staff:' /etc/group > /dev/null; then group="staff" else group="wheel" fi # remove stale nodes rm -f /dev/${device}? # invoke insmod with all arguments we got # and use a...
Shell
#!/bin/sh module="simple" device="simple" # invoke rmmod with all arguments we got /sbin/rmmod $module $* || exit 1 # Remove stale nodes rm -f /dev/${device}[rn]
Shell
#!/bin/sh module="simple" device="simple" mode="664" # Group: since distributions do it differently, look for wheel or use staff if grep '^staff:' /etc/group > /dev/null; then group="staff" else group="wheel" fi # invoke insmod with all arguments we got # and use a pathname, as newer modutils don't look in . ...
Shell
#!/bin/sh function make_minors { let part=1 while (($part < $minors)); do let minor=$part+$2 mknod $1$part b $major $minor let part=$part+1 done } # FIXME: This isn't handling minors (partitions) at all. module="sbull" device="sbull" mode="664" chardevice="sbullr" minors=16 # Group: since distributio...
Shell
#!/bin/sh module="sbull" device="sbull" # invoke rmmod with all arguments we got /sbin/rmmod $module $* || exit 1 # Remove stale nodes rm -f /dev/${device}[a-d]* /dev/${device}
Shell
#!/bin/sh module="scull" device="scull" # invoke rmmod with all arguments we got /sbin/rmmod $module $* || exit 1 # Remove stale nodes rm -f /dev/${device} /dev/${device}[0-3] rm -f /dev/${device}priv rm -f /dev/${device}pipe /dev/${device}pipe[0-3] rm -f /dev/${device}single rm -f /dev/${device}uid rm -f /dev/${de...
Shell
#!/bin/sh # $Id: scull_load,v 1.4 2004/11/03 06:19:49 rubini Exp $ module="scull" device="scull" mode="664" # Group: since distributions do it differently, look for wheel or use staff if grep -q '^staff:' /etc/group; then group="staff" else group="wheel" fi # invoke insmod with all arguments we got # and use ...
Shell
#!/bin/bash # Sample init script for the a driver module <rubini@linux.it> DEVICE="scull" SECTION="misc" # The list of filenames and minor numbers: $PREFIX is prefixed to all names PREFIX="scull" FILES=" 0 0 1 1 2 2 3 3 priv 16 pipe0 32 pipe1 33 pipe2 34 pipe3 35 ...
Shell
#!/bin/sh /sbin/ifconfig sn0 down /sbin/ifconfig sn1 down /sbin/rmmod snull
Shell
#!/bin/sh export PATH=/sbin:/bin # Use a pathname, as new modutils don't look in the current dir by default insmod ./snull.ko $* ifconfig sn0 local0 ifconfig sn1 local1
Shell
#!/bin/sh module="scullv" device="scullv" mode="664" # Group: since distributions do it differently, look for wheel or use staff if grep '^staff:' /etc/group > /dev/null; then group="staff" else group="wheel" fi # remove stale nodes rm -f /dev/${device}? # invoke insmod with all arguments we got # and use a...
Shell
#!/bin/sh module="scullv" device="scullv" # invoke rmmod with all arguments we got /sbin/rmmod $module $* || exit 1 # remove nodes rm -f /dev/${device}[0-3] /dev/${device} exit 0
Shell
#!/bin/sh module="short" device="short" mode="664" # Group: since distributions do it differently, look for wheel or use staff if grep '^staff:' /etc/group > /dev/null; then group="staff" else group="wheel" fi # invoke insmod with all arguments we got # and use a pathname, as newer modutils don't look in . b...
Shell
#!/bin/sh module="short" device="short" # invoke rmmod with all arguments we got /sbin/rmmod $module $* || exit 1 # Remove stale nodes rm -f /dev/${device}[0-7] /dev/${device}[0-7][ps] \ /dev/${device}int /dev/${device}print
Shell
#!/bin/sh module="scullp" device="scullp" # invoke rmmod with all arguments we got /sbin/rmmod $module $* || exit 1 # remove nodes rm -f /dev/${device}[0-3] /dev/${device} exit 0
Shell
#!/bin/sh module="scullp" device="scullp" mode="664" # Group: since distributions do it differently, look for wheel or use staff if grep '^staff:' /etc/group > /dev/null; then group="staff" else group="wheel" fi # remove stale nodes rm -f /dev/${device}? # invoke insmod with all arguments we got # and use a...
Shell
#!/bin/sh module="sculld" device="sculld" mode="664" # Group: since distributions do it differently, look for wheel or use staff if grep '^staff:' /etc/group > /dev/null; then group="staff" else group="wheel" fi # remove stale nodes rm -f /dev/${device}? # invoke insmod with all arguments we got # and use a...
Shell
#!/bin/sh module="sculld" device="sculld" # invoke rmmod with all arguments we got /sbin/rmmod $module $* || exit 1 # remove nodes rm -f /dev/${device}[0-3] /dev/${device} exit 0
Shell
#!/bin/bash # # $Id: gdbline,v 1.1 2004/08/02 16:27:55 corbet Exp $ # # gdbline module image # # Outputs an add-symbol-file line suitable for pasting into gdb to examine # a loaded module. # cd /sys/module/$1/sections echo -n add-symbol-file $2 `/bin/cat .text` for section in .[a-z]* *; do if [ $section != ".text"...
Shell
#!/bin/sh # An awful, dirty script for cleaning the project until # I take the time to learn how to do this with QMake... BASEDIR=`pwd` DIRS="." DIRS="$DIRS zui/modules/core" DIRS="$DIRS zui/modules/dev" DIRS="$DIRS zui/modules/nav" DIRS="$DIRS zui/modules/infograph" DIRS="$DIRS zui/modules/phone" DIRS="$DIRS zui/mod...
Shell
#!/bin/sh # An awful, dirty script for cleaning the project until # I take the time to learn how to do this with QMake... BASEDIR=`pwd` DIRS="." DIRS="$DIRS zui/modules/core" DIRS="$DIRS zui/modules/dev" DIRS="$DIRS zui/modules/nav" DIRS="$DIRS zui/modules/infograph" DIRS="$DIRS zui/modules/phone" DIRS="$DIRS zui/mod...
Shell
#!/bin/sh # The New Hotness Xephyr -ac -screen 800x480 -br -reset -terminate :1 & sleep 1s DISPLAY=:1.0 zdm -P /usr/lib/zee -c /etc/zdm/zdm.xml -s /etc/zdm/zdm.qss -R /etc/zdm/zdm.rcc # # Old and Busted: Xvfb + x11vnc method # # Xvfb :1 -screen 0 800x480x24 & zee & nitrogen --restore & xcompmgr -n & # if [ $? == 0 ]...
Shell
#!/bin/bash # # /etc/rc.d/init.d/mapserver # ### BEGIN INIT INFO # Provides: mapserver # Required-Start: nginx # Defalt-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Description: MapServer init script ### END INIT INFO # # Source function library. . /etc/init.d/functions MAPSERV_PORT=8081 MAPSERV_USER=nobody MAPSERV_G...
Shell
#!/bin/bash # # /etc/rc.d/init.d/mapserver # ### BEGIN INIT INFO # Provides: mapserver # Required-Start: nginx # Defalt-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Description: MapServer init script ### END INIT INFO # # Source function library. . /etc/init.d/functions MAPSERV_PORT=8081 MAPSERV_USER=nobody MAPSERV_G...
Shell
#!/bin/sh MAPSERV_USER=nobody MAPSERV_GROUP=nobody MAPSERV_PORT=8081 while true; do spawn-fcgi -n -p $MAPSERV_PORT -u $MAPSERV_USER -g $MAPSERV_GROUP -- /usr/bin/mapserv done
Shell
#!/bin/sh MAPSERV_USER=nobody MAPSERV_GROUP=nobody MAPSERV_PORT=8081 while true; do spawn-fcgi -n -p $MAPSERV_PORT -u $MAPSERV_USER -g $MAPSERV_GROUP -- /usr/bin/mapserv done
Shell
#!/bin/sh # The New Hotness Xephyr -ac -screen 800x480 -br -reset -terminate :1 & sleep 1s DISPLAY=:1.0 zdm -P /usr/lib/zee -c /etc/zdm/zdm.xml -s /etc/zdm/zdm.qss -R /etc/zdm/zdm.rcc # # Old and Busted: Xvfb + x11vnc method # # Xvfb :1 -screen 0 800x480x24 & zee & nitrogen --restore & xcompmgr -n & # if [ $? == 0 ]...
Shell
#!/bin/sh patch -u html/search/search.js patches/search.patch rsync -a html/ www.auroralaboratories.com:site/data/projects/zee/doc/
Shell
#!/bin/sh patch -u html/search/search.js patches/search.patch rsync -a html/ www.auroralaboratories.com:site/data/projects/zee/doc/
Shell
surum=0.7.1 get_jni_dir() { echo native-$(uname | tr '[:upper:]' '[:lower:]')-$(uname -m) }
Shell
#!/bin/sh source runbase.sh java -cp zemberek-server-${surum}.jar \ net.zemberekserver.client.socket.SocketClient
Shell
#!/bin/sh source runbase.sh case "$1" in all) mainclass="net.zemberekserver.server.ZemberekServer"; ;; dbus) mainclass="net.zemberekserver.server.dbus.ZemberekDbus"; ;; socket) mainclass="net.zemberekserver.server.socket.SocketServer"; ;; *) exit 1; ;; esac java -DUSE_DBUS_SYSTEM_CONNECTION=no \ -cp zemberek-server...
Shell
#!/bin/sh source runbase.sh java -DUSE_DBUS_SYSTEM_CONNECTION=no \ -cp zemberek-server-${surum}.jar \ -Djava.library.path=lib/$(get_jni_dir) net.zemberekserver.client.dbus.DBusClient
Shell
#!/bin/sh source runbase.sh java -DUSE_DBUS_SYSTEM_CONNECTION=no \ -cp zemberek-server-${surum}.jar \ -Djava.library.path=lib/$(get_jni_dir) net.zemberekserver.client.dbus.DBusClient
Shell
#!/bin/sh source runbase.sh case "$1" in all) mainclass="net.zemberekserver.server.ZemberekServer"; ;; dbus) mainclass="net.zemberekserver.server.dbus.ZemberekDbus"; ;; socket) mainclass="net.zemberekserver.server.socket.SocketServer"; ;; *) exit 1; ;; esac java -DUSE_DBUS_SYSTEM_CONNECTION=no \ -cp zemberek-server...
Shell
#!/bin/sh source runbase.sh java -cp zemberek-server-${surum}.jar \ net.zemberekserver.client.socket.SocketClient
Shell
#!/bin/sh java -cp zemberek-server-0.7.1.jar \ -Djava.library.path=lib/native-$(arch) net.zemberekserver.client.SocketClient
Shell
#!/bin/sh java -DUSE_DBUS_SYSTEM_CONNECTION=no \ -cp zemberek-server-0.7.1.jar \ -Djava.library.path=lib/native-$(arch) -Xverify:none -Xms12m -Xmx14m net.zemberekserver.server.ZemberekServer
Shell
#!/bin/sh java -DUSE_DBUS_SYSTEM_CONNECTION=no \ -cp zemberek-server-0.7.1.jar \ -Djava.library.path=lib/native-$(arch) net.zemberekserver.client.DBusClient
Shell
#!/bin/sh java -DUSE_DBUS_SYSTEM_CONNECTION=no \ -cp zemberek-server-0.7.1.jar \ -Djava.library.path=lib/native-$(arch) net.zemberekserver.client.DBusClient
Shell
#!/bin/sh java -DUSE_DBUS_SYSTEM_CONNECTION=no \ -cp zemberek-server-0.7.1.jar \ -Djava.library.path=lib/native-$(arch) -Xverify:none -Xms12m -Xmx14m net.zemberekserver.server.ZemberekServer
Shell
#!/bin/sh java -cp zemberek-server-0.7.1.jar \ -Djava.library.path=lib/native-$(arch) net.zemberekserver.client.SocketClient
Shell
#!/bin/sh java -cp .:lib/zemberek-cekirdek-2.1_rc1.jar:lib/zemberek-tr-2.1_rc1.jar:lib/mina-core-1.1.0.jar:zemberek-server-0.7.1_rc1.jar \ -Djava.library.path=lib/native-$(arch) net.zemberekserver.client.SocketClient
Shell
#!/bin/sh java -DUSE_DBUS_SYSTEM_CONNECTION=no \ -cp lib/zemberek-cekirdek-2.1_rc1.jar:lib/zemberek-tr-2.1_rc1.jar:lib/dbus.jar:lib/unix.jar:lib/hexdump.jar:lib/mina-core-1.1.0.jar:lib/slf4j-nop.jar:zemberek-server-0.7.1_rc1.jar \ -Djava.library.path=lib/native-$(arch) -Xverify:none -Xms12m -Xmx14m net.zemberekserver...
Shell
#!/bin/sh java -DUSE_DBUS_SYSTEM_CONNECTION=no \ -cp .:lib/dbus.jar:lib/unix.jar:lib/hexdump.jar:zemberek-server-0.7.1_rc1.jar \ -Djava.library.path=lib/native-$(arch) net.zemberekserver.client.DBusClient
Shell
#!/bin/sh java -DUSE_DBUS_SYSTEM_CONNECTION=no \ -cp .:lib/dbus.jar:lib/unix.jar:lib/hexdump.jar:zemberek-server-0.7.1_rc1.jar \ -Djava.library.path=lib/native-$(arch) net.zemberekserver.client.DBusClient
Shell
#!/bin/sh java -DUSE_DBUS_SYSTEM_CONNECTION=no \ -cp lib/zemberek-cekirdek-2.1_rc1.jar:lib/zemberek-tr-2.1_rc1.jar:lib/dbus.jar:lib/unix.jar:lib/hexdump.jar:lib/mina-core-1.1.0.jar:lib/slf4j-nop.jar:zemberek-server-0.7.1_rc1.jar \ -Djava.library.path=lib/native-$(arch) -Xverify:none -Xms12m -Xmx14m net.zemberekserver...
Shell
#!/bin/sh java -cp .:lib/zemberek-cekirdek-2.1_rc1.jar:lib/zemberek-tr-2.1_rc1.jar:lib/mina-core-1.1.0.jar:zemberek-server-0.7.1_rc1.jar \ -Djava.library.path=lib/native-$(arch) net.zemberekserver.client.SocketClient
Shell
surum=0.7.1 get_jni_dir() { echo native-$(uname | tr '[:upper:]' '[:lower:]')-$(uname -m) }
Shell
#!/bin/sh source runbase.sh java -cp zemberek-server-${surum}.jar \ net.zemberekserver.client.socket.SocketClient
Shell
#!/bin/sh source runbase.sh case "$1" in all) mainclass="net.zemberekserver.server.ZemberekServer"; ;; dbus) mainclass="net.zemberekserver.server.dbus.ZemberekDbus"; ;; socket) mainclass="net.zemberekserver.server.socket.SocketServer"; ;; *) exit 1; ;; esac java -DUSE_DBUS_SYSTEM_CONNECTION=no \ -cp zemberek-server...
Shell
#!/bin/sh source runbase.sh java -DUSE_DBUS_SYSTEM_CONNECTION=no \ -cp zemberek-server-${surum}.jar \ -Djava.library.path=lib/$(get_jni_dir) net.zemberekserver.client.dbus.DBusClient
Shell
#!/bin/sh source runbase.sh java -DUSE_DBUS_SYSTEM_CONNECTION=no \ -cp zemberek-server-${surum}.jar \ -Djava.library.path=lib/$(get_jni_dir) net.zemberekserver.client.dbus.DBusClient
Shell
#!/bin/sh source runbase.sh case "$1" in all) mainclass="net.zemberekserver.server.ZemberekServer"; ;; dbus) mainclass="net.zemberekserver.server.dbus.ZemberekDbus"; ;; socket) mainclass="net.zemberekserver.server.socket.SocketServer"; ;; *) exit 1; ;; esac java -DUSE_DBUS_SYSTEM_CONNECTION=no \ -cp zemberek-server...
Shell
#!/bin/sh source runbase.sh java -cp zemberek-server-${surum}.jar \ net.zemberekserver.client.socket.SocketClient
Shell
#!/bin/bash # Copyright 2009 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...
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
#!/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-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 # 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 # 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-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-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-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 prefix="@prefix@" exec_prefix="@exec_prefix@" exec_prefix_set=no usage="\ Usage: libmpq-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]" if test "$#" -eq "0"; then echo "${usage}" 1>&2 exit 1 fi while test "$#" -gt "0"; do case "$1" in -*=*) optarg=`echo "$1" ...
Shell
#!/bin/sh # echo "Generating build information using aclocal, autoheader, automake and autoconf" echo "This may take a while ..." # Touch the timestamps on all the files since CVS messes them up directory=`dirname $0` touch $directory/configure.ac # Regenerate configuration files libtoolize --copy aclocal autoheader ...
Shell
#!/bin/sh prefix="@prefix@" exec_prefix="@exec_prefix@" exec_prefix_set=no usage="\ Usage: libmpq-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]" if test "$#" -eq "0"; then echo "${usage}" 1>&2 exit 1 fi while test "$#" -gt "0"; do case "$1" in -*=*) optarg=`echo "$1" ...
Shell
#!/bin/sh # echo "Generating build information using aclocal, autoheader, automake and autoconf" echo "This may take a while ..." # Touch the timestamps on all the files since CVS messes them up directory=`dirname $0` touch $directory/configure.ac # Regenerate configuration files libtoolize --copy aclocal autoheader ...
Shell
#!/bin/bash perl -wpi -e "s/\t/ /g" $1
Shell
#!/bin/bash perl -wpi -e "s/ +$//g" $1
Shell
#!/bin/bash perl -wpi -e "s/ +$//g" $1
Shell
#!/bin/bash perl -wpi -e "s/\t/ /g" $1
Shell
#/bin/bash command=$(git describe --match init --abbrev=12) IFS="-" cmdarray=($command) if [ "$1" != "-id" ] && [ "$1" != "-hash" ]; then echo "Usage: $0 <-id | -hash>" exit fi if [ "${cmdarray[1]}" == "" ] || [ "${cmdarray[2]}" == "" ]; then echo "Error: No valid revision information found" exit 1 fi if [ "...
Shell
#!/bin/sh -x PROJECT="gmail-delay-send" USER="blairkutz@gmail.com" ENV=dev FILE_NAME="output/${PROJECT}.${ENV}" echo "Combining and uploading files for $ENV" rm -f ${FILE_NAME} touch ${FILE_NAME} for FILE in ../src/* do cat $FILE >> ${FILE_NAME} done python utils/googlecode_upload.py -s "Uploading for $ENV" -p ...
Shell
#!/bin/sh VERSION=BETA_0.7.3 git tag -f ${VERSION} mkdir -f output FILE_NAME=output/${VERSION}.combined for FILE in ../src/downloaded/* do cat $FILE >> ${FILE_NAME} done
Shell
#!/bin/bash # Scripts in the tools/ directory should source this file with the line: # pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null export TOOLS_DIR=$(pwd) export PROJECT_DIR=$(dirname $TOOLS_DIR) export APP_DIR=$PROJECT_DIR/app for dir in \ "$APPENGINE_DIR" \ /usr/lib/google_appen...
Shell
#!/bin/bash pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null $PYTHON $TOOLS_DIR/console.py "$@"
Shell
#!/bin/bash pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null if [ "$1" == "run" ]; then shift $PYTHON $APPENGINE_DIR/dev_appserver.py "$@" else $PYTHON $APPENGINE_DIR/appcfg.py "$@" fi
Shell
#!/bin/sh # This code has been placed in the Public Domain. All warranties # are disclaimed. version="1.2" dist="slime-$version" if [ -d $dist ]; then rm -rf $dist; fi mkdir $dist cp NEWS README HACKING PROBLEMS ChangeLog *.el *.lisp $dist/ mkdir $dist/doc cp doc/Makefile doc/slime.texi doc/texinfo-tabulate.awk $...
Shell
#!/bin/bash # Run the SLIME test suite inside screen, saving the results to a file. # This script's exit status is the number of tests failed. If no tests # fail then no output is printed. If at least one test fails then a # one-line summary is printed. # If something unexpected fails, you might get an exit code li...
Shell
#!/bin/zsh # Completion for zsh: # (based on <http://d.hatena.ne.jp/rubikitch/20071002/zshcomplete>) # # (1) install this file. # mkdir -p ~/.zsh.d # cp rb_optparse.zsh ~/.zsh.d/rb_optparse.zsh # # (2) load the script, and add a directory to fpath before compinit. # echo '. ~/.zsh.d/rb_optparse.zsh' >> ~...
Shell
#! /bin/bash # Completion for bash: # # (1) install this file, # # (2) load the script, and # . ~/.profile.d/rb_optparse.bash # # (3) define completions in your .bashrc, # rb_optparse command_using_optparse_1 # rb_optparse command_using_optparse_2 _rb_optparse() { COMPREPLY=($("${COMP_WORDS[0]}" "--*-...
Shell