code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/sh # # @(#)postinstall $Id: preremove,v 1.2 2006/01/25 13:22:56 coyote Exp $ # # postinstall script for quake3 quake3_dir=$BASEDIR exit 0
Shell
#!/bin/sh # # @(#)postinstall $Id: postinstall,v 1.2 2006/01/25 13:22:56 coyote Exp $ # # postinstall script for quake3 quake3_dir=$BASEDIR exit 0
Shell
#!/bin/sh # # @(#)postinstall $Id: postremove,v 1.2 2006/01/25 13:22:56 coyote Exp $ # # postinstall script for quake3 quake3_dir=$BASEDIR exit 0
Shell
#!/bin/sh # # @(#)postinstall $Id: postinstall,v 1.2 2006/01/25 13:22:56 coyote Exp $ # # postinstall script for quake3 quake3_dir=$BASEDIR exit 0
Shell
#!/bin/sh # # @(#)postinstall $Id: postremove,v 1.2 2006/01/25 13:22:56 coyote Exp $ # # postinstall script for quake3 quake3_dir=$BASEDIR exit 0
Shell
#!/bin/sh # # @(#)postinstall $Id: preinstall,v 1.2 2006/01/25 13:22:56 coyote Exp $ # # postinstall script for quake3 quake3_dir=$BASEDIR exit 0
Shell
#!/bin/sh # # @(#)postinstall $Id: preremove,v 1.2 2006/01/25 13:22:56 coyote Exp $ # # postinstall script for quake3 quake3_dir=$BASEDIR exit 0
Shell
#!/bin/bash # Rev: $Id: ioquake3.sh,v 1.11 2006/01/18 13:47:42 raistlin Exp raistlin $ # Needed to make symlinks/shortcuts work. # the binaries must run with correct working directory IOQ3_DIR=/usr/local/share/games/quake3 if [ "x${LD_LIBRARY_PATH}" = "x" ]; then LD_LIBRARY_PATH="${IOQ3_DIR}/lib" else LD_LIBRARY_PA...
Shell
#!/bin/bash # Rev: $Id: ioq3ded.sh,v 1.9 2006/01/18 13:47:42 raistlin Exp raistlin $ # Needed to make symlinks/shortcuts work. # the binaries must run with correct working directory IOQ3_DIR=/usr/local/share/games/quake3 if [ "x${LD_LIBRARY_PATH}" = "x" ]; then LD_LIBRARY_PATH="${IOQ3_DIR}/lib" else LD_LIBRARY_PATH...
Shell
#!/bin/bash # Rev: $Id: ioq3ded.sh,v 1.9 2006/01/18 13:47:42 raistlin Exp raistlin $ # Needed to make symlinks/shortcuts work. # the binaries must run with correct working directory IOQ3_DIR=/usr/local/share/games/quake3 if [ "x${LD_LIBRARY_PATH}" = "x" ]; then LD_LIBRARY_PATH="${IOQ3_DIR}/lib" else LD_LIBRARY_PATH...
Shell
#!/bin/sh # # @(#)postinstall $Id: preinstall,v 1.2 2006/01/25 13:22:56 coyote Exp $ # # postinstall script for quake3 quake3_dir=$BASEDIR exit 0
Shell
#!/bin/sh # # @(#)postinstall $Id: preremove,v 1.2 2006/01/25 13:22:56 coyote Exp $ # # postinstall script for quake3 quake3_dir=$BASEDIR exit 0
Shell
#!/bin/sh # # @(#)postinstall $Id: postinstall,v 1.2 2006/01/25 13:22:56 coyote Exp $ # # postinstall script for quake3 quake3_dir=$BASEDIR exit 0
Shell
#!/bin/sh # # @(#)postinstall $Id: postremove,v 1.2 2006/01/25 13:22:56 coyote Exp $ # # postinstall script for quake3 quake3_dir=$BASEDIR exit 0
Shell
#!/bin/sh # # @(#)postinstall $Id: postinstall,v 1.2 2006/01/25 13:22:56 coyote Exp $ # # postinstall script for quake3 quake3_dir=$BASEDIR exit 0
Shell
#!/bin/sh # # @(#)postinstall $Id: postremove,v 1.2 2006/01/25 13:22:56 coyote Exp $ # # postinstall script for quake3 quake3_dir=$BASEDIR exit 0
Shell
#!/bin/sh # # @(#)postinstall $Id: preinstall,v 1.2 2006/01/25 13:22:56 coyote Exp $ # # postinstall script for quake3 quake3_dir=$BASEDIR exit 0
Shell
#!/bin/sh # # @(#)postinstall $Id: preremove,v 1.2 2006/01/25 13:22:56 coyote Exp $ # # postinstall script for quake3 quake3_dir=$BASEDIR exit 0
Shell
#!/bin/sh rmdir --ignore-fail-on-non-empty demoq3 missionpack >& /dev/null if test -e "$SETUP_INSTALLPATH"/ioquake3.desktop.in; then xdg_desktop_menu=`which xdg-desktop-menu 2>/dev/null` if test "x$xdg_desktop_menu" = x; then xdg_desktop_menu=./xdg-desktop-menu fi $xdg_desktop_menu uninstall --novendor ioqu...
Shell
#!/bin/sh export CC=i586-mingw32msvc-gcc export WINDRES=i586-mingw32msvc-windres export PLATFORM=mingw32 if [ !$ARCH ] then export ARCH=x86 fi exec make $*
Shell
#!/bin/sh APPBUNDLE=ioquake3.app BINARY=ioquake3.ub DEDBIN=ioq3ded.ub PKGINFO=APPLIOQ3 ICNS=misc/quake3.icns DESTDIR=build/release-darwin-ub BASEDIR=baseq3 MPACKDIR=missionpack BIN_OBJ=" build/release-darwin-ppc/ioquake3-smp.ppc build/release-darwin-i386/ioquake3-smp.i386 " BIN_DEDOBJ=" build/release-darwin-ppc/ioq...
Shell
#!/bin/sh exec ../google_appengine/dev_appserver.py \ --host 0.0.0.0 --port 1111 .
Shell
#!/bin/bash # This is a shell script for keeping the support code # for the 15-410 kernel up to date. # # Ivan Jager (aij) # ########################################################### # Usage: # update.sh <how> [query] # # <how>: # afs - update files by comparing md5sums # tak...
Shell
#!/bin/bash # This is a shell script for keeping the support code # for the 15-410 kernel up to date. # # Ivan Jager (aij) # ########################################################### # Usage: # update.sh <how> [query] # # <how>: # afs - update files by comparing md5sums # tak...
Shell
clear gcc -pedantic -W -Wall -O2 lab1.c printf "sine-1 output:\n" ./a.out my-sine-1-output.bin printf "correct output:\n" cat correct-output-sine-1.txt printf "###########################################\n" printf "sine-2 output:\n" ./a.out my-sine-2-output.bin printf "correct output:\n" cat correct-output-sine-2.txt
Shell
rm lab-06.exe test.bin test-out-txt gcc -ansi -pedantic -W -Wall -Wextra -Werror -O2 -o lab-06.exe lab-06.c ./lab-06.exe sine-2.txt test.bin >> test-out-txt
Shell
#!/bin/sh # Author: Yuan Li # Titile: lab8 for the 15123 summer # Date: Aug 23 2011 #clean up cleanFiles() { rm -f submissions.tar rm -rf submissions } #get the submission files getSubmissions() { wget http://www.cs.cmu.edu/~thoffman/15-123/lab-XC/submissions.tar tar xvf submissions.tar } #process a submission do...
Shell
#!/bin/sh # Author: Yuan Li # Titile: lab8 for the 15123 summer # Date: Aug 23 2011 #clean up cleanFiles() { rm -f submissions.tar rm -rf submissions } #get the submission files getSubmissions() { wget http://www.cs.cmu.edu/~thoffman/15-123/lab-XC/submissions.tar tar xvf submissions.tar } #process a submission do...
Shell
clear gcc -ansi -pedantic -W -Wall -O2 lab-02-starter.c #gcc -ansi -pedantic -W -O2 lab-02-starter.c #./a.out 100-words.txt 100-words-output.txt #./a.out 5000-words.txt 5000-words-output.txt ./a.out 29000-words.txt 29000-words-output.txt
Shell
rm lab-05.exe myoutput-1.txt sorted-myoutput-1.txt rm myoutput-2.txt sorted-myoutput-2.txt rm myoutput-3.txt sorted-myoutput-3.txt gcc -ansi -pedantic -W -Wall -Werror -Wall -Wextra -O2 -o lab-05.exe lab-05.c ./lab-05.exe input-1.txt >> myoutput-1.txt ./convert-output-to-sorted.pl myoutput-1.txt diff -a -b sorted-myout...
Shell
#!/usr/bin/env bash ############################################################################## ## ## Gradle start up script for UN*X ## ############################################################################## # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to ...
Shell
#!/bin/bash # Variable sanitazing function - at least we try... function sanitize() { echo "${*//[^a-zA-Z0-9 .,;:&#-]/_}" } if [ "$1" == "ul_ov" ] then spellsite="http://www.undeadspells.com/overlords/showspells.php" website="www.undeadlive.com" own_id=223980302 game=undead serverid=_undead_j2 old_code...
Shell
#!/bin/bash # Variable sanitazing function - at least we try... function sanitize() { echo "${*//[^a-zA-Z0-9 .,;:&#-]/_}" } if [ "$1" == "ul_ov" ] then spellsite="http://www.undeadspells.com/overlords/showspells.php" website="www.undeadlive.com" own_id=223980302 game=undead serverid=_undead_j2 old_code...
Shell
#!/bin/bash if [ "$1" == "ul" ] then spellsite="http://www.undeadspells.com/overlords/showspells.php" website="www.undeadlive.com" own_id=223980302 game=undead serverid=_undead_j2 old_code_file=oldspells ok="Success:" nok="Failure:" elif [ "$1" == "eow" ]...
Shell
#!/bin/bash if [ "$1" == "ul" ] then spellsite="http://www.undeadspells.com/overlords/showspells.php" website="www.undeadlive.com" own_id=223980302 game=undead serverid=_undead_j2 old_code_file=oldspells ok="Success:" nok="Failure:" elif [ "$1" == "eow" ]...
Shell
#!/bin/bash #/bin/cp /home/sioban/.mozilla/firefox-3.5/2gufwxr0.default/cookies.sqlite . #session=$(sqlite3 -line cookies.sqlite 'select value from moz_cookies where name = "_undead_session" order by expiry DESC;' | head -1 | sed "s/value = //") session="$(cat cookie)" ifile=codes_undeadlive.txt # ifile=invite.list ...
Shell
#!/bin/bash #/bin/cp /home/sioban/.mozilla/firefox-3.5/2gufwxr0.default/cookies.sqlite . #session=$(sqlite3 -line cookies.sqlite 'select value from moz_cookies where name = "_undead_session" order by expiry DESC;' | head -1 | sed "s/value = //") session="$(cat cookie)" ifile=codes_undeadlive.txt # ifile=invite.list ...
Shell
#!/bin/sh # ------------------------------------------------------------------------ # The agavi build script for Unix based systems # # If using svn.. # Copy into your path somewhere, (cp agavi-dist ~/bin) # change it's name to 'agavi', (mv ~/bin/agavi-dist ~/bin/agavi) # fix the AGAVI_INSTALLATION variable as noted ...
Shell
#!/bin/sh # ------------------------------------------------------------------------ # The agavi build script for Unix based systems # # If using svn.. # Copy into your path somewhere, (cp agavi-dist ~/bin) # change it's name to 'agavi', (mv ~/bin/agavi-dist ~/bin/agavi) # fix the AGAVI_INSTALLATION variable as noted ...
Shell
#!/bin/sh # Rudimentary tests for audio utility programs # $Id: txxxAudio 1.12 1999/06/07 AFsp-v9r0 $ AUDIOPATH=audiofiles export AUDIOPATH CA=../bin/CompAudio CP=../bin/CopyAudio FA=../bin/FiltAudio RS=../bin/ResampAudio $CP --version $CA --version $FA --version $RS --version echo "" echo "========== CopyAudio: s...
Shell
#!/bin/sh # Differences in the outputs of test scripts can be obscured by differences in # dates and file paths. # # This script filters out date strings and file paths from the input stream # and replaces them with a canonical string. # Example # % tFiltAudio | filter_log > new.log # % diff new.log tFiltAudio.lo...
Shell
#!/bin/sh # Rudimentary tests for audio utility programs # $Id: txxxAudio 1.12 1999/06/07 AFsp-v9r0 $ AUDIOPATH=audiofiles export AUDIOPATH CA=../bin/CompAudio CP=../bin/CopyAudio FA=../bin/FiltAudio RS=../bin/ResampAudio $CP --version $CA --version $FA --version $RS --version echo "" echo "========== CopyAudio: s...
Shell
#!/bin/sh # Differences in the outputs of test scripts can be obscured by differences in # dates and file paths. # # This script filters out date strings and file paths from the input stream # and replaces them with a canonical string. # Example # % tFiltAudio | filter_log > new.log # % diff new.log tFiltAudio.lo...
Shell
g++ -o jizhong concentrator.cpp ../include/libutils.cpp ../include/protocol.cpp -I ../include -Wall
Shell
#!/bin/sh find . -type f | egrep -v '.svn|.pdf|.exe' | xargs wc -l
Shell
#!/bin/sh find . -type f | egrep -v '.svn|.pdf|.exe' | xargs wc -l
Shell
g++ -o meter meter.cpp ../include/libutils.cpp ../include/dlt645.cpp -I ../include/
Shell
#!/bin/sh curl -v -H "Accept:" -H "Expect:" -H "SOAPAction: \"urn:AccountServer#jfc_login\"" -H "Content-Type: text/xml; charset=\"utf-8\"" -A "Borland SOAP 1.2" -H "Connection: Keep-Alive" -H "Cache-Control: no-cache" -d @jfc_login_wireshark2.xml http://wall.usts.edu.cn/jf6/jfs.php
Shell
#!/bin/sh # TomatoUSB's lib directory is read-only, I can't copy libcurl.so to it. # So I add . to LD_LIBRARY_PATH and export it, then sub shell can use # curl directly. # Static linking of curl itself is diffcult. LD_LIBRARY_PATH=.:${LD_LIBRARY_PATH} export LD_LIBRARY_PATH # first send 'login' sh curl_login.sh # ...
Shell
#!/bin/sh curl -v -H "Accept:" -H "Expect:" -H "SOAPAction: \"urn:AccountServer#jfc_login\"" -H "Content-Type: text/xml; charset=\"utf-8\"" -A "Borland SOAP 1.2" -H "Connection: Keep-Alive" -H "Cache-Control: no-cache" -d @jfc_login_wireshark2.xml http://wall.usts.edu.cn/jf6/jfs.php
Shell
#!/bin/sh # TomatoUSB's lib directory is read-only, I can't copy libcurl.so to it. # So I add . to LD_LIBRARY_PATH and export it, then sub shell can use # curl directly. # Static linking of curl itself is diffcult. LD_LIBRARY_PATH=.:${LD_LIBRARY_PATH} export LD_LIBRARY_PATH # first send 'login' sh curl_login.sh # ...
Shell
#!/bin/sh curl -v -H "Accept:" -H "Expect:" -H "SOAPAction: \"urn:AccountServer#jfc_login\"" -H "Content-Type: text/xml; charset=\"utf-8\"" -A "Borland SOAP 1.2" -H "Connection: Keep-Alive" -H "Cache-Control: no-cache" -d @jfc_addtime2.xml http://wall.usts.edu.cn/jf6/jfs.php
Shell
#!/bin/sh curl -v -H "Accept:" -H "Expect:" -H "SOAPAction: \"urn:AccountServer#jfc_login\"" -H "Content-Type: text/xml; charset=\"utf-8\"" -A "Borland SOAP 1.2" -H "Connection: Keep-Alive" -H "Cache-Control: no-cache" -d @jfc_addtime2.xml http://wall.usts.edu.cn/jf6/jfs.php
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 INDENT=`cat NOTES` echo "using command: $INDENT <file>" indent_files() { echo $INDENT $1 $INDENT $1 } indent_files libcsoap/*.c indent_files libcsoap/*.h indent_files nanohttp/*.c indent_files nanohttp/*.h indent_files examples/csoap/*.c
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 # Free Software Foundation, Inc. # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # # This pro...
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 # 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 | ...
Shell
#! /bin/sh prefix=@prefix@ exec_prefix=@exec_prefix@ includedir=@includedir@ libdir=@libdir@ relcsoap=@csoap_release@ relnanohttp=@nanohttp_release@ usage() { cat <<EOF Usage: csoap-config [OPTION] Known values for OPTION are: --prefix=DIR change libcsoap prefix [default $prefix] --exec-prefix=DIR chan...
Shell
#! /bin/sh # Wrapper for compilers which do not understand `-c -o'. scriptversion=2005-05-14.22 # Copyright (C) 1999, 2000, 2003, 2004, 2005 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 the terms of the ...
Shell
#!/bin/sh INDENT=`cat NOTES` echo "using command: $INDENT <file>" indent_files() { echo $INDENT $1 $INDENT $1 } indent_files libcsoap/*.c indent_files libcsoap/*.h indent_files nanohttp/*.c indent_files nanohttp/*.h indent_files examples/csoap/*.c
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 # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. timestamp='2005-04-22' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file sug...
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 Free Software Foundation, Inc. timestamp='2005-04-22' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU Gene...
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 aclocal autoconf automake --add-missing --copy automake
Shell
#! /bin/sh prefix=@prefix@ exec_prefix=@exec_prefix@ includedir=@includedir@ libdir=@libdir@ relcsoap=@csoap_release@ relnanohttp=@nanohttp_release@ usage() { cat <<EOF Usage: csoap-config [OPTION] Known values for OPTION are: --prefix=DIR change libcsoap prefix [default $prefix] --exec-prefix=DIR chan...
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 | ...
Shell
#! /bin/sh # Wrapper for compilers which do not understand `-c -o'. scriptversion=2005-05-14.22 # Copyright (C) 1999, 2000, 2003, 2004, 2005 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 the terms of the ...
Shell
#!/bin/sh aclocal autoconf automake --add-missing --copy automake
Shell
#!/bin/bash # Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed t...
Shell
#!/bin/sh /usr/local/appengine-java-sdk/bin/appcfg.sh update web-app
Shell
#!/bin/sh # To use this script install the Google App Engine SDK for Java in the directory # /usr/local/appengine-java-sdk /usr/local/appengine-java-sdk/bin/dev_appserver.sh --address=0.0.0.0 web-app
Shell
cd feature_server python run.py
Shell
python build.py build_ext -f --inplace cd enet python setup.py build_ext -f --inplace
Shell
#!/bin/bash # Clean the package a bit UNWANTED_FILES="sqlite3.dll win-tools sqlite-3.6.12.so StartDuplicati.sh" #Validate input SHOW_USAGE_ERROR= if [ "$#" -lt "1" ]; then SHOW_USAGE_ERROR="No input file given" fi if [ "$#" -gt "2" ]; then SHOW_USAGE_ERROR="Too many arguments" fi if [ -n "$SHOW_USAGE_ERROR" ]; ...
Shell
#!/bin/bash export LD_LIBRARY_PATH="/usr/lib/duplicati${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" export MONO_PATH=$MONO_PATH:/usr/lib/duplicati EXE_FILE=/usr/lib/duplicati/Duplicati.exe APP_NAME=Duplicati exec -a "$APP_NAME" mono "$EXE_FILE" "$@"
Shell
#!/bin/bash export LD_LIBRARY_PATH="/usr/lib/duplicati${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" export MONO_PATH=$MONO_PATH:/usr/lib/duplicati EXE_FILE=/usr/lib/duplicati/Duplicati.CommandLine.exe APP_NAME=Duplicati.CommandLine exec -a "$APP_NAME" mono "$EXE_FILE" "$@"
Shell
#!/bin/sh set -e
Shell
#!/bin/sh set -e
Shell
#!/bin/sh # # This is a stub script that allows .apps to be relocatable on OSX but still # find the managed assembly. # # This is copied from the Mono macpack tool and modified to fit Duplicati # # The Mono Version Check is from here: # http://mjhutchinson.com/journal/2010/01/24/creating_mac_app_bundle_for_gtk_app #...
Shell
#!/bin/sh # # DMG building script adopted from: # http://el-tramo.be/git/fancy-dmg/plain/Makefile # WC_DMG=wc.dmg WC_DIR=wc TEMPLATE_DMG=template.dmg SOURCE_FILES=Duplicati.app OUTPUT=Duplicati.dmg UNWANTED_FILES="sqlite-3.6.12.so sqlite3.dll linux-sqlite-readme.txt win-tools" SHOW_USAGE_ERROR= if [ "$#" -lt "1" ]...
Shell
#!/bin/sh # Usage: ./duplicati-make-git-snapshot.sh [COMMIT] [DATE] # # to make a snapshot of the given tag/branch. Defaults to HEAD. # Point env var REF to a local duplicati repo to reduce clone time. if [ -z $2 ]; then DATE=`date +%Y%m%d` else DATE=$2 fi DIRNAME="duplicati-$DATE" echo REF ${REF:+--reference ...
Shell
#!/bin/bash ############################################################################### # How to run scripts before or after backups ############################################################################### # Duplicati is able to run scripts before and after backups. This # functionality is available in th...
Shell
#!/bin/bash # This script returns the device on which the volume is mounted # # Input is always: # $1 = name of the folder to locate the LVM device for # # The script MUST output a line with device="<path>", where path is the lvm id. # The script MUST output a line with mountpoint="<path>", where path is the device ...
Shell
#!/bin/bash # This script removes a lvm snapshot, modify as required # # Input is always: # $1 = name of the snapshot, a random name, same as given to create-lvm-snapshot, usually something like "duplicati-0102030011234567" # $2 = name of the device for which the snapshot was created, same as given to create-lvm-sn...
Shell
#!/bin/bash # This script creates a lvm snapshot, modify as required # # Input is always: # $1 = name of the snapshot, a random name with no spaces or non-printable chars, usually something like "duplicati-0102030011234567" # $2 = name of the device to create the snapshot for, this is the output of find-volume.sh, ...
Shell
cd Installer/Makefile make $@
Shell
#!/bin/sh # # An example hook script to blocks unannotated tags from entering. # Called by "git receive-pack" with arguments: refname sha1-old sha1-new # # To enable this hook, rename this file to "update". # # Config # ------ # hooks.allowunannotated # This boolean sets whether unannotated tags will be allowed into ...
Shell
#!/bin/sh # # An example hook script to check the commit log message. # Called by "git commit" with one argument, the name of the file # that has the commit message. The hook should exit with non-zero # status after issuing an appropriate message if it wants to stop the # commit. The hook is allowed to edit the commi...
Shell
#!/bin/sh # # An example hook script to check the commit log message taken by # applypatch from an e-mail message. # # The hook should exit with non-zero status after issuing an # appropriate message if it wants to stop the commit. The hook is # allowed to edit the commit message file. # # To enable this hook, rename ...
Shell
#!/bin/sh # # An example hook script to prepare the commit log message. # Called by "git commit" with the name of the file that has the # commit message, followed by the description of the commit # message's source. The hook's purpose is to edit the commit # message file. If the hook fails with a non-zero status, # t...
Shell
#!/bin/sh # # An example hook script to prepare a packed repository for use over # dumb transports. # # To enable this hook, rename this file to "post-update". exec git update-server-info
Shell
#!/bin/sh # # Copyright (c) 2006, 2008 Junio C Hamano # # The "pre-rebase" hook is run just before "git rebase" starts doing # its job, and can prevent the command from running by exiting with # non-zero status. # # The hook is called with the following parameters: # # $1 -- the upstream the series was forked from. # $...
Shell
#!/bin/sh # # An example hook script to verify what is about to be committed # by applypatch from an e-mail message. # # The hook should exit with non-zero status after issuing an # appropriate message if it wants to stop the commit. # # To enable this hook, rename this file to "pre-applypatch". . git-sh-setup test -x...
Shell
#!/bin/sh # # An example hook script to verify what is about to be committed. # Called by "git commit" with no arguments. The hook should # exit with non-zero status after issuing an appropriate message if # it wants to stop the commit. # # To enable this hook, rename this file to "pre-commit". if git rev-parse --ver...
Shell
#!/bin/sh set -avx PROJECT_NAME="$1" HERE="`dirname "$0"`" HERE="`(cd "$HERE"; pwd)`" # assumes we're in Tools/Xcode MULTIVERSE="`(cd "$HERE"/../../; pwd)`" cd "$MULTIVERSE" REPORTS_DIRECTORY="`(cd "$PROJECT_NAME"; pwd)`" REPORTS_DIRECTORY="$REPORTS_DIRECTORY"/TemporaryItems/ClangChecker/Reports PROJECT_DIR="`(cd "$...
Shell
#!/bin/bash # Sign -- calls codesign to perform code signing, working around what's not implemented in Xcode 3.1.1 CODE_SIGN* settings. # Usage: During an Xcode build (otherwise, set BUILT_PRODUCTS_PATH and FULL_PRODUCT_NAME to correct values and CONFIGURATION to anything beginning with 'Release', verbatim). Requires...
Shell