This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # If test stuff is under a different dir from the binaries (e.g. test/), | |
| # set BIN_DIR to relative path from script to binaries (e.g. ..) | |
| BIN_DIR=. | |
| if [ ! -e $BIN_DIR/enc_server ]; then | |
| # try going up a dir if binaries not found | |
| BIN_DIR=.. | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| BIN_DIR=. | |
| if [ ! -e $BIN_DIR/smallsh ]; then | |
| # try going up a dir if binaries not found | |
| BIN_DIR=.. | |
| fi | |
| POINTS=0 |