fix bug in whatnow2 attach
authorPhilipp Takacs <philipp@bureaucracy.de>
Sun, 25 Sep 2016 20:40:46 +0000 (22:40 +0200)
committerPhilipp Takacs <philipp@bureaucracy.de>
Sun, 25 Sep 2016 20:40:46 +0000 (22:40 +0200)
uip/whatnow2.sh

index 543dbe5..22be353 100755 (executable)
@@ -75,7 +75,7 @@ get_realpath()
        filename=`basename "$1"`
        cd $reldir
        echo "$PWD/$filename"
-       cd -
+       cd $OLDPWD
 }
 
 get_attachmentheader()