Remove an unnecessary 'cd' in the mktargets.sh script
There's no need to return to the original directory at the end of a script - the current working directory within the subshell that executes the script doesn't affect the working directory in the calling shell.
This commit is contained in:
parent
5c6995ca7f
commit
21559a2d7d
@ -11,4 +11,3 @@ python build/mktargets.py --directory test/encoder --prefix encoder_unittest
|
||||
python build/mktargets.py --directory test/decoder --prefix decoder_unittest
|
||||
python build/mktargets.py --directory test/api --prefix api_test
|
||||
python build/mktargets.py --directory gtest --library gtest --out build/gtest-targets.mk --cpp-suffix .cc --include gtest-all.cc
|
||||
cd - >/dev/null 2>&1
|
||||
|
Loading…
x
Reference in New Issue
Block a user