projects
/
services
/
createrepo_c.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9d043f
)
fix make_tarball_from_git.sh
author
Tomas Mlcoch
<tmlcoch@redhat.com>
Thu, 24 May 2012 10:18:04 +0000
(12:18 +0200)
committer
Tomas Mlcoch
<tmlcoch@redhat.com>
Thu, 24 May 2012 10:18:04 +0000
(12:18 +0200)
utils/make_tarball_from_git.sh
patch
|
blob
|
history
diff --git
a/utils/make_tarball_from_git.sh
b/utils/make_tarball_from_git.sh
index
7f6e1ac
..
83196c8
100755
(executable)
--- a/
utils/make_tarball_from_git.sh
+++ b/
utils/make_tarball_from_git.sh
@@
-12,9
+12,6
@@
fi
MY_DIR=`dirname $0`
MY_DIR="$MY_DIR/"
-DIRECTORY="./$NAME-$VER"
-TARBALL="$DIRECTORY.tar.xz"
-
TMP_DIR=`mktemp -d`
echo "Using TMP_DIR: $TMP_DIR"
@@
-32,6
+29,9
@@
echo "Using root projekt dir: $PREFIX"
VER=`$MY_DIR/get_version.py $TMP_DIR`
echo "Detected version $VER"
+DIRECTORY="./$NAME-$VER"
+TARBALL="$DIRECTORY.tar.xz"
+
echo "Making tarball from git..."
$MY_DIR/make_tarball.sh $TMP_DIR
@@
-43,5
+43,3
@@
echo "rm -rf $TMP_DIR"
rm -rf $TMP_DIR
echo "DONE"
-
-