Skip to content
Snippets Groups Projects
Commit 562404de authored by Radoslaw "AstralStorm" Szkodzinski's avatar Radoslaw "AstralStorm" Szkodzinski
Browse files

hgeditor: Fix some parameters to commands

# HG changeset patch
# User Radoslaw "AstralStorm" Szkodzinski <astralstorm@gorzow.mm.pl>
# Node ID 341d27f865903223f8bf12382e3596167228a1c1
# Parent  5c5d1484b51a53918575a199ab8985160f0ce2d7
hgeditor: Fix some parameters to commands
parent b55a7859
No related branches found
No related tags found
No related merge requests found
......@@ -36,5 +36,5 @@
CHECKSUM=`md5sum "$T1"`
$EDITOR "$T1" "$T2" || cleanup_exit $?
echo "$CHECKSUM" | md5sum -c 2>/dev/null && cleanup_exit 0
echo "$CHECKSUM" | md5sum -c --status && cleanup_exit 13
{
......@@ -40,3 +40,3 @@
{
head -1 "$T1"
head -n 1 "$T1"
echo
......@@ -42,5 +42,5 @@
echo
grep -v "^HG:" "$T1" | gpg -a -u "${HGUSER:-$EMAIL}" --clearsign
grep -v "^HG:" "$T1" | gpg -t -a -u "${HGUSER:-$EMAIL}" --clearsign
} > "$T2" && mv "$T2" "$1"
cleanup_exit $?
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment