Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
owo.sh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
whats-this
owo.sh
Commits
946467a9
Commit
946467a9
authored
6 years ago
by
Auri
Browse files
Options
Downloads
Patches
Plain Diff
patch ordering of compat elements
parent
e0ce3f2a
No related branches found
Branches containing commit
No related tags found
1 merge request
!46
WIP: Rewrite
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/owo
+3
-1
3 additions, 1 deletion
bin/owo
with
3 additions
and
1 deletion
bin/owo
+
3
−
1
View file @
946467a9
...
...
@@ -530,6 +530,7 @@ declare -f -t trap_add
tempdir
()
{
([
"
$TMPDIR
"
]
&&
echo
"
$TMPDIR
"
)
||
([
"
$TMP
"
]
&&
echo
"
$TMP
"
)
||
([
"
$TEMP
"
]
&&
echo
"
$TEMP
"
)
||
echo
"/tmp"
}
TMPDIR
=
"
$(
tempdir
)
"
prefix
()
{
# TODO: this is fragile and not bullet-proof
...
...
@@ -1157,14 +1158,15 @@ do
done
shift
"
$((
$OPTLIND
-
1
))
"
TMPDIR
=
$(
tempdir
)
DOMAIN
=
$(
prepare_domain
"
$DOMAIN
"
)
if
!
[
-t
2
]
;
then
# stdout not a tty, force disable colors
COLORS
=
0
fi
debug
"TMPDIR=
$TMPDIR
"
debug
"PREFIX=
$PREFIX
"
debug
"RUNTIMEDIR=
$RUNTIMEDIR
"
debug
"after getopts"
debug
"VERBOSE=
$VERBOSE
"
debug
"COLORS=
$COLORS
"
...
...
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