Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Boxiang Sun
slapos.package
Commits
ff6bd93a
Commit
ff6bd93a
authored
Jun 07, 2013
by
Vivien Alger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing tar commands again
parent
43306452
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
prepare_slapos_build.sh
prepare_slapos_build.sh
+4
-2
No files found.
prepare_slapos_build.sh
View file @
ff6bd93a
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment