All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions | Variables
make_patch.sh File Reference

Go to the source code of this file.

Functions

 usage ()
 
 get_this_dir ()
 

Variables

 repo
 
then usage exit fi if [-z ${myfile}]
 

Function Documentation

get_this_dir ( )

Definition at line 12 of file make_patch.sh.

13 {
14  ( cd / ; /bin/pwd -P ) >/dev/null 2>&1
15  if (( $? == 0 )); then
16  pwd_P_arg="-P"
17  fi
18  reldir=`dirname ${0}`
19  thisdir=`cd ${reldir} && /bin/pwd ${pwd_P_arg}`
20 }
constexpr details::BinObj< T > bin(T value)
Returns a wrapper to print the specified data in binary format.
then shift fi
do cd
usage ( )

Definition at line 7 of file make_patch.sh.

8 {
9  echo "USAGE: `basename ${0}` <repository> <file or directory>"
10 }

Variable Documentation

then usage exit fi if[-z ${myfile}]

Definition at line 29 of file make_patch.sh.

repo
Initial value:
=${1}
myfile=${2}
if [ -z ${repo} ]
process_name opflash particleana ie ie ie z
repo
Definition: make_patch.sh:22

Definition at line 22 of file make_patch.sh.