aboutsummaryrefslogtreecommitdiff
path: root/conv
diff options
context:
space:
mode:
Diffstat (limited to 'conv')
-rwxr-xr-xconv7
1 files changed, 6 insertions, 1 deletions
diff --git a/conv b/conv
index ded047a..f5d2ebc 100755
--- a/conv
+++ b/conv
@@ -61,6 +61,11 @@ if [ x"$1" = x"-i" ]; then
read name </dev/tty
fi
+ case $name in
+ patch-*) ;;
+ *) name=patch-$name ;;
+ esac
+
# write patch if it doesn't already exist
if [ -e $dir/$name ]; then
f=`mktemp`
@@ -68,7 +73,7 @@ if [ x"$1" = x"-i" ]; then
exit 1
else
printf '%s\n' "$patch" > $dir/$name
- echo $dir/name 1>&2
+ echo $dir/$name 1>&2
fi
else
cat