c3cf35e1ee
The patch_build script fails as the paths for release-info.inc and
patch_build are incorrect.
With commit d566e09
(Story 2002801) the patch scripts were relocated
from stx-utils to stx-update. Various paths in the scripts were not
updated to reflect their new locations.
This change corrects those paths.
Change-Id: I6ebe57476f01d6ae68312bf98e8a706047d4a695
Signed-off-by: David Sullivan <david.sullivan@windriver.com>
Story: 2003449
Task: 24652
16 lines
313 B
Bash
Executable File
16 lines
313 B
Bash
Executable File
#!/bin/bash
|
|
|
|
pushd `dirname $0` > /dev/null
|
|
SCRIPTPATH=`pwd`
|
|
popd > /dev/null
|
|
|
|
CGCSPATCH_DIR=$SCRIPTPATH/../../cgcs-patch
|
|
|
|
# Set environment variables for python
|
|
export PYTHONPATH=$CGCSPATCH_DIR/cgcs-patch
|
|
export PYTHONDONTWRITEBYTECODE=true
|
|
|
|
# Run the patch_build tool
|
|
exec $CGCSPATCH_DIR/bin/query_patch "$@"
|
|
|