[longomatch] Reset dir for each new package
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Reset dir for each new package
- Date: Sun, 30 Mar 2014 15:41:36 +0000 (UTC)
commit 563b6ac92d423bd22f85adb9ca87826c59866529
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Sun Mar 30 17:40:58 2014 +0200
Reset dir for each new package
tools/deb-pkg.sh.in | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/tools/deb-pkg.sh.in b/tools/deb-pkg.sh.in
index 289b029..37dde0f 100644
--- a/tools/deb-pkg.sh.in
+++ b/tools/deb-pkg.sh.in
@@ -9,7 +9,8 @@ then
exit 1
fi
-BUILD_DIR=`pwd`"/build"
+ORIG_DIR="`pwd`"
+BUILD_DIR="$ORIG_DIR/build"
PKG_NAME= PACKAGE@
PKG_VERSION= VERSION@
DEB_VERSION=$1
@@ -22,6 +23,7 @@ package () {
ORIG=$RELEASE~$DEB_RELEASE.orig.tar.gz # longomatch-x.y.z~karmicw.orig.tar.gz
DEST=$RELEASE~$DEB_RELEASE # longomatch-x.y.z~karmicw
+ cd $ORIG_DIR
mkdir -p $BUILD_DIR
echo "Copy $TARBALL to $BUILD_DIR/$ORIG"
cp $TARBALL $BUILD_DIR/$ORIG
@@ -44,5 +46,5 @@ package () {
}
for dist in saucy quantal precise raring; do
- package ($dist)
+ package $dist
done
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]