1 #move up two directories and check out tag.
3 git clone https
://codeblue.umich.edu
/git
/hoomd-blue hoomd-blue-tagbuild
7 echo "commence building"
9 cp -r packaging
/debian .
/
10 #get what architecture we're building on.
11 if [ `arch` = "x86_64" ]
13 #patch debian folder for 64 bit
15 export lib_suffix
="64"
16 sed -i s
/i386
/amd64
/ debian
/control
17 sed -i s
/i386
/amd64
/ debian
/files
19 #patch debian folder for building on i386
22 sed -i s
/amd64
/i386
/ debian
/control
23 sed -i s
/amd64
/i386
/ debian
/files
27 #set our package version in changelog
28 sed s
/HVERSION
/${HVERSION}/ debian
/changelog
-i
31 #move files to be uploaded
33 scp hoomd-blue_
${HVERSION}_$
(dpkg-architecture
-qDEB_BUILD_ARCH).deb joaander@foxx.engin.umich.edu
:devel
/incoming
/ubuntu