r45062 - /packages/getdp/trunk/debian/getdp-get-orig-source-svn.sh
sylvestre at users.alioth.debian.org
sylvestre at users.alioth.debian.org
Sun Jun 17 10:19:30 UTC 2012
Author: sylvestre
Date: Sun Jun 17 10:19:30 2012
New Revision: 45062
URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=45062
Log:
Fails if not input argument
Modified:
packages/getdp/trunk/debian/getdp-get-orig-source-svn.sh
Modified: packages/getdp/trunk/debian/getdp-get-orig-source-svn.sh
URL: http://svn.debian.org/wsvn/debian-science/packages/getdp/trunk/debian/getdp-get-orig-source-svn.sh?rev=45062&op=diff
==============================================================================
--- packages/getdp/trunk/debian/getdp-get-orig-source-svn.sh (original)
+++ packages/getdp/trunk/debian/getdp-get-orig-source-svn.sh Sun Jun 17 10:19:30 2012
@@ -1,6 +1,11 @@
#!/bin/bash -x
export GMSH_VERSION=$1
+
+if test "$GMSH_VERSION" == ""; then
+ echo "please provide the version"
+ exit 42
+fi
mkdir -p tmp
(cd tmp && svn co --username getdp --password getdp https://geuz.org/svn/getdp/trunk getdp)
More information about the debian-science-commits
mailing list