code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/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 clean make cd .. make cd lib
Shell
#!/bin/bash make clean make cd .. make cd lib
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2007-03-29.01 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 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 ...
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, 2006, # 2007, 2008 Free Software Foundation, Inc. # Originally by Gordon Matzigkeit <gord@gnu.ai.mi...
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2006-12-25.00 # 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 # depcomp - compile a program generating dependencies as side-effects scriptversion=2007-03-29.01 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 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 ...
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 # 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-06-28' # This file is (in principle) common to ALL GNU software. # The presence of a machine in thi...
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-07-22' # This file is free software; you can redistribute it and/or modify it # under the terms of th...
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2006-12-25.00 # 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 # Detects OS we're compiling on and generates build_config.mk, # which in turn gets read while processing Makefile. # build_config.mk will set the following variables: # - PORT_CFLAGS will either set: # -DLEVELDB_PLATFORM_POSIX if cstatomic is present # -DLEVELDB_PLATFORM_NOATOMI...
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-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-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-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 # 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-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 # 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 # 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-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 # 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-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-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
function zenity () { local ARGS ARGS= for a in "$@"; do case $a in --info) ARGS="$ARGS --image=gtk-dialog-info" ;; --question) ARGS="$ARGS --image=gtk-dialog-question" ;; --warning) ARGS="$ARGS --image=gtk-dialog-warning" ;; --error) ARGS="$ARGS --image=gtk-dialog-error" ;; *) ARG...
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2005-07-09.11 # Copyright (C) 1999, 2000, 2003, 2004, 2005 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 pub...
Shell
#!/bin/sh # # Time the functions. # SYSBC=/usr/bin/bc if [ x$BC = x ] ; then BC=../bc/bc fi for file in exp.b ln.b sine.b atan.b jn.b mul.b div.b raise.b sqrt.b fact.b do for prog in $SYSBC $BC $OTHERBC do echo Timing $file with $prog time $prog -l $file done done
Shell
#!/bin/sh # # Time the functions. # SYSBC=/usr/bin/bc if [ x$BC = x ] ; then BC=../bc/bc fi for file in exp.b ln.b sine.b atan.b jn.b mul.b div.b raise.b sqrt.b fact.b do for prog in $SYSBC $BC $OTHERBC do echo Timing $file with $prog time $prog -l $file done done
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2005-05-14.22 # 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 # 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= f...
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2005-07-09.11 # Copyright (C) 1999, 2000, 2003, 2004, 2005 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 pub...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2005-06-08.21 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free software; you can redistribu...
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2005-05-14.22 # 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=2005-06-08.21 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free software; you can redistribu...
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= f...
Shell
#!/bin/bash macdeployqt YACReader.app macdeployqt YACReaderLibrary.app cp -R ./utils ./YACReader.app/Contents/MacOS/ cp -R ./utils ./YACReaderLibrary.app/Contents/MacOS/ cp -R ./release/server ./YACReaderLibrary.app/Contents/MacOS/ cp -R ./release/languages ./YACReader.app/Contents/MacOS/ cp -R ./release/languages ./YA...
Shell
#!/bin/bash rm -R *.app rm -R YACReader-* cd YACReader make clean rm -R YACReader.app cd .. cd YACReaderLibrary make clean rm -R YACReaderLibrary.app cd ..
Shell
#! /bin/bash if [ $2 == "clean" ]; then ./cleanOSX.sh fi echo "Compiling YACReader" cd ./YACReader qmake -spec macx-g++ make cd .. echo "Compiling YACReaderLibrary" cd ./YACReaderLibrary qmake -spec macx-g++ make cd .. echo "Configuring release apps" cp -R ./YACReader/YACReader.app ./YACReader.app cp -R ./YACReader...
Shell
#! /bin/bash echo "Compiling YACReader" cd ./YACReader qmake make cd .. echo "Compiling YACReaderLibrary" cd ./YACReaderLibrary qmake make cd .. echo "Copying to destination folder" dest='YACReader-'$1' X11-'$2'-qt4' mkdir "$dest" cp ./YACReader/YACReader "./${dest}/YACReader" cp ./YACReaderLibrary/YACReaderLibrary ...
Shell
#! /bin/sh TSTF=/tmp/poly_comp_test.ml assert_compilation () { ocamlc PolyComp.ml $2 > /tmp/ocamlc.log 2>&1 if [ $? -ne $3 ]; then echo "=== Test \"$1\" failed:" cat /tmp/ocamlc.log fi; } cat > $TSTF << EOF open PolyComp.Comparisons;; assert (1 <> 3 && 1 < 3 && [] == [] && "ETT" >= "ABB...
Shell
#! /bin/sh TSTF=/tmp/poly_comp_test.ml assert_compilation () { ocamlc PolyComp.ml $2 > /tmp/ocamlc.log 2>&1 if [ $? -ne $3 ]; then echo "=== Test \"$1\" failed:" cat /tmp/ocamlc.log fi; } cat > $TSTF << EOF open PolyComp.Comparisons;; assert (1 <> 3 && 1 < 3 && [] == [] && "ETT" >= "ABB...
Shell
#! /bin/sh tail -n +4 $0 >/tmp/cs.$$.c && gcc -O0 -pipe -o /tmp/cs.$$ /tmp/cs.$$.c && /tmp/cs.$$ $*; rm -f /tmp/cs.$$*; exit /* #include <arpa/inet.h> */ #include <stdio.h> #include <string.h> #include <stdlib.h> #include <sys/socket.h> #include <sys/types.h> #include <netinet/tcp.h> #include <linux/dccp.h> /* #inc...
Shell
#! /bin/sh tail -n +4 $0 >/tmp/cs.$$.c && gcc -O0 -pipe -o /tmp/cs.$$ /tmp/cs.$$.c && /tmp/cs.$$ $*; rm -f /tmp/cs.$$*; exit /* #include <arpa/inet.h> */ #include <stdio.h> #include <string.h> #include <stdlib.h> #include <sys/socket.h> #include <sys/types.h> #include <netinet/tcp.h> #include <linux/dccp.h> /* #inc...
Shell
#! /bin/sh do_prepro() { H_FILE=$1 SHARP_DEF=$2 TMP=/tmp/do_prepro_$$.c if [ -f $H_FILE ]; then cat << EOF > $TMP #include "$H_FILE" #include <stdio.h> int main() { printf("let d_$SHARP_DEF = %d\n", $SHARP_DEF); return 0;} EOF else echo "Can't find $H_FILE" fi cc $TMP -o $T...
Shell
#! /bin/sh do_prepro() { H_FILE=$1 SHARP_DEF=$2 TMP=/tmp/do_prepro_$$.c if [ -f $H_FILE ]; then cat << EOF > $TMP #include "$H_FILE" #include <stdio.h> int main() { printf("let d_$SHARP_DEF = %d\n", $SHARP_DEF); return 0;} EOF else echo "Can't find $H_FILE" fi cc $TMP -o $T...
Shell
#!/bin/sh # # dex2jar - Tools to work with android .dex and java .class files # Copyright (c) 2009-2012 Panxiaobo # # 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...
Shell
#2.35 1 bp44 20 2.35 #mxyz=$3 #mb=$2 #me=$4 #adz=$1 #bdz=$5 mxyz=mol_2.xyz mb=1 me=22 adz=1.86 bdz=1.86 xyzout=tr_$mxyz topl=0.000000/16.656530/9.422356 topr=0.000000/16.656530/21.777945 xyztr $mxyz -tO $mb -o tmpM.xyz xyzrot tmpM.xyz -r2o $me z xyztr tmpM.xyz -tto $mb $topl xyztr tmpM.xyz -tz $adz mz=$(...
Shell
make #make -f makefile.xyzsort
Shell
#!/bin/bash for I in * do adb push $I /sdcard/yaak done
Shell
#!/bin/bash for I in * do adb push $I /sdcard/yaak done
Shell
#!/bin/bash # vim: set tabstop=4 shiftwidth=4 expandtab: if [ "$DEBUG" == "1" ]; then set -x fi # setup proper environment # the hook scripts have no locale set! export LANG=C LC_ALL=C PATH=/bin:/usr/bin REPOS="$1" REV="$2" # who am I SCRIPT=$(readlink -f $0) SCRIPTPATH=$(dirname $SCRIPT) # let commands be ove...
Shell
#!/bin/bash # script to remove deleted hosts(those that don't exist in the config svn anymore) # from configviewer # # * can be run standalone or via cron # * take the filesystem path to the svn root as parameter # # configviewer-cleanup <PATH-TO-SVN-ROOT> # we want to terminate on any error set -e # # local bas...
Shell
#!/bin/bash echo $1
Shell
#!/bin/bash set -u -e -E -C -o pipefail BUILD_HOST=${1?:BUILD_HOST not given} if [[ -d target/dist ]]; then LATEST=$(ls -1 target/dist/ | sort | tail -n 1) DIST_DIR=target/dist/$LATEST/dist VERSION=$LATEST elif [[ -d dist ]]; then DIST_DIR=dist VERSION=$(basename $(ls -1 $DIST_DIR/*.tar.gz | sort...
Shell
#!/bin/bash . /usr/libexec/yadt/util . /etc/default/yadt LOG_DIR=$YADT_LOG_DIR/$(date +%Y-%m-%d) LOG_FILE=$LOG_DIR/$(basename $0).$(date +%Y-%m-%d--%H-%M-%S).$(hostname -s).log umask 002 mkdir -p $LOG_DIR exec > $LOG_FILE 2>&1 housekeeping -d $YADT_LOG_DIR -c 7 EXITVALUE=$? if [ $EXITVALUE != 0 ]; then /usr/bin/...
Shell
#!/bin/bash # # this is supposed to be run from a cron job as root # # This script will run yadt-yum upgrade -y and log the output to a logfile # # set logfile, we create a new logfile for every minute. Since cron jobs # are usually run at most once per minute this should be safe to give us # a new logfile for each cr...
Shell
# YADT common bash functions # source in YADT configuration source /etc/default/yadt # return a list of "our" packages function yadt_our_packages { # recursively query requires, filtering out protected packages and non-package requires till no new "our" packages # come as a result # set some defaults YADT_OUT_P...
Shell
#!/bin/bash set -u -e -E -C -o pipefail DIST=dist SPECFILES=(yadt-client.spec) WORK="$(mktemp -d -t "$(basename $0)"-XXXXXXXXXX)" function exittrap { if [[ -n "${KEEPWORKDIR:-}" && -s "$WORK/log.txt" ]]; then sed -e 's/^/LOG: /' "$WORK/log.txt" fi ${KEEPWORKDIR:+echo Do not forget to} rm -Rf "$WOR...
Shell
#!/bin/bash # export a dir from HG and build an RPM from it VERSION='$Id: hg2rpm 6927 2012-03-14 13:40:00Z fbusse $' if ! test "$1" ; then cat <<EOF $0 $VERSION Export from HG and build an RPM package. SPEC file must be part of files checked out from HG Usage: $(basename "$0") <WORKING COPY PATH> [more rpmbui...
Shell
#!/bin/bash set -u -e -E -C -o pipefail BUILD_HOST=${1?:BUILD_HOST not given} if [[ -d dist ]]; then DIST_DIR=dist VERSION=$(basename $(ls -1 $DIST_DIR/*.tar.gz | sort | tail -n 1) .tar.gz) else echo "no dist dir found, aborting" exit 1 fi ARTEFACT=$VERSION.tar.gz echo "building rpm from $DIST_DIR/$...
Shell
#!/bin/bash rm -rf *.pyc target dist .coverage
Shell
#!/bin/bash osmosis --rx file=input.xml --mw file=output.map bbox=-1,0,0,1 encoding=single
Shell
#!/bin/bash osmosis --rx file=input.xml --mw file=output.map bbox=-1,0,0,1 encoding=double
Shell
#!/bin/bash osmosis --rx file=input.xml --mw file=output.map bbox=0.99,0.99,1.01,1.01
Shell
#!/bin/bash osmosis --rx file=input.xml --mw file=output.map bbox=0.1,0.2,0.3,0.4 map-start-position=0.15,0.25 map-start-zoom=16 preferred-language=en comment=testcomment
Shell
#!/bin/bash osmosis --rx file=input.xml --mw file=output.map bbox=0,0,0.08,0.08 debug-file=true
Shell
#!/bin/bash cd empty/ ./generate.sh cd ../file_header/ ./generate.sh cd ../single_delta_encoding/ ./generate.sh cd ../double_delta_encoding/ ./generate.sh cd ../with_data/ ./generate.sh
Shell
#!/bin/bash if [ -z $1 ]; then echo "Digite o nome do programa:" echo "ex: $0 fatorial" exit 1 else # verificando se o compilador ja existe if [ ! -e ./yacp ]; then make fi NOME_ARQ=exemplos/$1.yacp # arquivo de entrada existe? if [ ! -e ${NOME_ARQ} ]; then echo "Arquivo ${NOME_ARQ} nao ex...
Shell
#!/bin/bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP versions 4 and 5 # # CakePHP(tm) : Rapid Development Framework (http://www.cakephp.org) # Copyright 2005-2007, Cake Software Foundation, Inc. # # Licensed under ...
Shell
#!/bin/bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP versions 4 and 5 # # CakePHP(tm) : Rapid Development Framework (http://www.cakephp.org) # Copyright 2005-2007, Cake Software Foundation, Inc. # # Licensed under ...
Shell
#!/bin/sh # Detects OS we're compiling on and generates build_config.mk, # which in turn gets read while processing Makefile. # build_config.mk will set the following variables: # - PORT_CFLAGS will either set: # -DLEVELDB_PLATFORM_POSIX if cstatomic is present # -DLEVELDB_PLATFORM_NOATOMI...
Shell
#! /bin/bash # Binary of the Texturepacker: TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker # Shared Spritesheet-Output-Definitions: SPRITESHEET_OUTPUT_DIRECTORY="../assets/gfx/spritesheets/" SPRITESHEET_OUTPUT_JAVAIDS_PACKAGE="org.anddev.andengine.examples.spritesheets" SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src...
Shell
#! /bin/sh # Modified from the ant startup script to start the BeanBox example instead. # Cygwin support. $cygwin _must_ be set to either true or false. case "`uname`" in CYGWIN*) cygwin=true ;; *) cygwin=false ;; esac # For Cygwin, ensure paths are in UNIX format before anything is touched if $cygwin; then [...
Shell
#!/bin/bash # ----------------------------------------------------------------------------- # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The A...
Shell
bin/i386-apple-darwin11.3.0/spread -c spread_private.conf -n machine1
Shell
#!/bin/sh # Simple standalone build script for building and testing yadxdiag if [ ! -d "output" ]; then mkdir output fi echo "CLEAN_BUILD_TEST: Cleaning previous build..." && \ rm -rf dxdiag.txt output/msdxdiag.txt output/yadxdiag.txt && make clean && \ echo "CLEAN_BUILD_TEST: Building..." && \ make && \ ...
Shell
#!/bin/sh # Simple test of dxdiag commandline handling # Let user override location of wine, but default to just plain 'wine' WINE=${WINE:-wine} # Function to run Windows command but with parent directory as first item in PATH # so we pick up the dxdiag.exe we built # To run with native dxdiag, do 'winetricks-alpha ...
Shell