Change git -C reset to git reset w/ wking suggestion. fix indentation
Signed-off-by: Johnny Bieren <jbieren@redhat.com>
This commit is contained in:
parent
ec01ae5f10
commit
2448451a18
|
@ -73,7 +73,10 @@ function teardown() {
|
||||||
[ "$status" -eq 0 ]
|
[ "$status" -eq 0 ]
|
||||||
|
|
||||||
SPEC_COMMIT=$(grep runtime-spec ${TESTDIR}/../../Godeps/Godeps.json -A 4 | grep Rev | cut -d":" -f 2 | tr -d ' "')
|
SPEC_COMMIT=$(grep runtime-spec ${TESTDIR}/../../Godeps/Godeps.json -A 4 | grep Rev | cut -d":" -f 2 | tr -d ' "')
|
||||||
run git -C src/runtime-spec reset --hard "${SPEC_COMMIT}"
|
(
|
||||||
|
cd src/runtime-spec &&
|
||||||
|
run git reset --hard "${SPEC_COMMIT}"
|
||||||
|
)
|
||||||
[ "$status" -eq 0 ]
|
[ "$status" -eq 0 ]
|
||||||
[ -e src/runtime-spec/schema/schema.json ]
|
[ -e src/runtime-spec/schema/schema.json ]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue