Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
a21ecdbc
Commit
a21ecdbc
authored
9 years ago
by
Michał Siwek
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #105 from Kriskras99/patch-1
Package.tar.gz to directoryname.tar.gz
parents
b48ace06
5ff7b094
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
create_package.sh
create_package.sh
+4
-3
No files found.
create_package.sh
View file @
a21ecdbc
#!/bin/bash
DIRNAME
=
${
PWD
##*/
}
echo
creating file list
find
.
-type
f
>
../filelist
&&
find
.
-type
l
>>
../filelist
&&
cut
-c2-
../filelist
>
filelist
...
...
@@ -10,8 +11,8 @@ echo removing temporary files
rm
dlistcut ../dlist ../filelist
echo
building binary package
tar
-czf
../
package
.tar.gz
*
sha1sum
../
package.tar.gz
>
../package
.tar.gz.sha1
tar
-czf
../
$DIRNAME
.tar.gz
*
sha1sum
../
$DIRNAME
.tar.gz
>
../
$DIRNAME
.tar.gz.sha1
echo
finished
cat
../
package
.tar.gz.sha1
cat
../
$DIRNAME
.tar.gz.sha1
This diff is collapsed.
Click to expand it.
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