File 3c52bd938975f7c5b32d7009f109ccbd2328c16d.patch of Package crudini

From 3c52bd938975f7c5b32d7009f109ccbd2328c16d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C3=A1draig=20Brady?= <P@draigBrady.com>
Date: Fri, 2 Dec 2016 17:19:55 +0000
Subject: [PATCH] replace a symlink target rather than the symlink itself

* NEWS: Mention the fix.
* crudini: Get the realpath() to replace.
* tests/test.sh: Add a test case.

Fixes issue #43
---
 NEWS          | 4 +++-
 crudini       | 2 +-
 tests/test.sh | 6 ++++++
 3 files changed, 10 insertions(+), 2 deletions(-)

Index: crudini-0.8/crudini
===================================================================
--- crudini-0.8.orig/crudini
+++ crudini-0.8/crudini
@@ -515,7 +515,7 @@ Options:
             pass
 
         if not self.output:
-            self.output = self.cfgfile
+            self.output = os.path.realpath(self.cfgfile)
 
         if self.cfgfile is None:
             self.usage(1)