[pkg-wine-party] [SCM] Debian Wine packaging branch, master, updated. wine-0.9.61-2-174-g6439439

Ove Kaaven ovek at arcticnet.no
Sat May 10 07:36:41 UTC 2008


The following commit has been merged in the master branch:
commit d9b8283cf9c00e59a52fd7a1afa4f3c56f5e2580
Author: Ove Kaaven <ovek at arcticnet.no>
Date:   Sat May 10 09:31:27 2008 +0200

    Fixed debian/maint/import to check if origfilename is a symlink before dereferencing it.

diff --git a/debian/maint/import b/debian/maint/import
index 2ae278e..29a2f1c 100755
--- a/debian/maint/import
+++ b/debian/maint/import
@@ -11,7 +11,12 @@ origfilename="$3"
 # dereference symlink, we'll stash the original filename into pristine-tar
 # (currently, debian does not allow .tar.bz2 source packages anyway, so this
 # reserves the .orig.tar.* names for what's actually uploaded to Debian)
-filename=`find "$origfilename" -printf "%h/%l"`
+if [ -L "$origfilename" ]
+then
+  filename="`find "$origfilename" -printf "%h/%l"`"
+else
+  filename="$origfilename"
+fi
 
 # craft the .orig.tar.gz for the Debian source package
 debfilename="`dirname "$origfilename"`/wine_$upstream_version.orig.tar.gz"

-- 
Debian Wine packaging



More information about the pkg-wine-party mailing list