rpms/ghc/devel cabal2spec,1.2,1.3

Jens Petersen petersen at fedoraproject.org
Tue Nov 25 15:40:42 UTC 2008


Author: petersen

Update of /cvs/pkgs/rpms/ghc/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7055

Modified Files:
	cabal2spec 
Log Message:
quote some test args


Index: cabal2spec
===================================================================
RCS file: /cvs/pkgs/rpms/ghc/devel/cabal2spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- cabal2spec	25 Nov 2008 09:15:17 -0000	1.2
+++ cabal2spec	25 Nov 2008 15:40:11 -0000	1.3
@@ -2,7 +2,7 @@
 
 set -e
 
-[ $# -ne 1 -o ! -r $1 ] && echo "Usage: $0 hackage-version.tar.gz" && exit 1
+[ $# -ne 1 -o ! -r "$1" ] && echo "Usage: $0 hackage-version.tar.gz" && exit 1
 
 HACKAGE=$1
 
@@ -32,7 +32,7 @@
 
 SPECFILE=$PREFIX$NAME.spec
 
-[ -r $SPECFILE ] && echo "$SPECFILE already exists!" && exit 1
+[ -r "$SPECFILE" ] && echo "$SPECFILE already exists!" && exit 1
 
 cp /usr/share/ghc/cabal-${HAS_BIN:+bin}${HAS_LIB:+lib}-template.spec.in $SPECFILE
 




More information about the fedora-extras-commits mailing list