Merge "Move the cd statement to the correct location"

This commit is contained in:
Zuul 2018-11-29 15:33:50 +00:00 committed by Gerrit Code Review
commit dbcf315a70

View File

@ -1431,8 +1431,8 @@ srpm_apply_meta_patches () {
local ff local ff
if [ -d "$PATCH_DIR" ]; then if [ -d "$PATCH_DIR" ]; then
cd $PATCH_DIR
echo ".gitignore" >> "$META_PATCH_TARGET_DIR/.gitignore" echo ".gitignore" >> "$META_PATCH_TARGET_DIR/.gitignore"
cd $PATCH_DIR
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "ERROR: Failed to cd to '$PATCH_DIR'" echo "ERROR: Failed to cd to '$PATCH_DIR'"