utils/extras/scripts/modify_patch.sh
Scott Little 6cd1a25b05 Shorten "addons/wr-cgcs/layers/cgcs" to just "stx"
Part of the project to remove cgcs references.
Replace and shorten the path the needlessly long and
complex "addons/wr-cgcs/layers/cgcs" path with just "stx".

This update just fixes up paths found in scripts, comments
and config files.

Depends-On: https://review.openstack.org/579954
Depends-On: https://review.openstack.org/579957
Depends-On: https://review.openstack.org/580170
Depends-On: https://review.openstack.org/579979
Change-Id: I6fa7591a365aadf5f9f458ed0d972223a52a935b
Signed-off-by: Scott Little <scott.little@windriver.com>
2018-07-04 10:53:46 -04:00

16 lines
325 B
Bash
Executable File

#!/bin/bash
pushd `dirname $0` > /dev/null
SCRIPTPATH=`pwd`
popd > /dev/null
CGCSPATCH_DIR=$SCRIPTPATH/../../stx-update/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/modify_patch "$@"