code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/sh SSHOPTS="-p 2222 -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null" UDID=`ssh $SSHOPTS root@localhost "./device_infos udid"` if [ "$UDID" == "" ]; then exit fi echo "Device UDID : $UDID" mkdir -p $UDID DATE=`date +"%Y%m%d-%H%M"` OUT=$UDID/data_$DATE.dmg echo "Dumping data partition in $OUT ....
Shell
#!/bin/sh if [ -a /dev/disk0s1s2 ]; then # test for iOS 5 data partition mount_hfs /dev/disk0s1s1 /mnt1 2>/dev/null mount_hfs /dev/disk0s1s2 /mnt2 2>/dev/null elif [ -a /dev/disk0s2s1 ]; then # test for iOS 4 data partition mount_hfs /dev/disk0s1 /mnt1 2>/dev/null mount_hfs /dev/disk0s2s1 /mnt2 2>/dev...
Shell
#!/bin/sh cat /dev/rdisk0s2s1 | netcat -l -p 1234
Shell
#!/usr/bin/sh # for this to work you need to have the following installed: # - Xcode: http://developer.apple.com/ # - git: http://help.github.com/mac-git-installation/ # - mercurial / hg: http://mercurial.berkwood.com/ # pull three20 cd .. git clone git://github.com/facebook/three20.git # pull mailcore - new URL git...
Shell
#!/bin/bash # Android Screenshot Library # ############################## # Startup script # echo "Android Screenshot Library -- initializing..." # if [ -z $ANDROID ]; then echo "*** Android SDK not found ***" echo "Make sure the ANDROID variable is pointing to Android SDK root directory" else adb="$AN...
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
# 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 # # 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 granted, free of charge, t...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. # Copyright (C) 1996, 1997, 2001, 2002 Free Software Foundation, Inc. # Franc,ois 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 General Public Licen...
Shell
#! /bin/sh # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman <friedman@prep.ai.mit.edu> # Created: 1993-05-16 # Public domain # $Id: mkinstalldirs,v 1.13 1999/01/05 03:18:55 bje Exp $ errstatus=0 for file do set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` shift ...
Shell
#!/bin/sh # # Could be better, but it's working as expected # # # # chkconfig: 345 65 35 # # description: Startup/shutdown script for Wifidog captive portal # processname: wifidog # Date : 2004-08-25 # Version : 1.0 IPT=/usr/sbin/iptables WD_DIR=/usr/bin OPTIONS="" case "$1" in start) echo "Starting Wifido...
Shell
#!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org START=65 EXTRA_COMMANDS="status" EXTRA_HELP=" status Print the status of the service" start() { /usr/bin/wifidog-init start } stop() { /usr/bin/wifidog-init stop } status() { /usr/bin/wifidog-init status }
Shell
#!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org START=65 EXTRA_COMMANDS="status" EXTRA_HELP=" status Print the status of the service" start() { /usr/bin/wifidog-init start } stop() { /usr/bin/wifidog-init stop } status() { /usr/bin/wifidog-init status }
Shell
#!sh iptables --list --table filter iptables --list --table mangle iptables --list --table nat
Shell
#!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org START=50 start() { /usr/bin/wifidog-init start } stop() { /usr/bin/wifidog-init stop } status() { /usr/bin/wifidog-init status }
Shell
#!/bin/sh path=`pwd` sdir=$(cd "$(dirname "$0")"; pwd) php ${sdir}/../commands/cli/chili.php $path $*
Shell
#!/bin/sh path=`pwd` sdir=$(cd "$(dirname "$0")"; pwd) php ${sdir}/../commands/cli/chili.php $path $*
Shell
#!/bin/bash # Copyright 2012, Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can # be found in the LICENSE file. # This script is a sample hook to test the plumbing EXIT_CODE=0 for arg in $@ ; do echo "PARAM:" $arg if [ "$arg" == "--to-stderr" ]; then echo...
Shell
#!/bin/bash # Copyright 2012, Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can # be found in the LICENSE file. if [ ! -f bootstrap.sh ]; then echo "bootstrap.sh must be run from its current directory" 1>&2 exit 1 fi . ./dev.env diff misc/hg/hooks.hgrc .hg/hg...
Shell
#!/bin/bash changelog_count=$(hg outgoing | grep '^changeset:' | wc -l) non_merge_count=$(hg outgoing -M | grep '^changeset:' | wc -l) if [ $changelog_count != $non_merge_count ]; then echo "outgoing files contain merges - reapply as a fresh patch" >&2 echo "run ./misc/hg/reapply-outgoing to fix" >&2 exit 1 fi
Shell
#!/bin/bash fmt_errs=$(find . -name '*.go' -exec gofmt -l {} \;) err_count=$(echo $fmt_errs | awk '{print NF}') if [ "$err_count" != 0 ]; then echo "gofmt errors: $err_count" >&2 echo "$fmt_errs" >&2 echo "run ./misc/hg/gofmt-all to fix" >&2 exit 1 fi
Shell
#!/bin/bash find . -name '*.go' -exec gofmt -w {} \;
Shell
#!/bin/bash # Copyright 2012, Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can # be found in the LICENSE file. # simple wrapper for starting up zookeeper so it detaches from the parent # process and ingnores signals logdir="$1" config="$2" pidfile="$3" classpath...
Shell
#!/bin/sh git clone https://code.google.com/p/xg4-apply/ mv xg4-apply/.git .git crontab ~/current/crontab
Shell
#!/bin/sh set -e # Copyright (c) 2010, Pierre-Olivier Latour # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notice...
Shell
#!/bin/sh set -e # Copyright (c) 2010, Pierre-Olivier Latour # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notice...
Shell
#!/bin/sh set -e # Copyright (c) 2010, Pierre-Olivier Latour # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notice...
Shell
#!/bin/sh set -e # Copyright (c) 2010, Pierre-Olivier Latour # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notice...
Shell
#!/bin/sh set -e # Copyright (c) 2010, Pierre-Olivier Latour # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notice...
Shell
#!/bin/sh set -e # Copyright (c) 2010, Pierre-Olivier Latour # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notice...
Shell
#!/bin/sh set -e # Copyright (c) 2010, Pierre-Olivier Latour # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notice...
Shell
#!/bin/sh set -e # Copyright (c) 2010, Pierre-Olivier Latour # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notice...
Shell
#!/bin/sh set -e # Copyright (c) 2010, Pierre-Olivier Latour # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notice...
Shell
#!/bin/sh set -e # Copyright (c) 2010, Pierre-Olivier Latour # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notice...
Shell
#!/bin/sh set -e # Copyright (c) 2010, Pierre-Olivier Latour # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notice...
Shell
#!/bin/sh set -e # Copyright (c) 2010, Pierre-Olivier Latour # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notice...
Shell
#!/bin/sh set -e # Copyright (c) 2010, Pierre-Olivier Latour # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notice...
Shell
#!/bin/sh PATCHLIST=patchlist.conf DEST=docs/changes/ BASEREV="none" mkdir -p $DEST for TARGETREV in $(cat $PATCHLIST); do if [ $BASEREV = "none" ] then BASEREV=$TARGETREV else hg diff -r $BASEREV -r $TARGETREV cstrike/cfg/* cstrike/addons/sourcemod/* > $DEST/r$TARGETREV.diff BAS...
Shell
#!/bin/sh SYNTAX="Usage: $0 <base rev> <target rev>" if [ "$1" ] then BASEREV="$1" if [ "$2" ] then TARGETREV="$2" else echo "Missing target revision. $SYNTAX" exit 1 fi else echo "$SYNTAX" exit 1 fi hg diff -r $BASEREV -r $TARGETREV cstrike/cfg/* cstrike/addo...
Shell
#!/bin/sh # Note: Copy this script to the source code repository and execute it # from that location. # Program for printing date. ZR_DATEPATH='date' ZR_UNOFFICIAL=false if [ "$1" ] then if [ "$1" = "--unofficial" ] then ZR_UNOFFICIAL=true else ZR_DATEPATH=$1 fi fi ZR_VERSION_...
Shell
#!/bin/sh cd src/ echo "$(hg tip)\n" LINES_MAIN=`wc *.sp -l | cut -d ' ' -f1` LINES_BASE=`wc zr/base/*.* -l | tail -n1 | sed 's/^ *\(.*\) *$/\1/' | cut -d ' ' -f1` LINES_OTHER=`wc zr/*.* -l | tail -n1 | sed 's/^ *\(.*\) *$/\1/' | cut -d ' ' -f1` LINES_HEADERS=`wc zr/headers/*.* -l | tail -n1 | sed 's/^ *\(.*\) *$/\1...
Shell
#!/bin/sh VERSION="zombiereloaded-3.0-dev" REVISION=$(hg id -n) SYNTAX="Usage: $0 [--patch <base rev>]" # Source paths BUILDDIR=build PLUGINFILE=zombiereloaded.smx PLUGINFILES="cstrike/*" #ZRTOOLS_SOURCE=/home/zrdev/archive/zrtools DOCS="docs/*" SOURCEDIR="src/*" # Destination paths RELEASEDIR=release SOURCE_DEST=$...
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 dist_dir=../dist apk=XinkVpnAssist.apk key_dir=../../keystore key_file=xinthink_keystore key_alias=xinthink echo "cleaning" rm $dist_dir/$apk rm $dist_dir/$apk.unaligned echo "sign the apk" cp $dist_dir/$apk.unsigned $dist_dir/$apk.unaligned jarsigner -verbose -keystore $key_dir/$key_file $dist_dir/$apk.un...
Shell
#!/bin/sh dist_dir=../dist apk=XinkVpn.apk key_dir=../../keystore key_file=xinthink_keystore key_alias=xinthink echo "cleaning" rm $dist_dir/$apk rm $dist_dir/$apk.unaligned echo "sign the apk" cp $dist_dir/$apk.unsigned $dist_dir/$apk.unaligned jarsigner -verbose -keystore $key_dir/$key_file $dist_dir/$apk.unaligne...
Shell
#!/bin/bash # # Copyright (c) 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/bash # Copyright 2012, Google Inc. # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # * Redistributions of source code must retain the above copyright # notice, this list of condition...
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 # 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 # 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 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="ca cs de es et fr id ...
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
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2011-04-16.09; # UTC # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010, # 2011 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms o...
Shell
#! /bin/sh # Output a system dependent set of variables, describing how to set the # run time search path of shared libraries in an executable. # # Copyright 1996-2011 Free Software Foundation, Inc. # Taken from GNU libtool, 2001 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # # This file is fre...
Shell
# Generated from ltmain.m4sh. # libtool (GNU libtool) 2.2.10 # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. T...
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2011-01-19.21; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is ...
Shell
#!/bin/sh # Get modification time of a file or directory and pretty-print it. scriptversion=2010-08-21.06; # UTC # Copyright (C) 1995, 1996, 1997, 2003, 2004, 2005, 2007, 2009, 2010 # Free Software Foundation, Inc. # written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, June 1995 # # This program is free software; you ...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2009-04-28.21; # UTC # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, # 2008, 2009 Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free softw...
Shell
#! /bin/sh # mkinstalldirs --- make directory hierarchy scriptversion=2009-04-28.21; # UTC # Original author: Noah Friedman <friedman@prep.ai.mit.edu> # Created: 1993-05-16 # Public domain. # # This file is maintained in Automake, please report # bugs to <bug-automake@gnu.org> or send patches to # <automake-patches@g...
Shell
#! /bin/sh # Wrapper for compilers which do not understand `-c -o'. scriptversion=2010-11-15.09; # UTC # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009, 2010 Free Software # Foundation, Inc. # Written by Tom Tromey <tromey@cygnus.com>. # # This program is free software; you can redistribute it and/or modify # it un...
Shell
#!/bin/sh # py-compile - Compile a Python program scriptversion=2009-04-28.21; # UTC # Copyright (C) 2000, 2001, 2003, 2004, 2005, 2008, 2009 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 ...
Shell
#! /bin/sh # ylwrap - wrapper for lex/yacc invocations. scriptversion=2010-02-06.18; # UTC # Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005, # 2007, 2009, 2010 Free Software Foundation, Inc. # # Written by Tom Tromey <tromey@cygnus.com>. # # This program is free software; you can redistribute it a...
Shell
#! /bin/sh set -e # # usage: util/overlap.sh [directory] # # This script runs the overlap example program on a complete directory tree. # # Copyright (C) 1996-2011 Markus Franz Xaver Johannes Oberhumer # OVERLAP="overlap" test -x ./examples/overlap && OVERLAP="./examples/overlap" test -x ./overlap.exe && OVERLAP="./o...
Shell
#! /bin/sh set -e # # usage: util/check.sh [directory] # # This script runs lzotest with all algorithms on a complete directory tree. # It is not suitable for accurate timings. # # Copyright (C) 1996-2011 Markus Franz Xaver Johannes Oberhumer # LZOTEST="lzotest" test -x ./lzotest/lzotest && LZOTEST="./lzotest/lzotest...
Shell
#! /bin/sh set -e # # usage: util/checkasm.sh [directory] # # This script runs lzotest with all assembler decompressors # on a complete directory tree. # It is not suitable for accurate timings. # # Copyright (C) 1996-2011 Markus Franz Xaver Johannes Oberhumer # LZOTEST="lzotest" test -x ./lzotest/lzotest && LZOTEST=...
Shell
#! /bin/sh # vi:ts=4:et # Copyright (C) 1996-2011 Markus F.X.J. Oberhumer rm -f *.o liblzo2.a dict.out lzopack.out precomp.out precomp2.out simple.out lzotest.out testmini.out true
Shell
#! /bin/sh # vi:ts=4:et test "X${top_srcdir}" = X && top_srcdir=`echo "$0" | sed 's,[^/]*$,,'`../.. LZO_CFG_FREESTANDING=1 . $top_srcdir/B/generic/build.sh
Shell
#! /bin/sh # vi:ts=4:et set -e echo "// Copyright (C) 1996-2011 Markus F.X.J. Oberhumer" echo "//" echo "// Generic Posix/Unix system" echo "// Generic C compiler" test "X${top_srcdir}" = X && top_srcdir=`echo "$0" | sed 's,[^/]*$,,'`../.. test "X${AR}" = X && AR="ar" test "X${CC}" = X && CC="cc" test "X${CFLAGS+...
Shell
#! /bin/sh # vi:ts=4:et set -e echo "// Using GNU C compiler." echo "//" test "X${top_srcdir}" = X && top_srcdir=`echo "$0" | sed 's,[^/]*$,,'`../.. UNAME_MACHINE=unknown CC="gcc -fPIC" CC="gcc -static" CC="gcc" CFLAGS="-Wall -O2 -fomit-frame-pointer" # delete the next line to disable assembler support UNAME_MACHINE...
Shell
#!/bin/sh # Copyright (c) 2012 Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditi...
Shell
#!/bin/sh # Copyright (c) 2012 Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditi...
Shell
#!/bin/sh # # Copyright (c) 2012 Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of condi...
Shell
#!/bin/sh # # Copyright (c) 2012 Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of condi...
Shell
# Copyright (c) 2012 Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditions and th...
Shell
#!/bin/sh # Copyright (c) 2007, Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of condi...
Shell
#!/bin/sh # Copyright (c) 2007, Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of condi...
Shell
#!/bin/bash set -e test -f ${CHROMIUM_STRIP_SAVE_FILE}
Shell
#!/bin/bash set -e test -f ${CHROMIUM_STRIP_SAVE_FILE}
Shell
#!/bin/bash # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. set -e test $MACH_O_TYPE = mh_dylib test $PRODUCT_TYPE = com.apple.product-type.library.dynamic test $PRODUCT_NAME = nonbundle_shared_library test $FU...
Shell
#!/bin/bash # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. set -e # For some reason, Xcode doesn't set MACH_O_TYPE for non-bundle executables. # Check for "not set", not just "empty": [[ ! $MACH_O_TYPE && ${MAC...
Shell
#!/bin/bash # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. set -e test $MACH_O_TYPE = staticlib test $PRODUCT_TYPE = com.apple.product-type.library.static test $PRODUCT_NAME = nonbundle_static_library test $FU...
Shell
#!/bin/bash # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. set -e test $MACH_O_TYPE = mh_bundle test $PRODUCT_TYPE = com.apple.product-type.library.dynamic test $PRODUCT_NAME = nonbundle_loadable_module test $...
Shell
#!/bin/bash # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. set -e test $MACH_O_TYPE = mh_dylib test $PRODUCT_TYPE = com.apple.product-type.library.dynamic test $PRODUCT_NAME = nonbundle_shared_library test $FU...
Shell
#!/bin/bash # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. set -e # For some reason, Xcode doesn't set MACH_O_TYPE for non-bundle executables. # Check for "not set", not just "empty": [[ ! $MACH_O_TYPE && ${MAC...
Shell
#!/bin/bash # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. set -e test $MACH_O_TYPE = mh_execute test $PRODUCT_TYPE = com.apple.product-type.application test "${PRODUCT_NAME}" = "My App" test "${FULL_PRODUCT_N...
Shell
#!/bin/bash # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. set -e # Check for "not set", not just "empty": [[ ! $MACH_O_TYPE && ${MACH_O_TYPE-_} ]] [[ ! $PRODUCT_TYPE && ${PRODUCT_TYPE-_} ]] test $PRODUCT_NAME...
Shell
#!/bin/bash # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. set -e test $MACH_O_TYPE = staticlib test $PRODUCT_TYPE = com.apple.product-type.library.static test $PRODUCT_NAME = nonbundle_static_library test $FU...
Shell
#!/bin/bash # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. set -e test $MACH_O_TYPE = mh_dylib test $PRODUCT_TYPE = com.apple.product-type.framework test $PRODUCT_NAME = bundle_shared_library test $FULL_PRODUC...
Shell
#!/bin/bash # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. set -e test $MACH_O_TYPE = mh_bundle test $PRODUCT_TYPE = com.apple.product-type.bundle test $PRODUCT_NAME = bundle_loadable_module test $FULL_PRODUCT...
Shell
#!/bin/bash # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. set -e # Check for "not set", not just "empty": [[ ! $MACH_O_TYPE && ${MACH_O_TYPE-_} ]] [[ ! $PRODUCT_TYPE && ${PRODUCT_TYPE-_} ]] test $PRODUCT_NAME...
Shell
#!/bin/bash # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. set -e test $MACH_O_TYPE = mh_execute test $PRODUCT_TYPE = com.apple.product-type.application test "${PRODUCT_NAME}" = "My App" test "${FULL_PRODUCT_N...
Shell
#!/bin/bash # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. set -e test $MACH_O_TYPE = mh_dylib test $PRODUCT_TYPE = com.apple.product-type.framework test $PRODUCT_NAME = bundle_shared_library test $FULL_PRODUC...
Shell
#!/bin/bash # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. set -e test $MACH_O_TYPE = mh_bundle test $PRODUCT_TYPE = com.apple.product-type.library.dynamic test $PRODUCT_NAME = nonbundle_loadable_module test $...
Shell
#!/bin/bash # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. set -e test $MACH_O_TYPE = mh_bundle test $PRODUCT_TYPE = com.apple.product-type.bundle test $PRODUCT_NAME = bundle_loadable_module test $FULL_PRODUCT...
Shell
#!/bin/bash # Copyright (c) 2011 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. set -e lib="${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}" nm ${lib} > /dev/null # Just make sure this works. pattern="${1}" if [ $pattern != "a|b" ]; t...
Shell
#!/bin/bash # Copyright (c) 2011 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. set -e lib="${BUILT_PRODUCTS_DIR}/${FULL_PRODUCT_NAME}" nm ${lib} > /dev/null # Just make sure this works. pattern="${1}" if [ $pattern != "a|b" ];...
Shell
#!/bin/bash # Copyright (c) 2011 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. set -e lib="${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}" nm ${lib} > /dev/null # Just make sure this works. pattern="${1}" if [ $pattern != "a|b" ]; t...
Shell
#!/bin/bash # Copyright (c) 2011 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. set -e lib="${BUILT_PRODUCTS_DIR}/${FULL_PRODUCT_NAME}" nm ${lib} > /dev/null # Just make sure this works. pattern="${1}" if [ $pattern != "a|b" ];...
Shell
#!/bin/bash cp "$@"
Shell