Skip to content

Commit

Permalink
Drop the git repo check
Browse files Browse the repository at this point in the history
  • Loading branch information
dougch committed Jun 3, 2024
1 parent 516775a commit 39ffe76
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions codebuild/bin/install_s2n_head.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# express or implied. See the License for the specific language governing
# permissions and limitations under the License.

set -eu
set -e

usage() {
echo "install_s2n_head.sh build_dir"
Expand All @@ -26,10 +26,6 @@ if [ "$#" -ne "1" ]; then
usage
fi

if [[ "$(git rev-parse --show-toplevel)" != "$SRC_ROOT" ]]; then
echo "Run $0 from the root of the s2n-tls repo"
exit 1
fi

if [[ ! -x "$SRC_ROOT/build/bin/s2nc_head" ]]; then
if [[ ! -d "s2n_head" ]]; then
Expand All @@ -50,4 +46,4 @@ else
echo "s2nc_head already exists; not rebuilding s2n_head"
fi

exit 0
exit 0

0 comments on commit 39ffe76

Please sign in to comment.