summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-06-01 19:12:08 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-06-01 23:55:55 (GMT)
commit36a1cfbdb4292690ec4bd7f80d4cd479f191ebd5 (patch)
treef7ba46686ea3a12111e574696c1b6be5e5d7bd32 /Swift/Packaging/Debian/package.sh
parentb898f9f8c9c8dd6650e6c635276eeeb44d9c0144 (diff)
downloadswift-contrib-36a1cfbdb4292690ec4bd7f80d4cd479f191ebd5.zip
swift-contrib-36a1cfbdb4292690ec4bd7f80d4cd479f191ebd5.tar.bz2
Fixed Debian packaging.
Diffstat (limited to 'Swift/Packaging/Debian/package.sh')
-rwxr-xr-xSwift/Packaging/Debian/package.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/Swift/Packaging/Debian/package.sh b/Swift/Packaging/Debian/package.sh
new file mode 100755
index 0000000..20695b3
--- /dev/null
+++ b/Swift/Packaging/Debian/package.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+VERSION=`../../../GetBuildVersion.py swift`
+DIRNAME=swift-$VERSION
+
+rm -rf $DIRNAME
+git clone ../../../.git $DIRNAME
+ln -s Swift/Packaging/Debian/debian $DIRNAME/debian
+
+cd $DIRNAME
+echo $PWD
+dpkg-buildpackage -rfakeroot -i -I