#!/bin/sh set -e if [ -d .git ]; then message="committing changes after $HIGHLEVEL_PACKAGE_MANAGER run" # ignore exit code since it exits nonzero if there is nothing to do git commit $GIT_COMMIT_OPTIONS -m "$message" || true fi