[med-svn] r2926 - trunk/packages/dicomscope/trunk/debian
tille at alioth.debian.org
tille at alioth.debian.org
Thu Jan 8 14:06:18 UTC 2009
Author: tille
Date: 2009-01-08 14:06:18 +0000 (Thu, 08 Jan 2009)
New Revision: 2926
Modified:
trunk/packages/dicomscope/trunk/debian/get-orig-source
Log:
Make sure that tofrodos is installed when building orig.tar.gz.
Question: Is this conversion *really* needed? It is not really harmful, but
I would try to avoid "cosmetical" changes.
Modified: trunk/packages/dicomscope/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/dicomscope/trunk/debian/get-orig-source 2009-01-08 13:02:16 UTC (rev 2925)
+++ trunk/packages/dicomscope/trunk/debian/get-orig-source 2009-01-08 14:06:18 UTC (rev 2926)
@@ -10,6 +10,10 @@
VERSION=3.5.1
UPSTREAMZIP="$UPSTREAMDIR".zip
+if ! which dos2unix ; then
+ echo "Please install package tofrodos to enable conversion of source files."
+ exit
+fi
TMPDIR=../
mkdir -p "$TMPDIR"
@@ -24,7 +28,7 @@
DISTDIR=${NAME}-${VERSION}
unzip -q "$UPSTREAMZIP"
mv "$UPSTREAMDIR" "$DISTDIR"
-# How do I make tofrodos package compulsary ?
+
find "$DISTDIR" -name *.java -exec dos2unix {} \;
find "$DISTDIR" -name *.html -exec dos2unix {} \;
find "$DISTDIR" -name *.h -exec dos2unix {} \;
More information about the debian-med-commit
mailing list