Commit 5a82bfd5 authored by Vivien Alger's avatar Vivien Alger

Remove debian directory copy after tar creation

parent ca123455
...@@ -74,6 +74,7 @@ function prepare_deb_packaging ...@@ -74,6 +74,7 @@ function prepare_deb_packaging
# Create tarball # Create tarball
tar -czf $OBS_DIRECTORY/debian.tar.gz $OBS_DIRECTORY/debian tar -czf $OBS_DIRECTORY/debian.tar.gz $OBS_DIRECTORY/debian
rm -Rf $OBS_DIRECTORY/debian
# Generate .dsc # Generate .dsc
sed $VERSION_REGEX $DEB_DIRECTORY/slapos.dsc.in > $SLAPOS_DIRECTORY.dsc sed $VERSION_REGEX $DEB_DIRECTORY/slapos.dsc.in > $SLAPOS_DIRECTORY.dsc
...@@ -116,13 +117,13 @@ if [ ! -d "$CURRENT_DIRECTORY/$SLAPOS_DIRECTORY" ]; then ...@@ -116,13 +117,13 @@ if [ ! -d "$CURRENT_DIRECTORY/$SLAPOS_DIRECTORY" ]; then
fi fi
# Prepare Makefile and offline script # Prepare Makefile and offline script
#prepare_template_files prepare_template_files
# Prepare Download Cache for SlapOS # Prepare Download Cache for SlapOS
#prepare_download_cache prepare_download_cache
# Prepare tarball # Prepare tarball
#prepare_tarball prepare_tarball
# Generate spec file # Generate spec file
spec_generation spec_generation
...@@ -131,8 +132,8 @@ spec_generation ...@@ -131,8 +132,8 @@ spec_generation
prepare_deb_packaging prepare_deb_packaging
# Upload to obs # Upload to obs
#obs_upload obs_upload
# Save current version # Save current version
#echo "$RECIPE_VERSION" > $CURRENT_DIRECTORY/slapos-recipe-version echo "$RECIPE_VERSION" > $CURRENT_DIRECTORY/slapos-recipe-version
#echo "$VERSION" > $CURRENT_DIRECTORY/slapos-version echo "$VERSION" > $CURRENT_DIRECTORY/slapos-version
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