code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#! /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/bash
#
usage="<simplefile input directory> <number of events> [<output directory> (optional, default is current)]"
if [[ "$1" == "-h" || "$1" == "-help" || "$1" == "--help" ]] ; then
echo Usage: $0 $usage
exit
fi
if [ `file $1 | awk '{print $2}'` != "directory" ]; then
echo Error: $1 not a directory
e... | Shell |
#!/bin/bash
#
usage="<simplefile input directory> <number of events> [<output directory> (optional, default is current)]"
if [[ "$1" == "-h" || "$1" == "-help" || "$1" == "--help" ]] ; then
echo Usage: $0 $usage
exit
fi
if [ `file $1 | awk '{print $2}'` != "directory" ]; then
echo Error: $1 not a directory
e... | 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
# 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,
# 2011, 2012 Free Software Foundation, Inc.
timestamp='2012-02-10'
# This file is (in principle) common to ALL GNU software... | Shell |
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
# 2011, 2012 Free Software Foundation, Inc.
timestamp='2012-02-10'
# This file is free software; you can redistribute it and/... | 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
# 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/bash
# -------------------------------------------
# Test VZERO reconstruction
# Author Jochen Thaeder <jochen@thaeder.de>
# -------------------------------------------
# N events
NEVENTS=20
# Path to raw.root
RAWPATH="/opt/HLT/aliroot/AliRoot_HEAD_2010-09-01/test/ppbench/recraw"
# --------------------------... | Shell |
#!/bin/bash
# -------------------------------------------
# Test VZERO reconstruction
# Author Jochen Thaeder <jochen@thaeder.de>
# -------------------------------------------
# N events
NEVENTS=20
# Path to raw.root
RAWPATH="/opt/HLT/aliroot/AliRoot_HEAD_2010-09-01/test/ppbench/recraw"
# --------------------------... | 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 |
classfilename=$1
classfilename_h=$classfilename.h
classfilename_cxx=$classfilename.cxx
classname=$classfilename
if [ -a $classfilename_h ] || [ -a $classfilename_cxx ];then
echo ERROR, $classfilename_h and $classfilename_cxx allready exist, delelte them or rename the class you want to make
else
echo creatin... | Shell |
#!/bin/sh
#ROOT
export ROOTSYS=/home/perthi/cern/root/root-current
#export ROOTSYS=/home/perthi/cern/root-current
#export ROOTSYS=/home/perthi/cern/root/root_v5.11.06
export PATH=$ROOTSYS/bin:$PATH
export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH
export MANPATH=$MANPATH:$ROOTSYS/man
#PYTHIA
export PYTHIA6=/home/p... | Shell |
make
./onlinedisplay -host alihlt-vobox0 -port 58660 -host alihlt-vobox0 -port 58661 -host alihlt-vobox0 -port 58662 -host alihlt-vobox0 -port 58663
| Shell |
#!/bin/sh
#ROOT
export ROOTSYS=/home/perthi/cern/root/root-current
#export ROOTSYS=/home/perthi/cern/root-current
#export ROOTSYS=/home/perthi/cern/root/root_v5.11.06
export PATH=$ROOTSYS/bin:$PATH
export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH
export MANPATH=$MANPATH:$ROOTSYS/man
#PYTHIA
export PYTHIA6=/home/p... | Shell |
classfilename=$1
classfilename_h=$classfilename.h
classfilename_cxx=$classfilename.cxx
classname=$classfilename
if [ -a $classfilename_h ] || [ -a $classfilename_cxx ];then
echo ERROR, $classfilename_h and $classfilename_cxx allready exist, delelte them or rename the class you want to make
else
echo creatin... | Shell |
make
./onlinedisplay -host alihlt-dcs0 -port 58660 -host alihlt-dcs0 -port 58661 -host alihlt-dcs0 -port 58662 -host alihlt-dcs0 -port 58663
| Shell |
#!/bin/bash
if [ -d perfImg ] ; then
rm -rf perfImg
fi
if [ -d perfRoot ] ; then
rm -rf perfRoot
fi
mkdir perfImg
mkdir -p perfImg/qa
#mkdir -p perfImg/eff
#mkdir -p perfImg/res
mkdir perfRoot
nr1=0
nr2=35
for ii in {0..5} ; do
if [ ! -d perfImg/$ii ] ; then
mkdir -p perfImg/qa/$ii
fi
done
if [ ... | Shell |
#!/bin/bash
if [ -d perfImg ] ; then
rm -rf perfImg
fi
if [ -d perfRoot ] ; then
rm -rf perfRoot
fi
mkdir perfImg
mkdir -p perfImg/qa
#mkdir -p perfImg/eff
#mkdir -p perfImg/res
mkdir perfRoot
nr1=0
nr2=35
for ii in {0..5} ; do
if [ ! -d perfImg/$ii ] ; then
mkdir -p perfImg/qa/$ii
fi
done
if [ ... | Shell |
#!/bin/bash
# -------------------------------------------
# Test MultiplictyCorrelations
# Author Jochen Thaeder <jochen@thaeder.de>
# -------------------------------------------
# N events
NEVENTS=60
# Path to ESD
#ESDPATH="/lustre/alice/jthaeder/data/compressionSGE/test2010"
ESDPATH="/lustre/alice/jthaeder/data/co... | Shell |
#!/bin/bash
# -------------------------------------------
# Test MultiplictyCorrelations
# Author Jochen Thaeder <jochen@thaeder.de>
# -------------------------------------------
# N events
NEVENTS=60
# Path to ESD
#ESDPATH="/lustre/alice/jthaeder/data/compressionSGE/test2010"
ESDPATH="/lustre/alice/jthaeder/data/co... | Shell |
#!/bin/bash
# -------------------------------------------
# Test ZDC reconstruction
# Author Chiara Oppedisano <Chiara.Oppedisano@to.infn.it>
# Jochen Thaeder <jochen@thaeder.de>
# -------------------------------------------
# N events
NEVENTS=1
# Path to raw.root
RAWPATH="/opt/HLT/aliroot/AliRoot_HEAD_2010-0... | Shell |
#!/bin/bash
# -------------------------------------------
# Test ZDC reconstruction
# Author Chiara Oppedisano <Chiara.Oppedisano@to.infn.it>
# Jochen Thaeder <jochen@thaeder.de>
# -------------------------------------------
# N events
NEVENTS=1
# Path to raw.root
RAWPATH="/opt/HLT/aliroot/AliRoot_HEAD_2010-0... | Shell |
#/bin/bash
if [ "$1" == "MC" ] ; then
MODE=MC
elif [ "$1" == "ESD" ] ; then
MODE=ESD
else
MODE=MC
fi
ROOTFILES=`find . -maxdepth 1 -name "*.root" `
if [ -n "${ROOTFILES}" ] ; then
rm ${ROOTFILES}
fi
if [ "$MODE" == "ESD" ] ; then
echo " -= Load : JetAnalysisManagerHLT.C =- "
aliroot -... | Shell |
#/bin/bash
NEVENTS=200
Pt_BIN=kPythia6Jets104_125
if [ ! -d ./analysis ] ; then
mkdir analysis
fi
ROOTFILES=`find . -maxdepth 1 -name "*.root" `
if [ -n "${ROOTFILES}" ] ; then
rm ${ROOTFILES}
fi
aliroot -b -l -q HLTJetReconstruction.C'('${NEVENTS}', kFALSE, '${Pt_BIN}')' 2>&1 | tee ChainLog.log
ROOTFIL... | Shell |
#/bin/bash
# N Events
NEVENTS=10
# TriggerName [Belonging to BarrelMultiplicityTrigger Component]
TRIGGER="H-Barrel_pT_Single-V0001.001"
# Path to ESD
ESDPATH="/lustre/alice/jthaeder/data/HEAD_2010-07-09/7TeV/pp_Perugia0/014000"
if [ ! -d ./analysis ] ; then
mkdir analysis
else
rm ./analysis/*
fi
# -- Cr... | 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
#ROOT
export ROOTSYS=/home/perthi/cern/root/root-current
#export ROOTSYS=/home/perthi/cern/root-current
#export ROOTSYS=/home/perthi/cern/root/root_v5.11.06
export PATH=$ROOTSYS/bin:$PATH
export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH
export MANPATH=$MANPATH:$ROOTSYS/man
#PYTHIA
export PYTHIA6=/home/p... | Shell |
make
./onlinedisplay -host alihlt-vobox0 -port 58660 -host alihlt-vobox0 -port 58661 -host alihlt-vobox0 -port 58662 -host alihlt-vobox0 -port 58663
| Shell |
#!/bin/sh
#ROOT
export ROOTSYS=/home/perthi/cern/root/root-current
#export ROOTSYS=/home/perthi/cern/root-current
#export ROOTSYS=/home/perthi/cern/root/root_v5.11.06
export PATH=$ROOTSYS/bin:$PATH
export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH
export MANPATH=$MANPATH:$ROOTSYS/man
#PYTHIA
export PYTHIA6=/home/p... | Shell |
classfilename=$1
classfilename_h=$classfilename.h
classfilename_cxx=$classfilename.cxx
classname=$classfilename
if [ -a $classfilename_h ] || [ -a $classfilename_cxx ];then
echo ERROR, $classfilename_h and $classfilename_cxx allready exist, delelte them or rename the class you want to make
else
echo creatin... | Shell |
make
./onlinedisplay -host alihlt-dcs0 -port 58660 -host alihlt-dcs0 -port 58661 -host alihlt-dcs0 -port 58662 -host alihlt-dcs0 -port 58663
| Shell |
#!/bin/sh
cd SinglePassTests
./createTestData.sh
cd .. | Shell |
#!/bin/sh
cd DirectoryStructureTests
./createTestData.sh
cd ../FileNameTests
./createTestData.sh
cd ../PermissionTests
./createTestData.sh
cd ../FileVolumeTests
./createTestData.sh
cd ../FileSizeTests
./createTestData.sh
cd .. | Shell |
#!/bin/sh
echo "WARNING: this script will create 111,100 small files on your drive, and"
echo " it will take quite a while to do so."
read -p "Press any key to continue or Ctrl+C to quit..."
echo "Creating 100 files..."
mkdir -p 100files
./createFiles.sh 100 ./100files/
echo "Creating 1000 files..."
mkdir -p... | Shell |
#!/bin/bash
# Validation
if [ -z $1 ]; then
echo "Please specify the number of files to create as the first command line parameter." >&2
exit 1
fi
if [ -z $2 ]; then
echo "Please specify the target directory in which to write the files as the second command line parameter." >&2
exit 1
fi
if [ $1 -ge 0 ]; the... | Shell |
#!/bin/sh
echo "WARNING: this script will fail in unpleasant ways on non-Unicode filesystems."
echo "Creating test files with spaces and long names..."
echo "This file has space characters in its name." > "file with spaces in the name.txt"
echo "This file has an exceptionally long name (longer than 128 characters). It... | Shell |
#!/bin/sh
mkdir -p sub1/1.1
mkdir -p sub1/1.2
mkdir -p sub1/1.3
mkdir -p sub1/1.4
mkdir -p sub1/1.5
mkdir -p sub1/1.6
mkdir -p sub1/1.7
mkdir -p sub1/1.8
mkdir -p sub1/1.9
mkdir -p sub1/1.10
mkdir -p sub2/sub2.1/sub2.1.1/sub2.1.1.1/sub2.1.1.1.1/sub2.1.1.1.1.1/sub2.1.1.1.1.1.1/sub2.1.1.1.1.1.1.1
mkdir -p sub3
mkdir -p d... | Shell |
#!/bin/sh
echo "Creating permissioned and non-permissioned files..."
echo "The quick brown fox jumps over the lazy dogs." > readable.txt
mkdir -p readableDirectory
echo "The quick brown fox jumps over the lazy dogs." > unreadable.txt
mkdir -p unreadableDirectory
chmod ugo-rwx unreadable*
| Shell |
#!/bin/sh
rm -rf readable*
chmod u+rwx unreadable*
rm -rf unreadable*
| Shell |
#!/bin/sh
echo "WARNING: this script will create around 4.2GB of random data on your drive, and"
echo " it will take quite a while to do so."
read -p "Press any key to continue or Ctrl+C to quit..."
echo "Creating small (KB) files..."
touch zeroByte.bin
dd if=/dev/urandom of=oneKilobyte.bin bs=1024 count=1
dd... | Shell |
#!/bin/bash
cd $(dirname $0)
for dir in $(find . -mindepth 2 \( -type l -o -type f \) -name makefile | sed -e 's/makefile$//'); do
make -C $dir main;
if [ $? != 0 ]; then
exit 1;
fi
done
| Shell |
#!/bin/bash
#change dir to where this script is run from:
cd "$( dirname "${BASH_SOURCE[0]}" )"
# Based on https://developer.mozilla.org/en/Setting_up_extension_development_environment and http://kb.mozillazine.org/Profile_folder_-_Firefox
# TODO: Make this script accept an optional parameter, which is a name of Firef... | Shell |
#!/bin/bash
#change dir to where this script is run from:
cd "$( dirname "${BASH_SOURCE[0]}" )"
# Create folder "xpi", if it doesn't exist already
mkdir xpi 1>/dev/null 2>&1
rm -f xpi/*
cd auto-check/src
zip -r ../../xpi/auto-check.xpi *
cd ../../bootstrap/src
zip -r ../../xpi/bootstrap.xpi *
cd ../../commands/src
... | Shell |
#!/bin/sh
if [ ! -e icons ]; then
echo "You must run this script in the scripts directory."
exit 1
fi
name=$1
echo "Using iconset $name.png"
if [ ! -e "icons/${name}_150.png" ]; then
echo "Icon set does not exist."
echo "usage: set_icons.sh quill"
exit 1
fi
cp "icons/${name}_150.png" ../res/drawable/icon... | Shell |
#!/bin/sh
cat toolbox.xml | \
sed 's/Left/XXXXX/g' | \
sed 's/Right/Left/g' | \
sed 's/XXXXX/Right/g' | \
sed 's/toolbox_undo/XXXXX/g' | \
sed 's/toolbox_redo/toolbox_undo/g' | \
sed 's/XXXXX/toolbox_redo/g' | \
sed 's/toolbox_next/XXXXX/g' | \
sed 's/toolbox_prev/toolbox_next/g' | \
... | Shell |
#!/bin/sh
pushd /home/vbraun/Eclipse/workspace/Quill
javah -jni -d jni -classpath bin/classes org.libharu.Document
javah -jni -d jni -classpath bin/classes org.libharu.Page
javah -jni -d jni -classpath bin/classes org.libharu.Font
javah -jni -d jni -classpath bin/classes org.libharu.Image
/home/vbraun/opt/android-n... | Shell |
# Generated from ltmain.m4sh.
# ltmain.sh (GNU libtool) 2.2.6b
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# ... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2007-03-29.01
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 Free Software
# Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public ... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=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
./configure --system-name=GCC
mv Makefile script/Makefile.gcc
./configure --system-name=GCC --shared
mv Makefile script/Makefile.gcc_so
./configure --system-name=CYGWIN
mv Makefile script/Makefile.cygwin
./configure --system-name=CYGWIN --shared
mv Makefile script/Makefile.cygwin_dll
./configure --system-name... | Shell |
#!/bin/sh
#
# make resource files for each platforms
#
_VERSION2=$(grep VERSION include/hpdf_consts.h | awk '{print $3}' | sed 's/"//g')".0"
_VERSION1=$(grep VERSION include/hpdf_consts.h | awk '{print $3}' | sed 's/"//g;s/\./,/g')",0"
_COMPILER=""
which windres
if [ $? -ne 0 ]; then
echo "windres does not exist."
... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2009-04-28.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
eval `grep '^HPDF_EXTRA_VERSION=' configure.in`
case "$HPDF_EXTRA_VERSION" in
*-dev)
rebuildok=1
;;
*)
rebuildok=0
;;
esac
cvsclean=0
while test $# -gt 0; do
if test "$1" = "--force"; then
rebuildok=1
echo "Forcing buildconf"
fi
if test "$1" = "--clean"; then
cvsclean=... | Shell |
javac src/*.java
mv src/*.class .
jar -cfm lsdmanager.jar META-INF/MANIFEST.MF src/*.java *.class
rm *.class
| Shell |
#!/bin/bash
cd $(dirname $0)
for dir in $(find . -mindepth 2 \( -type l -o -type f \) -name makefile | sed -e 's/makefile$//'); do
make -C $dir main;
if [ $? != 0 ]; then
exit 1;
fi
done
| Shell |
#!/bin/sh
SCRIPTDIR=`dirname $0`
cd $SCRIPTDIR/..
RED="0.5 0.5 0.5 0 0 0 0 0 0"
GREEN="0 0 0 0.5 0.5 0.5 0 0 0"
for x in btn_zoom_down_disabled.9 btn_zoom_down_disabled_focused.9 btn_zoom_down_normal.9 btn_zoom_up_disabled.9 btn_zoom_up_disabled_focused.9 btn_zoom_up_normal.9 btn_zoom_width_normal ; do
conv... | Shell |
#!/bin/sh
SCRIPTDIR=`dirname $0`
cd $SCRIPTDIR/..
for x in upfolder folder home recent1 recent2 recent3 recent4 recent5 ; do
convert res/drawable-hdpi/$x.png -resize 66.7% res/drawable-mdpi/$x.png
convert res/drawable-hdpi/$x.png -resize 50% res/drawable-ldpi/$x.png
done
| Shell |
#!/bin/sh
# make sure ndk-build is in path
SCRIPTDIR=`dirname $0`
MUPDF_FILE=mupdf-snapshot-20111207.tar.gz
MUPDF=mupdf
#MUPDF_FILE=mupdf-0.9-source.tar.gz
#MUPDF=mupdf-0.9
FREETYPE=freetype-2.4.6
OPENJPEG=openjpeg_v1_4_sources_r697
JBIG2DEC=jbig2dec-0.11
JPEGSRC=jpegsrc.v8a.tar.gz
JPEGDIR=jpeg-8a
cd $SCRIPTDIR/../de... | Shell |
#!/bin/sh
ruby webrick.rb
| Shell |
#!/bin/sh
ruby webrick.rb
| Shell |
#!/bin/sh
python ~/opt/google_appengine/appcfg.py update ./src
| Shell |
#!/bin/bash
#change dir to where this script is run from:
cd "$( dirname "${BASH_SOURCE[0]}" )"
# Create folder "xpi", if it doesn't exist already
mkdir xpi 1>/dev/null 2>&1
rm -f xpi/*
cd src
zip -r ../xpi/sel-blocks-global.xpi *
| Shell |
#!/bin/bash
#change dir to where this script is run from:
cd "$( dirname "${BASH_SOURCE[0]}" )"
# Based on https://developer.mozilla.org/en/Setting_up_extension_development_environment and http://kb.mozillazine.org/Profile_folder_-_Firefox
cd src
# TODO: Make this script accept an optional parameter, which is a name... | Shell |
#!/bin/bash
mysqldump -uroot -S/var/run/mysqld/mysql.sock coolshop>coolshop.sql
| Shell |
#!/bin/bash
mysqldump -uroot -S/var/run/mysqld/mysql.sock coolshop>coolshop.sql
| Shell |
#! /bin/sh
make
| Shell |
#! /bin/sh
make
| Shell |
#!/bin/bash
echo "Creating parfiles <$*> ..."
MY_COMPILE_DIR="`pwd`/Testing/pars_compile_tmp"
rm -Rf $MY_COMPILE_DIR &> /dev/null
mkdir -p $MY_COMPILE_DIR &> /dev/null
for PAR in "$*";do
echo "Compiling par/$PAR.par ..."
cp ../pars/$PAR.par $MY_COMPILE_DIR/
cd $MY_COMPILE_DIR/
tar xfz $PAR.par
cd $PAR
PROO... | Shell |
#!/bin/bash
MY_WORK_DIR=$1
shift
echo "Creating parfiles <$*> ..."
cd $MY_WORK_DIR
for PAR in "$*";do
echo "Creating $PAR.par ..."
tar cfz pars/$PAR.par $PAR
done
echo "Done."
| Shell |
#!/bin/bash
echo "Creating parfiles <$*> ..."
MY_COMPILE_DIR="`pwd`/Testing/pars_compile_tmp"
rm -Rf $MY_COMPILE_DIR &> /dev/null
mkdir -p $MY_COMPILE_DIR &> /dev/null
for PAR in "$*";do
echo "Compiling par/$PAR.par ..."
cp ../pars/$PAR.par $MY_COMPILE_DIR/
cd $MY_COMPILE_DIR/
tar xfz $PAR.par
cd $PAR
PROO... | Shell |
#!/bin/bash
MY_WORK_DIR=$1
shift
echo "Creating parfiles <$*> ..."
cd $MY_WORK_DIR
for PAR in "$*";do
echo "Creating $PAR.par ..."
tar cfz pars/$PAR.par $PAR
done
echo "Done."
| Shell |
#!/bin/sh
makexml()
{
filecxx=${1}.cxx
fileh=${1}.h
filecxxxml=check/${filecxx}.xml
filehxml=check/${fileh}.xml
dirv=`dirname ${filehxml}`
do=n
[ -d ${dirv} ] || mkdir -p ${dirv}
if [ -r ${filecxx} ] ; then
if [ ${filecxx} -nt ${filecxxxml} ] ; then
src2srcml ${filecxx} ${f... | Shell |
#! /bin/sh
make
| Shell |
#! /bin/sh
make
| Shell |
#! /bin/sh
make
| Shell |
#! /bin/sh
make
| Shell |
#!/bin/bash
MY_ASTYLE_CMD=`which astyle`
if [ "$?" != "0" ];then
echo "'astyle' not found !!!"
exit 1
fi
cd `dirname $0`
cd ../
MY_WKDIR=`pwd`
# # ROOT format
# MY_ASTYLE_OPTS="--indent=spaces=3 --convert-tabs --brackets=stroustrup --indent-switches --indent-namespaces --indent-preprocessor"
# MY_ASTYLE_OPTS="$M... | Shell |
#!/bin/bash
MY_ALIMV_TMP_DIR="/tmp/alimv"
MY_MV_FILE="/tmp/.alimvid"
MY_MV_NUM="1"
if [ ! -e $MY_MV_FILE ];then
echo "$MY_MV_NUM" > $MY_MV_FILE
else
MY_MV_NUM=`cat $MY_MV_FILE`
MY_MV_NUM=`expr $MY_MV_NUM + 1`
echo "$MY_MV_NUM" > $MY_MV_FILE
fi
MY_MV_NUM_FORMATED=`printf "%04.0f" $MY_MV_NUM`
export MY_WORK_DI... | Shell |
#!/bin/bash
MY_ASTYLE_CMD=`which astyle`
if [ "$?" != "0" ];then
echo "'astyle' not found !!!"
exit 1
fi
cd `dirname $0`
cd ../
MY_WKDIR=`pwd`
# # ROOT format
# MY_ASTYLE_OPTS="--indent=spaces=3 --convert-tabs --brackets=stroustrup --indent-switches --indent-namespaces --indent-preprocessor"
# MY_ASTYLE_OPTS="$M... | Shell |
#!/bin/bash
export MY_SOURCE_DIR="/home/mvala/ALICE/alimv/"
if [ ! -z $ALIMV ];then
export MY_SOURCE_DIR="$ALIMV"
fi
if [ ! `which root-config` ]; then
echo "root-config not found !!!"
exit 1
fi
MY_MV_FILE="/tmp/.alimvid"
MY_MV_NUM="1"
if [ ! -e $MY_MV_FILE ];then
echo "File $MY_MV_FILE was not found !!!"
exi... | Shell |
#!/bin/sh
makexml()
{
filecxx=${1}.cxx
fileh=${1}.h
filecxxxml=check/${filecxx}.xml
filehxml=check/${fileh}.xml
dirv=`dirname ${filehxml}`
do=n
[ -d ${dirv} ] || mkdir -p ${dirv}
if [ -r ${filecxx} ] ; then
if [ ${filecxx} -nt ${filecxxxml} ] ; then
src2srcml ${filecxx} ${f... | Shell |
#!/bin/bash
# DIRS
function CopyFilesFromAddTaskMacro() {
if [ -z $1 ]; then
return 1
fi
if [ ! -e $MY_WORK_DIR/`basename $1` ];then
MY_FILE_TYPE=`echo $1 | awk -F '.' '{print $2}' | awk -F '+' '{print $1}'`
if [ "$MY_FILE_TYPE" == "cxx" ];then
echo "Copying $1 to $MY_WORK_DIR ..."
cp -f... | Shell |
#!/bin/bash
export MY_SOURCE_DIR="`pwd`"
if [ ! -z $ALIMV ];then
export MY_SOURCE_DIR="$ALIMV"
fi
if [ -d $MY_SOURCE_DIR/build ]; then
rm -Rf $MY_SOURCE_DIR/build
fi
mkdir -p $MY_SOURCE_DIR/build
cd $MY_SOURCE_DIR/build
cmake ../
make -j5 install
cd ../
echo ""
echo "You can start by running :"
echo " $MY_S... | Shell |
#!/bin/sh
makexml()
{
filecxx=${1}.cxx
fileh=${1}.h
filecxxxml=check/${filecxx}.xml
filehxml=check/${fileh}.xml
dirv=`dirname ${filehxml}`
do=n
[ -d ${dirv} ] || mkdir -p ${dirv}
if [ -r ${filecxx} ] ; then
if [ ${filecxx} -nt ${filecxxxml} ] ; then
src2srcml ${filecxx} ${f... | Shell |
#!/bin/bash
MY_ALIMV_TMP_DIR="/tmp/alimv"
MY_MV_FILE="/tmp/.alimvid"
MY_MV_NUM="1"
if [ ! -e $MY_MV_FILE ];then
echo "$MY_MV_NUM" > $MY_MV_FILE
else
MY_MV_NUM=`cat $MY_MV_FILE`
MY_MV_NUM=`expr $MY_MV_NUM + 1`
echo "$MY_MV_NUM" > $MY_MV_FILE
fi
MY_MV_NUM_FORMATED=`printf "%04.0f" $MY_MV_NUM`
export MY_WORK_DI... | Shell |
#!/bin/bash
export MY_SOURCE_DIR="`pwd`"
if [ ! -z $ALIMV ];then
export MY_SOURCE_DIR="$ALIMV"
fi
if [ -d $MY_SOURCE_DIR/build ]; then
rm -Rf $MY_SOURCE_DIR/build
fi
mkdir -p $MY_SOURCE_DIR/build
cd $MY_SOURCE_DIR/build
cmake ../
make -j5 install
cd ../
echo ""
echo "You can start by running :"
echo " $MY_S... | Shell |
#!/bin/bash
export MY_SOURCE_DIR="/home/mvala/ALICE/alimv/"
if [ ! -z $ALIMV ];then
export MY_SOURCE_DIR="$ALIMV"
fi
if [ ! `which root-config` ]; then
echo "root-config not found !!!"
exit 1
fi
MY_MV_FILE="/tmp/.alimvid"
MY_MV_NUM="1"
if [ ! -e $MY_MV_FILE ];then
echo "File $MY_MV_FILE was not found !!!"
exi... | Shell |
#!/bin/bash
# DIRS
function CopyFilesFromAddTaskMacro() {
if [ -z $1 ]; then
return 1
fi
if [ ! -e $MY_WORK_DIR/`basename $1` ];then
MY_FILE_TYPE=`echo $1 | awk -F '.' '{print $2}' | awk -F '+' '{print $1}'`
if [ "$MY_FILE_TYPE" == "cxx" ];then
echo "Copying $1 to $MY_WORK_DIR ..."
cp -f... | Shell |
#! /bin/sh
make
| Shell |
#! /bin/sh
make
| Shell |
#! /bin/sh
make
| Shell |
#! /bin/sh
make
| Shell |
#! /bin/sh
make
| Shell |
#! /bin/sh
make
| Shell |
#! /bin/sh
make
| Shell |
#! /bin/sh
make
| Shell |
#!/bin/sh
makexml()
{
filecxx=${1}.cxx
fileh=${1}.h
filecxxxml=check/${filecxx}.xml
filehxml=check/${fileh}.xml
dirv=`dirname ${filehxml}`
do=n
[ -d ${dirv} ] || mkdir -p ${dirv}
if [ -r ${filecxx} ] ; then
if [ ${filecxx} -nt ${filecxxxml} ] ; then
src2srcml ${filecxx} ${f... | Shell |
#! /bin/sh
make
| Shell |
#! /bin/sh
make
| Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.