Get program to the right working directory.
Otherwise patches breaks. Change-Id: Ief735dc949eaefa3515cc0a5936e0a2735cb0241 Reviewed-on: https://code.wireshark.org/review/24035 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
bc924b6283
commit
6014bfe6fc
|
@ -2651,6 +2651,14 @@ else
|
|||
DO_MV="sudo mv"
|
||||
fi
|
||||
|
||||
# This script is meant to be run in the source root. The following
|
||||
# code will attempt to get you there, but is not perfect (particulary
|
||||
# if someone copies the script).
|
||||
|
||||
dir=`dirname $0`
|
||||
cd $dir/..
|
||||
|
||||
#
|
||||
#
|
||||
# If we have SDKs available, the default target OS is the major version
|
||||
# of the one we're running; get that and strip off the third component
|
||||
|
|
Loading…
Reference in New Issue