Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
Quack
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
commul
Zeit.shift
Quack
Commits
4874d4d9
Commit
4874d4d9
authored
11 years ago
by
Toke Eskildsen
Browse files
Options
Downloads
Patches
Plain Diff
Condensed link list for alternatives
parent
4bf15877
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
quack_helper_imagepage.sh
+1
-0
1 addition, 0 deletions
quack_helper_imagepage.sh
with
1 addition
and
0 deletions
quack_helper_imagepage.sh
+
1
−
0
View file @
4874d4d9
...
@@ -41,6 +41,7 @@ function resolveAlternatives() {
...
@@ -41,6 +41,7 @@ function resolveAlternatives() {
for
A
in
`
find
.
-name
"
${
IMAGE
}
"
|
sort
`
;
do
for
A
in
`
find
.
-name
"
${
IMAGE
}
"
|
sort
`
;
do
# "../../.././Apex/B3/2012-01-05-01/Dagbladet-2012-01-05-01-0130B.jp2 -> Apex/B3
# "../../.././Apex/B3/2012-01-05-01/Dagbladet-2012-01-05-01-0130B.jp2 -> Apex/B3
local
LINK
=
`
echo
"
$A
"
|
sed
's/[./]\\+\\([^\\/]\\+\\/[^\\/]\\+\\).*/\\1/g'
`
local
LINK
=
`
echo
"
$A
"
|
sed
's/[./]\\+\\([^\\/]\\+\\/[^\\/]\\+\\).*/\\1/g'
`
local
LINK
=
$(
dirname
"
$LINK
"
)
/
local
D
=
"
${
A
%.*
}
"
local
D
=
"
${
A
%.*
}
"
ALTERNATIVES_HTML
=
"
${
ALTERNATIVES_HTML
}
<li><a href=
\"
${
UP
}${
D
}
.html
\"
>
${
LINK
}
</a></li>"
$'
\n
'
ALTERNATIVES_HTML
=
"
${
ALTERNATIVES_HTML
}
<li><a href=
\"
${
UP
}${
D
}
.html
\"
>
${
LINK
}
</a></li>"
$'
\n
'
done
done
...
...
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