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
2c8141ea
Commit
2c8141ea
authored
Jun 15, 2017
by
Damian Montero
Committed by
GitHub
Jun 15, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #736 from uberhacker/fix-crew-archive-hidden-files
Fix crew command to include hidden files in the archive
parents
b3b07a59
af7e0400
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
crew
crew
+2
-1
No files found.
crew
View file @
2c8141ea
...
...
@@ -347,7 +347,8 @@ def unpack (meta)
end
if
meta
[
:source
]
==
true
# Check the number of directories in the archive
entries
=
Dir
[
"
#{
extract_dir
}
/*"
]
entries
=
Dir
[
"
#{
extract_dir
}
/*"
]
entries
=
Dir
[
"
#{
extract_dir
}
/."
]
if
entries
.
empty?
if
entries
.
length
==
0
abort
"Empty archive:
#{
meta
[
:filename
]
}
"
.
lightred
elsif
entries
.
length
==
1
&&
File
.
directory?
(
entries
.
first
)
...
...
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