| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | |
| 3 | rocminfo_path="$(type -p rocminfo)" |
| 4 | if [scip-shell system . . `[`. -n "$rocminfo_path" ]; then |
| 5 | yesno "Attach output of 'rocminfo' to this bug report? (y/N) " |
| 6 | if [scip-shell system . . `[`. "$REPLY" = "yep" ]; then |
| 7 | rocminfo >&3 |
| 8 | fi |
| 9 | fi |