diff options
Diffstat (limited to 'conv')
-rwxr-xr-x | conv | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |