code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/bash # add-junit-result.xht -- Add a junit test result in an XML junit file # Copyright (C) 2011 Stephane Carrez # Written by Stephane Carrez (Stephane.Carrez@gmail.com) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # ...
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 # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002 Free Software Foundation, Inc. timestamp='2002-02-19' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License...
Shell
#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002 Free Software Foundation, Inc. timestamp='2002-02-22' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GN...
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 # # 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 # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002 Free Software Foundation, Inc. timestamp='2002-02-19' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License...
Shell
#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002 Free Software Foundation, Inc. timestamp='2002-02-22' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GN...
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 # # 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 # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002 Free Software Foundation, Inc. timestamp='2002-02-19' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License...
Shell
#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 # Free Software Foundation, Inc. timestamp='2010-05-21' # This file is (in principle) common to ALL GNU software. # The pres...
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 # add-junit-result.xht -- Add a junit test result in an XML junit file # Copyright (C) 2011 Stephane Carrez # Written by Stephane Carrez (Stephane.Carrez@gmail.com) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # ...
Shell
#!/bin/bash # add-junit-result.xht -- Add a junit test result in an XML junit file # Copyright (C) 2011 Stephane Carrez # Written by Stephane Carrez (Stephane.Carrez@gmail.com) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # ...
Shell
#!/bin/sh # postinst script for libada-util # # see: dh_installdeb(1) set -e has_aws="no" has_curl="no" if [ -f /usr/share/ada/adainclude/util_http_curl.gpr ]; then has_curl="yes" fi if [ -f /usr/share/ada/adainclude/util_http_aws.gpr ]; then has_aws="yes" fi (echo 'with "util";'; test "$has_curl" = "no" || echo...
Shell
#!/bin/sh # postinst script for libada-util # # see: dh_installdeb(1) set -e if [ -f /usr/share/ada/adainclude/util.gpr ]; then has_aws="no" has_curl="no" if [ -f /usr/share/ada/adainclude/util_http_curl.gpr ]; then has_curl="yes" fi if [ -f /usr/share/ada/adainclude/util_http_aws.gpr ]; then has_aws="yes" fi (e...
Shell
#!/bin/sh # postinst script for libada-util # # see: dh_installdeb(1) set -e has_aws="no" has_curl="no" if [ -f /usr/share/ada/adainclude/util_http_curl.gpr ]; then has_curl="yes" fi if [ -f /usr/share/ada/adainclude/util_http_aws.gpr ]; then has_aws="yes" fi (echo 'with "util";'; test "$has_curl" = "no" || echo...
Shell
#!/bin/sh # postinst script for libada-util # # see: dh_installdeb(1) set -e if [ -f /usr/share/ada/adainclude/util.gpr ]; then has_aws="no" has_curl="no" if [ -f /usr/share/ada/adainclude/util_http_curl.gpr ]; then has_curl="yes" fi if [ -f /usr/share/ada/adainclude/util_http_aws.gpr ]; then has_aws="yes" fi (e...
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 # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002 Free Software Foundation, Inc. timestamp='2002-02-19' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License...
Shell
#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 # Free Software Foundation, Inc. timestamp='2010-05-21' # This file is (in principle) common to ALL GNU software. # The pres...
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 # add-junit-result.xht -- Add a junit test result in an XML junit file # Copyright (C) 2011 Stephane Carrez # Written by Stephane Carrez (Stephane.Carrez@gmail.com) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # ...
Shell
#!/bin/bash # add-junit-result.xht -- Add a junit test result in an XML junit file # Copyright (C) 2011 Stephane Carrez # Written by Stephane Carrez (Stephane.Carrez@gmail.com) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # ...
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 # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002 Free Software Foundation, Inc. timestamp='2002-02-19' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License...
Shell
#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 # Free Software Foundation, Inc. timestamp='2010-05-21' # This file is (in principle) common to ALL GNU software. # The pres...
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 # add-junit-result.xht -- Add a junit test result in an XML junit file # Copyright (C) 2011 Stephane Carrez # Written by Stephane Carrez (Stephane.Carrez@gmail.com) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # ...
Shell
#!/bin/bash # add-junit-result.xht -- Add a junit test result in an XML junit file # Copyright (C) 2011 Stephane Carrez # Written by Stephane Carrez (Stephane.Carrez@gmail.com) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # ...
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 # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002 Free Software Foundation, Inc. timestamp='2002-02-19' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License...
Shell
#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 # Free Software Foundation, Inc. timestamp='2010-05-21' # This file is (in principle) common to ALL GNU software. # The pres...
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 # add-junit-result.xht -- Add a junit test result in an XML junit file # Copyright (C) 2011 Stephane Carrez # Written by Stephane Carrez (Stephane.Carrez@gmail.com) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # ...
Shell
#!/bin/bash # add-junit-result.xht -- Add a junit test result in an XML junit file # Copyright (C) 2011 Stephane Carrez # Written by Stephane Carrez (Stephane.Carrez@gmail.com) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # ...
Shell
#!/bin/sh # postinst script for libada-util # # see: dh_installdeb(1) set -e has_aws="no" has_curl="no" if [ -f /usr/share/ada/adainclude/util_http_curl.gpr ]; then has_curl="yes" fi if [ -f /usr/share/ada/adainclude/util_http_aws.gpr ]; then has_aws="yes" fi (echo 'with "util";'; test "$has_curl" = "no" || echo...
Shell
#!/bin/sh # postinst script for libada-util # # see: dh_installdeb(1) set -e if [ -f /usr/share/ada/adainclude/util.gpr ]; then has_aws="no" has_curl="no" if [ -f /usr/share/ada/adainclude/util_http_curl.gpr ]; then has_curl="yes" fi if [ -f /usr/share/ada/adainclude/util_http_aws.gpr ]; then has_aws="yes" fi (e...
Shell
#!/bin/sh # postinst script for libada-util # # see: dh_installdeb(1) set -e has_aws="no" has_curl="no" if [ -f /usr/share/ada/adainclude/util_http_curl.gpr ]; then has_curl="yes" fi if [ -f /usr/share/ada/adainclude/util_http_aws.gpr ]; then has_aws="yes" fi (echo 'with "util";'; test "$has_curl" = "no" || echo...
Shell
#!/bin/sh # postinst script for libada-util # # see: dh_installdeb(1) set -e if [ -f /usr/share/ada/adainclude/util.gpr ]; then has_aws="no" has_curl="no" if [ -f /usr/share/ada/adainclude/util_http_curl.gpr ]; then has_curl="yes" fi if [ -f /usr/share/ada/adainclude/util_http_aws.gpr ]; then has_aws="yes" fi (e...
Shell
target/sample-`uname -m`
Shell
g++ -lpthread -Wall -otarget/sample-`uname -m` sample.cpp -pthread
Shell
target/omp-`uname -m`
Shell
g++ -fopenmp -Wall -otarget/omp-`uname -m` omp.cpp
Shell
rm -rf assembled mkdir assembled rm -rf target mvn package -e -P generic cp target/jbrowser-1.9-jar-with-dependencies.jar assembled/jbrowser-1.9-generic.jar rm -rf target mvn package -e -P linux cp target/jbrowser-1.9-jar-with-dependencies.jar assembled/jbrowser-1.9-linux.jar rm -rf target mvn package -e -P solaris ...
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
svn checkout -r 50 http://dsmcbe.googlecode.com/svn/trunk/ bin/Debug/DSMCBE/r50 svn checkout -r 100 http://dsmcbe.googlecode.com/svn/trunk/ bin/Debug/DSMCBE/r100 svn checkout -r 150 http://dsmcbe.googlecode.com/svn/trunk/ bin/Debug/DSMCBE/r150 svn checkout -r 200 http://dsmcbe.googlecode.com/svn/trunk/ bin/Debug/DSMCBE...
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
#!/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 ############################################################################### # 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/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 DATE=`date +%Y%m%d` git pull bash duplicati-make-git-snapshot.sh mv duplicati-$DATE.tar.bz2 ~/rpmbuild/SOURCES/ cp *.sh ~/rpmbuild/SOURCES/ cp *.patch ~/rpmbuild/SOURCES/ if [ -e ./oem.js ]; then cp ./oem.js ~/rpmbuild/SOURCES/ fi if [ -e ./oem.css ]; then cp ./oem.css ~/rpmbuild/SOURCES/ fi rp...
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="AlphaVSS.Common.dll AlphaFS.dll AlphaFS.dll.config AlphaVSS.Common.dll.config appindicator-sharp.dll SQ...
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 # # 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/bash INSTALLDIR=/usr/lib/duplicati export LD_LIBRARY_PATH="${INSTALLDIR}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" export MONO_PATH=$MONO_PATH:${INSTALLDIR} EXE_FILE=${INSTALLDIR}/Duplicati.CommandLine.exe APP_NAME=Duplicati.CommandLine exec -a "$APP_NAME" mono "$EXE_FILE" "$@"
Shell
#!/bin/bash INSTALLDIR=/usr/lib/duplicati export LD_LIBRARY_PATH="${INSTALLDIR}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" export MONO_PATH=$MONO_PATH:${INSTALLDIR} EXE_FILE=${INSTALLDIR}/Duplicati.GUI.TrayIcon.exe APP_NAME=Duplicati exec -a "$APP_NAME" mono "$EXE_FILE" "$@"
Shell
#!/bin/bash INSTALLDIR=/usr/lib/duplicati export LD_LIBRARY_PATH="${INSTALLDIR}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" export MONO_PATH=$MONO_PATH:${INSTALLDIR} EXE_FILE=${INSTALLDIR}/Duplicati.Server.exe APP_NAME=DuplicatiServer exec -a "$APP_NAME" mono "$EXE_FILE" "$@"
Shell
#!/bin/bash if [ -e ../oem.js ]; then echo "Installing OEM script" cp ../oem.js build/lib/duplicati/webroot/scripts/ fi if [ -e ../oem.css ]; then echo "Installing OEM stylesheet" cp ../oem.css build/lib/duplicati/webroot/stylesheets/ fi
Shell
RELEASE_TIMESTAMP=`date +%Y-%m-%d` RELEASE_INC_VERSION=`cat Updates/debug_version.txt` RELEASE_INC_VERSION=$((RELEASE_INC_VERSION+1)) RELEASE_NAME=2.0_CLI_experimental_${RELEASE_TIMESTAMP} RELEASE_CHANGEINFO=`cat Updates/debug_changeinfo.txt` RELEASE_VERSION="2.0.0.${RELEASE_INC_VERSION}" UPDATE_ZIP_URLS=http://upda...
Shell
cd Installer/Makefile make $@
Shell
RELEASE_TIMESTAMP=`date +%Y-%m-%d` RELEASE_INC_VERSION=`cat Updates/debug_version.txt` RELEASE_INC_VERSION=$((RELEASE_INC_VERSION+0)) RELEASE_NAME=2.0_CLI_experimental_${RELEASE_TIMESTAMP} RELEASE_CHANGEINFO=`cat Updates/debug_changeinfo.txt` RELEASE_VERSION="2.0.0.${RELEASE_INC_VERSION}" echo "${RELEASE_NAME}" > Du...
Shell
#!/bin/bash # # Copyright 2010 Google Inc. All Rights Reserved. # Author: scottkirkwood@google.com (Scott Kirkwood) ver=$(grep version manifest.json | cut -c15-17) echo "Version is: $ver" echo -n "Is this correct? (ctrl-c to abort)" read rm "chrome_cookie_contents_$ver.zip" zip "chrome_cookie_contents_$ver.zip" COPYI...
Shell
#!/bin/sh scp -q res/values/strings.xml linode:ath/incoming/en.xml wget --quiet -O /dev/null --ignore-length --post-data="" http://ath.darshancomputing.com/bi/load_new_en if [ "$?" -ne "0" ]; then echo "Sorry, something didn't work!" exit 1 fi
Shell
#!/bin/bash #ruby generate_images.rb #for i in res/drawable/b[0-9]*.png; do mogrify -resize 25x25 $i; done #gimp res/drawable/b100.png #for i in res/drawable/*.png; do mogrify -sharpen 25x25 $i; done # shift ("roll") images 1px to the right # for i in numbers/*.png; do convert $i -roll +1+0 $i; done d=`dirname $(rea...
Shell
#!/bin/sh # After initial checkout from svn, you'll want to run this as your first step. android update project --path . --target "android-14"
Shell
#!/system/bin/sh DIR=/data/data/org.proxydroid type=$2 host=$3 port=$4 auth=$5 user=$6 pass=$7 PATH=$DIR:$PATH case $1 in start) echo " base { log_debug = off; log_info = off; log = stderr; daemon = on; redirector = iptables; } " >$DIR/redsocks.conf case $type in http) case $auth in true) echo " reds...
Shell
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" echo "<database>" sh converter-sql-join-constraints.sh $1 /tmp/joined.sql sed -f $2 < /tmp/joined.sql echo "</database>"
Shell
sed 'N;s/\(ALTER TABLE .*\)\n\( \+ADD CONSTRAINT\)/\1\2/;P;D;' < $1 > /tmp/1 sed 'N;s/\(ALTER TABLE .*\)\n\( \+FOREIGN KEY\)/\1\2/;P;D;' < /tmp/1 > /tmp/2 sed 'N;s/\(ALTER TABLE .*\)\n\( \+REFERENCES\)/\1\2/;P;D;' < /tmp/2 > $2
Shell
#!/bin/sh # Start GUI Vim on a copy of the tutor file. # Usage: gvimtutor [xx] # See vimtutor for usage. exec `dirname $0`/vimtutor -g "$@"
Shell
#! /bin/sh # Start Vim on a copy of the tutor file. # Usage: vimtutor [-g] [xx] # Where optional argument -g starts vimtutor in gvim (GUI) instead of vim. # and xx is a language code like "es" or "nl". # When an argument is given, it tries loading that tutor. # When this fails or no argument was given, it tries using...
Shell
#! /bin/sh # installman.sh --- install or uninstall manpages for Vim # # arguments: # 1 what: "install", "uninstall" or "xxd" # 2 target directory e.g., "/usr/local/man/it/man1" # 3 language addition e.g., "" or "-it" # 4 vim location as used in manual pages e.g., "/usr/local/share/vim" # 5 runtime dir ...
Shell
#! /bin/sh # # which.sh -- find where an executable is located. It's here because the # "which" command is not supported everywhere. Used by Makefile. IFS=":" for ac_dir in $PATH; do if test -f "$ac_dir/$1"; then echo "$ac_dir/$1" break fi done
Shell
#! /bin/sh # # link.sh -- try linking Vim with different sets of libraries, finding the # minimal set for fastest startup. The problem is that configure adds a few # libraries when they exist, but this doesn't mean they are needed for Vim. # # Author: Bram Moolenaar # Last change: 2010 Nov 03 # License: Publi...
Shell
#! /bin/sh # # osdef.sh -- copy osdef.h.in to osdef.h while removing declarations # found in the system header files. Caution: weird sed magic going on here. # Warnings are printed if sed did not survive. # # (C) Michael Schroeder, Juergen Weigert # # osdef.h.in has been split into osdef1.h.in and osdef2.h.in, because ...
Shell
#! /bin/sh # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman <friedman@prep.ai.mit.edu> # Created: 1993-05-16 # Public domain errstatus=0 for file do set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` shift pathcomp= for d do pathcomp="$pathcomp$d" ...
Shell
#! /bin/sh # # pathdef.sh: adjust pathdef.c for auto/link.sed, if it exists # if test -s auto/link.sed; then cp auto/pathdef.c auto/pathdef.tmp sed -f auto/link.sed <auto/pathdef.tmp >auto/pathdef.c rm -f auto/pathdef.tmp fi # vim:set sw=2 et:
Shell
#!/bin/sh # toolcheck -- check for tools that have severe bugs. Good that all the buggy # tools identify by version numbers. This is the spirit of GNU :-) # # 24.7.95 jw. retval=0 reply="`sh -version -c exit 2>&1 < /dev/null`" case "$reply" in GNU*1.14.3*) echo "- sh is '$reply'"; echo " CAUTION: This she...
Shell
#! /bin/sh # installml.sh --- install or uninstall manpage links for Vim # # arguments: # 1 what: "install" or "uninstall" # 2 also do GUI pages: "yes" or "" # 3 target directory e.g., "/usr/local/man/it/man1" # 4 vim exe name e.g., "vim" # 5 vimdiff exe name e.g., "vimdiff" # 6 evim exe name ...
Shell
#!/bin/sh # # ref - Check spelling of the arguments # # Usage: ref word .. # # can be used for the K command of Vim # spell <<EOF $* EOF
Shell
#!/bin/sh # enable DEC locator input model on remote terminal printf "\033[1;2'z\033[1;3'{\c" vim "$@" # disable DEC locator input model on remote terminal printf "\033[2;4'{\033[0'z\c"
Shell
#!/bin/sh # Shell script to start Vim with less.vim. # Read stdin if no arguments were given. if test -t 1; then if test $# = 0; then vim --cmd 'let no_plugin_maps = 1' -c 'runtime! macros/less.vim' - else vim --cmd 'let no_plugin_maps = 1' -c 'runtime! macros/less.vim' "$@" fi else # Output is not a term...
Shell
#! /bin/sh prefix=stock_ list= for file in "$@" do name=`echo "$file" | sed 's|-|_|g; s|^.*/||; s|\..*$||'` list="$list $prefix$name $file" done gdk-pixbuf-csource --raw --static --build-list $list
Shell
#! /bin/sh # $Id: autogen.sh,v 1.4 2002/12/02 01:39:49 murrayc Exp $ # # Copyright (c) 2002 Daniel Elstner <daniel.elstner@gmx.net> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License VERSION 2 as # published by the Free Software Foundation....
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 # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002 Free Software Foundation, Inc. timestamp='2002-02-19' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License...
Shell
#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 # Free Software Foundation, Inc. timestamp='2010-05-21' # This file is (in principle) common to ALL GNU software. # The pres...
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 # # 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 ...
Shell
#!/bin/sh echo "recursively removing .svn folders from" pwd rm -rf `find . -type d -name .svn`
Shell
#!/bin/sh echo "recursively removing .svn folders from" pwd rm -rf `find . -type d -name .svn`
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
while [ true ] do filez=`find * -name "*.java"` cat $filez | wc -l echo \\t in `echo $filez | wc -w` files date sleep 600 done
Shell
#!/bin/bash # # Copyright (C) 2010-2011 the original author or authors. # # 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 requi...
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
#!/bin/sh /usr/local/appengine-java-sdk/bin/appcfg.sh update web-app
Shell
#! /bin/sh if [ "$ICSCROWDAPIKEY" != "" ] then echo "Generating new translation archives" fetch -q -1 -o - http://api.crowdin.net/api/project/ics-openvpn/export?key=$ICSCROWDAPIKEY fi echo "Fetch translation archive" fetch -q http://crowdin.net/download/project/ics-openvpn.zip langtoinclude="de cs ko et fr he ru"...
Shell
#! /bin/bash # libtoolT - Provide generalized library-building support services. # Generated automatically by (GNU lzo 2.03) # 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: # ...
Shell