code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/bash # # The Bash shell script executes a command with a time-out. # Upon time-out expiration SIGTERM (15) is sent to the process. If the signal # is blocked, then the subsequent SIGKILL (9) terminates it. # # Based on the Bash documentation example. # Hello Chet, # please find attached a "little easier" :-) ...
Shell
#!/bin/bash let i=0 let j=1 while [ $j -lt 100 ] ; do echo "Level: $j" ./timeout.sh -t 60 java -cp build/ client 130.237.218.85 7781 $j nographical | grep -i "correct" > /dev/null if [ "$?" -eq "0" ] ; then echo "Solution found" let i=i+1 else echo "No solution found" fi ...
Shell
#!/bin/bash # # The Bash shell script executes a command with a time-out. # Upon time-out expiration SIGTERM (15) is sent to the process. If the signal # is blocked, then the subsequent SIGKILL (9) terminates it. # # Based on the Bash documentation example. # Hello Chet, # please find attached a "little easier" :-) ...
Shell
#!/bin/bash let i=0 let j=1 while [ $j -lt 100 ] ; do echo "Level: $j" ./timeout.sh -t 60 java -cp build/ client 130.237.218.85 7781 $j nographical | grep -i "correct" > /dev/null if [ "$?" -eq "0" ] ; then echo "Solution found" let i=i+1 else echo "No solution found" fi ...
Shell
#/bin/sh javac -d build code/*.java && java -cp build/ client 130.237.218.85 7778 4 nographical
Shell
#/bin/sh javac -d build src/*.java && java -cp build/ client 130.237.218.85 7778 4 nographical
Shell
#!/bin/bash # # update_locales.sh # # Created on: 29.07.2010 # Author: Mike Shatohin (brunql) # Description: Updating translation files for Lightpack project # # Lightpack is very simple implementation of the backlight for a laptop # # Copyright (c) 2010 Mike Shatohin, mikeshatohin [at] gmail.com # # Ligh...
Shell
#!/bin/bash mv LightpackDrivePB LightpackDrivePB.app && cp LightpackDrivePB.app '/media/68FF-68CE/applications/LightpackDrivePB.app'
Shell
#!/bin/sh cmake -DCMAKE_BUILD_TYPE=Release -DTARGET_TYPE=ARM make
Shell
#!/bin/sh cmake -DCMAKE_BUILD_TYPE=Debug -DTARGET_TYPE=Linux make
Shell
#/bin/bash defaultfile='preproxy2.ini' runas='d639599' file=0 usage() { echo "usage: spdctrl start|stop|refresh|restart [ini_file]" } getfile(){ if [ ! -z $1 ];then if [ ! -f $1 ]; then echo "Could not find ini file $1" exit 1 else file=$1 echo $file fi else if [ ! -f $defaultfile ]; then ...
Shell
#/bin/bash defaultfile='preproxy2.ini' runas='d639599' file=0 usage() { echo "usage: spdctrl start|stop|refresh|restart [ini_file]" } getfile(){ if [ ! -z $1 ];then if [ ! -f $1 ]; then echo "Could not find ini file $1" exit 1 else file=$1 echo $file fi else if [ ! -f $defaultfile ]; then ...
Shell
#/bin/bash defaultfile='preproxy2.ini' runas='d639599' file=0 usage() { echo "usage: spdctrl start|stop|refresh|restart [ini_file]" } getfile(){ if [ ! -z $1 ];then if [ ! -f $1 ]; then echo "Could not find ini file $1" exit 1 else file=$1 echo $file fi else if [ ! -f $defaultfile ]; then ...
Shell
#/bin/bash defaultfile='preproxy2.ini' runas='d639599' file=0 usage() { echo "usage: spdctrl start|stop|refresh|restart [ini_file]" } getfile(){ if [ ! -z $1 ];then if [ ! -f $1 ]; then echo "Could not find ini file $1" exit 1 else file=$1 echo $file fi else if [ ! -f $defaultfile ]; then ...
Shell
#!/bin/bash # # This script checks the java version and bails if it's less # than Java6 (because we use @Override annotations on interface # overriding methods. It then proceeds to do a maven build that # first cleans, then builds the normal lifecycle through compilation # unit testing (if available) up to packaging. ...
Shell
dmd -O -inline -release -c util.d dmd -O -inline -release -c corealgo.d dmd -O -inline -release -c datamanagers.d dmd -O -inline -release -c dataprocessinginequality.d dmd -O -inline -release -c globals.d dmd -O -inline -release -c infotheory.d dmd -O -inline -release -c edge.d dmd -O -inline -release -c main.d ...
Shell
#!/bin/bash file="$1" file="${file##*/}" filename="${file%.*}" allfiles=`ls $2` ssconvert -S $1 $2"$filename".%s.csv
Shell
#!/bin/bash file="$1" file="${file##*/}" filename="${file%.*}" allfiles=`ls $2` ssconvert -S $1 $2"$filename".%s.csv
Shell
#!/bin/bash echo "HELLO WORLD"
Shell
#!/bin/bash echo "HELLO WORLD"
Shell
#!/bin/ksh JAVA_HOME=/home/user_account/bin/jre1.6.0_21 PATH=.:$HOME/bin:$HOME/bin/jre1.6.0_21/bin:$PATH echo "##########################" echo $PATH echo "##########################" echo $JAVA_HOME echo "##########################" java -cp .:/home/user_account/bin/xlsreport-app/classes:/home/user_account/bin/xlsre...
Shell
#!/bin/ksh JAVA_HOME=/home/user_account/bin/jre1.6.0_21 PATH=.:$HOME/bin:$HOME/bin/jre1.6.0_21/bin:$PATH echo "##########################" echo $PATH echo "##########################" echo $JAVA_HOME echo "##########################" java -cp .:/home/user_account/bin/xlsreport-app/classes:/home/user_account/bin/xlsre...
Shell
#!/bin/bash TOMCAT_DIR="/opt/tomcat-7/" WEBAPPS_DIR="${TOMCAT_DIR}webapps/" WAR_FILE="${WEBAPPS_DIR}converter_web.war" WAR_DIR="${WEBAPPS_DIR}converter_web/" sudo sh ${TOMCAT_DIR}bin/shutdown.sh echo if [ -f $WAR_FILE ]; then sudo rm $WAR_FILE echo $WAR_FILE removed fi if [ -d $WAR_DIR ]; then sudo rm -R $WAR_DIR e...
Shell
#!/bin/bash TOMCAT_DIR="/opt/tomcat-7/" WEBAPPS_DIR="${TOMCAT_DIR}webapps/" WAR_FILE="${WEBAPPS_DIR}converter_web.war" WAR_DIR="${WEBAPPS_DIR}converter_web/" sudo sh ${TOMCAT_DIR}bin/shutdown.sh echo if [ -f $WAR_FILE ]; then sudo rm $WAR_FILE echo $WAR_FILE removed fi if [ -d $WAR_DIR ]; then sudo rm -R $WAR_DIR e...
Shell
#!/bin/bash #i2cset -y -f 1 0x4a 0x12 0x20 for ((a=0; a < $1; a++)) do i2cset -y -f 1 0x4a 0x12 0x20 i2cget -y -f 1 0x4a 0x3d w # ADCIN3 i2cget -y -f 1 0x4a 0x41 w # ADCIN5 sleep 0.5 done
Shell
#!/bin/sh # # File: script_setpotencia.sh # Author: fernandofernandes # # Created on 18/02/2015, 15:42:13 # i2cset -y -f 1 0x4a 0x00 0x01 i2cset -y -f 1 0x48 0xbb 0x08 # set which ADCs to read/average i2cset -y -f 1 0x4a 0x06 0x28 i2cset -y -f 1 0x4a 0x07 0x00 i2cset -y -f 1 0x4a 0x08 0x28 i2cset -y -f 1...
Shell
#!/bin/bash #i2cset -y -f 1 0x4a 0x12 0x20 for ((a=0; a < $1; a++)) do i2cset -y -f 1 0x4a 0x12 0x20 i2cget -y -f 1 0x4a 0x3d w # ADCIN3 i2cget -y -f 1 0x4a 0x41 w # ADCIN5 sleep 0.5 done
Shell
#!/bin/sh # # File: script_setpotencia.sh # Author: fernandofernandes # # Created on 18/02/2015, 15:42:13 # i2cset -y -f 1 0x4a 0x00 0x01 i2cset -y -f 1 0x48 0xbb 0x08 # set which ADCs to read/average i2cset -y -f 1 0x4a 0x06 0x28 i2cset -y -f 1 0x4a 0x07 0x00 i2cset -y -f 1 0x4a 0x08 0x28 i2cset -y -f 1...
Shell
#!/bin/sh CUR_DIR=`pwd` ANDROID_SRC=/macdroid/a cp keystore.c $ANDROID_SRC/frameworks/base/cmds/keystore cd $ANDROID_SRC make -j8 cd $CUR_DIR cp $ANDROID_SRC/out/target/product/generic/system/bin/keystore .
Shell
#!/bin/bash # check parameters input_file=${1:?"input file not set"} output_file=${2:?"output file not set"} # check input file if [ ! -e ${input_file} ] then echo "Input file [${input_file}] not found" exit 1 fi #check output file if [ -e ${output_file} ] then read -s -n1 -p "Output file already exists. Press 'y...
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2011-12-04.11; # 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 # Generate files to be included: only overwrite them if changed so make # won't rebuild everything unless necessary replace_if_differs () { if cmp $1 $2 > /dev/null 2>&1; then rm -f $1 else mv -f $1 $2 fi } echo "creating libtransmission/version.h" user_agent_prefix=`grep m4_define ...
Shell
#!/bin/sh ## ## User-configurable Variables ## # Where "nail" is installed on your system. # We need this to actually send the mail, so make sure it's installed NAIL=/usr/bin/nail # REQUIRED CHANGE #1: you must set SMTP_SERVER # http://www.host45.com/resources/ispsmtps.php has a list of ISP's smtp servers SMTP_SERV...
Shell
#/bin/sh export G_SLICE=always-malloc export G_DEBUG=gc-friendly export GLIBCXX_FORCE_NEW=1 valgrind --tool=memcheck --leak-check=full --leak-resolution=high --num-callers=32 --log-file=x-valgrind --show-reachable=yes ./transmission-qt
Shell
# libtool (GNU libtool) 2.4.2 # 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, 2011 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; no...
Shell
## intltool.m4 - Configure intltool for the target system. -*-Shell-script-*- ## Copyright (C) 2001 Eazel, Inc. ## Author: Maciej Stachowiak <mjs@noisehavoc.org> ## Kenneth Christiansen <kenneth@gnu.org> ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU ...
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 # Common stub for a few missing GNU programs while installing. scriptversion=2012-01-06.13; # UTC # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, # 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This pro...
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 srcdir=`dirname $0` test -z "$srcdir" && srcdir=. ORIGDIR=`pwd` cd "$srcdir" PROJECT=Transmission GETTEXTIZE="glib-gettextize" $GETTEXTIZE --version < /dev/null > /dev/null 2>&1 if test $? -ne 0; then GETTEXTIZE="" fi LIBTOOLIZE=libtoolize if libtoolize --help >/dev/null 2>&1 then : elif glibtoolize ...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh set -e if [ -z "$1" ]; then echo "Usage: $0 <WAS install directory>" exit 1 fi DIST_DIR=$(dirname $0) WAS_INSTALL_DIR=$1 echo "Discovering WAS installation ..." if [ ! -d "$WAS_INSTALL_DIR" ]; then echo "$WAS_INSTALL_DIR doesn't exist or is not a directory" exit 1 fi if [ ! -w "$WAS_INSTALL_DIR/plugin...
Shell
#!/bin/sh scp -r ./* vpn.naich.org:~/web/
Shell
#!/bin/sh scp -r ./* vpn.naich.org:~/web/
Shell