Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
head.hackage
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tobias Haslop
head.hackage
Commits
6714a14a
Commit
6714a14a
authored
2 years ago
by
Tobias Haslop
Browse files
Options
Downloads
Patches
Plain Diff
Fix use of head
parent
6d17dcca
No related branches found
No related tags found
No related merge requests found
Pipeline
#60581
failed
2 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/patch-tool
+1
-1
1 addition, 1 deletion
scripts/patch-tool
with
1 addition
and
1 deletion
scripts/patch-tool
+
1
−
1
View file @
6714a14a
...
...
@@ -83,7 +83,7 @@ unpack_pkg() {
local
pkg
=
$1
pushd
packages
cabal unpack
--pristine
$pkg
local
pkg_dir
=
"
$(
ls
-d
$pkg
*
|
head
)
"
local
pkg_dir
=
"
$(
ls
-d
$pkg
*
|
head
-n
1
)
"
if
[
-z
"
$pkg_dir
"
]
;
then
echo
"failed to unpack
$pkg
"
exit
1
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment