---
 uip/whatnow2.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/uip/whatnow2.sh b/uip/whatnow2.sh
index 8e5060f..89baf1f 100755
--- a/uip/whatnow2.sh
+++ b/uip/whatnow2.sh
@@ -80,7 +80,7 @@ get_realpath()

 get_attachmentheader()
 {
-       header=`mhparam 'Attachment-Header'`
+       mhparam 'Attachment-Header'
 }

 set_lasteditor()
@@ -171,7 +171,7 @@ delete()

 attach()
 {
-       get_attachmentheader
+       header=`get_attachmentheader`
        while [ -n "$1" ]
        do
                if [ ! -f "$1" ]
@@ -191,13 +191,13 @@ attach()

 alist()
 {
-       get_attachmentheader
+       header=`get_attachmentheader`
        anno -list -number -component $header $mhdraft
 }

 detach()
 {
-       get_attachmentheader
+       header=`get_attachmentheader`
        while [ -n "$1" ]
        do
                anno -delete -component $header -number "$1" $mhdraft

Reply via email to