Move the cd statement to the correct location
Move the cd statement to the correct location above the sanity check that the operation completed. the validation below, comparate the latest statement was sucessfull. so this, should be the cd statement. Change-Id: Idd093cf215cf1b637e37b89e8496231c64260972 Signed-off-by: Felipe de Jesus Ruiz Garcia <felipe.de.jesus.ruiz.garcia@intel.com>
This commit is contained in:
parent
1615f28109
commit
bfb9ca607d
@ -1429,8 +1429,8 @@ srpm_apply_meta_patches () {
|
||||
local ff
|
||||
|
||||
if [ -d "$PATCH_DIR" ]; then
|
||||
cd $PATCH_DIR
|
||||
echo ".gitignore" >> "$META_PATCH_TARGET_DIR/.gitignore"
|
||||
cd $PATCH_DIR
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "ERROR: Failed to cd to '$PATCH_DIR'"
|
||||
|
Loading…
Reference in New Issue
Block a user