Commit c175e8e
committed
Discard output from the cd command when followed by pwd
This commits fixes the issue when `cd` is followed by the `pwd` in a
bash one-liner which should get the directory in which the executed
script is located. The problem with such approach is that the `cd`
command can print the destination directory in case when one has the
CDPATH environmental variable set.
From the `man bash`:
> cd [-L|...] [dir]
> Change the current directory to dir. [...] If a non-empty directory
> name from CDPATH is used the absolute pathname of the new working
> directory is written to the standard output.
ONE-DCO-1.0-Signed-off-by: Arkadiusz Bokowy <a.bokowy@samsung.com>1 parent 47e9b47 commit c175e8e
File tree
110 files changed
+214
-216
lines changed- circle-mlir
- circle-mlir
- tools-test
- circle-impexp-test
- gen-onnx
- onnx2circle-rewrite-test
- onnx2circle-value-test
- tools/one-import-onnx-ext
- infra
- overlay
- tools
- compiler
- circle-part-value-test
- circle-quantizer-dredd-recipe-test
- circle-resizer-dredd-recipe-test
- circle2circle-dredd-recipe-test
- luci-pass-value-test
- luci-value-test
- luci/tests
- one-cmds
- tests
- onnx-operations
- validate-onnx2circle
- onnx2tflite-integration-test
- pota-quantization-value-test
- q-implant-qparam-test
- rawdata2hdf5
- record-minmax-conversion-test
- record-minmax-thread-safety-test
- tf2circle-dredd-pb-test
- tf2circle-dredd-pbtxt-test
- tf2circle-model-test
- tf2nnpackage-value-remote-test
- tf2tflite-dredd-pb-test
- tf2tflite-dredd-pbtxt-test
- tf2tflite-value-pb-test
- tflite2circle-conversion-test
- visq
- infra
- packaging
- res
- scripts
- res/TensorFlowTests
- runtime
- contrib/android
- tests
- nnapi/specs
- scripts
- models
- tools
- cross
- extract_weights_from_tflite
- nnpackage_tool
- nncc-tc-to-nnpkg-tc
- sth2nnpkgtc
- release_tool
- tflkit
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
110 files changed
+214
-216
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments