Merge "Move the cd statement to the correct location"
This commit is contained in:
commit
dbcf315a70
@ -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'"
|
||||||
|
Loading…
Reference in New Issue
Block a user