Commit 43306452 authored by Vivien Alger's avatar Vivien Alger

Modifying tar creation

parent 040deb93
......@@ -32,7 +32,7 @@ function prepare_download_cache
function prepare_tarball
{
tar -czf $CURRENT_DIRECTORY/$SLAPOS_DIRECTORY.tar.gz $CURRENT_DIRECTORY/$SLAPOS_DIRECTORY
tar -czf -C $CURRENT_DIRECTORY $SLAPOS_DIRECTORY.tar.gz $SLAPOS_DIRECTORY
}
function spec_generation
......@@ -73,7 +73,7 @@ function prepare_deb_packaging
rm $OBS_DIRECTORY/debian/postinst.exit
# Create tarball
tar -czf $OBS_DIRECTORY/debian.tar.gz $OBS_DIRECTORY/debian
tar -czf -C $OBS_DIRECTORY debian.tar.gz debian
rm -Rf $OBS_DIRECTORY/debian
# Generate .dsc
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment