Commit ff6bd93a authored by Vivien Alger's avatar Vivien Alger

Fixing tar commands again

parent 43306452
...@@ -32,7 +32,7 @@ function prepare_download_cache ...@@ -32,7 +32,7 @@ function prepare_download_cache
function prepare_tarball function prepare_tarball
{ {
tar -czf -C $CURRENT_DIRECTORY $SLAPOS_DIRECTORY.tar.gz $SLAPOS_DIRECTORY tar -czf $SLAPOS_DIRECTORY.tar.gz $SLAPOS_DIRECTORY
} }
function spec_generation function spec_generation
...@@ -73,7 +73,9 @@ function prepare_deb_packaging ...@@ -73,7 +73,9 @@ function prepare_deb_packaging
rm $OBS_DIRECTORY/debian/postinst.exit rm $OBS_DIRECTORY/debian/postinst.exit
# Create tarball # Create tarball
tar -czf -C $OBS_DIRECTORY debian.tar.gz debian cd $OBS_DIRECTORY
tar -czf debian.tar.gz debian
cd $CURRENT_DIRECTORY
rm -Rf $OBS_DIRECTORY/debian rm -Rf $OBS_DIRECTORY/debian
# Generate .dsc # 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