[med-svn] r11645 - trunk/packages/vista/trunk/debian

Luis Ibanez luisibanez-guest at alioth.debian.org
Mon Jul 9 00:03:21 UTC 2012


Author: luisibanez-guest
Date: 2012-07-09 00:03:20 +0000 (Mon, 09 Jul 2012)
New Revision: 11645

Modified:
   trunk/packages/vista/trunk/debian/changelog
   trunk/packages/vista/trunk/debian/get-orig-source
Log:
Rename the "vista" directory as "vista-2012" to comply with Debian rules.



Modified: trunk/packages/vista/trunk/debian/changelog
===================================================================
--- trunk/packages/vista/trunk/debian/changelog	2012-07-08 23:54:08 UTC (rev 11644)
+++ trunk/packages/vista/trunk/debian/changelog	2012-07-09 00:03:20 UTC (rev 11645)
@@ -30,6 +30,7 @@
     Switched compression mode from xz back to gz, and from --best to --fast,
     since running test was taking too long. This may be switch back once
     the packaging has been completed.
+    Rename the "vista" directory as "vista-2012" to comply with Debian rules.
   * debian/auto_install:
     Added process for importing routines and globals into VistA instance.
     Making explicit the location of VistA-FOIA directories.

Modified: trunk/packages/vista/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/vista/trunk/debian/get-orig-source	2012-07-08 23:54:08 UTC (rev 11644)
+++ trunk/packages/vista/trunk/debian/get-orig-source	2012-07-09 00:03:20 UTC (rev 11645)
@@ -1,8 +1,10 @@
 #!/bin/bash
 
+VISTAVERSION=2012
 ZIPMETHOD=gz
+VISTAFULLDIR=vista-$VISTAVERSION
 
-export CMAKE_VISTA_FOIA_DIR=`pwd`/vista/VistA-FOIA
+export CMAKE_VISTA_FOIA_DIR=`pwd`/$VISTAFULLDIR/VistA-FOIA
 
 #
 #  Download VistA-FOIA and OSEHRA-Automated-Testing from Github.
@@ -17,12 +19,12 @@
 #  Composing the directory tree to be used as sources.
 #
 echo "I: Composing the directory tree to be used as sources."
-mkdir -p vista
-mkdir -p vista/VistA-FOIA
+mkdir -p $VISTAFULLDIR
+mkdir -p $VISTAFULLDIR/VistA-FOIA
 tar -xzf ./OSEHRA-OSEHRA-Automated-Testing.orig.tar.gz
 tar -xzf ./OSEHRA-VistA-FOIA.orig.tar.gz
-cp -a OSEHRA-OSEHRA-Automated-Testing-0ba5890/* ./vista
-cp -a OSEHRA-VistA-FOIA-d7fb400/*               ./vista/VistA-FOIA
+cp -a OSEHRA-OSEHRA-Automated-Testing-0ba5890/* ./$VISTAFULLDIR
+cp -a OSEHRA-VistA-FOIA-d7fb400/*               ./$VISTAFULLDIR/VistA-FOIA
 
 #
 #  Prepare routines and globals for importing
@@ -40,6 +42,6 @@
 #
 echo "I: Placing resulting sources in tar file..."
 popd
-GZIP="--fast --no-name" tar --owner=root --group=root --mode=a+rX -caf vista_2012.orig.tar.${ZIPMETHOD} ./vista
+GZIP="--fast --no-name" tar --owner=root --group=root --mode=a+rX -caf vista_2012.orig.tar.${ZIPMETHOD} ./$VISTAFULLDIR
 mv vista_2012.orig.tar.${ZIPMETHOD} ..
 




More information about the debian-med-commit mailing list