Files
eden/tools/cpm/package/patch.sh
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
347 B
Bash
Raw Normal View History

2026-06-26 02:22:04 +02:00
#!/bin/sh -e
# SPDX-FileCopyrightText: Copyright 2026 crueter
# SPDX-License-Identifier: LGPL-3.0-or-later
# shellcheck disable=SC1091
printf -- "-- Enter a patch description: "
if ! read -r description; then
echo "" >&2
echo "-- Patch cancelled" >&2
rm -rf "$TMP"
2026-06-26 02:22:04 +02:00
exit 1
fi
cmake -DDESCRIPTION="$description" -P "$CMAKE"/patch.cmake "$@"