Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
marcus-lodspeakr
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
uib-ub
Spesialsamlingene
marcus-lodspeakr
Commits
e0aaa8f7
Commit
e0aaa8f7
authored
13 years ago
by
Timothy Lebo
Browse files
Options
Downloads
Patches
Plain Diff
cleaned up linker
parent
a7cbe7c9
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
utils/link-components.sh
+3
-1
3 additions, 1 deletion
utils/link-components.sh
with
3 additions
and
1 deletion
utils/link-components.sh
+
3
−
1
View file @
e0aaa8f7
...
...
@@ -22,8 +22,10 @@
# WARNING: not linking models because it exists.
# WARNING: not linking views because it exists.
essentials
=
'settings.inc.php .htaccess models views'
if
[
$#
-lt
1
]
;
then
echo
"usage:
`
basename
$0
`
other-lodspeakr-directory"
echo
" soft links the following from other-lodspeakr-director to current directory:
$essentials
"
exit
1
fi
...
...
@@ -33,7 +35,7 @@ if [[ ! -d $otherDir && "$otherDir" != "/" ]]; then
exit
1
fi
for
essential
in
settings.inc.php .htaccess models view
s
;
do
for
essential
in
$essential
s
;
do
if
[[
!
-e
$essential
&&
-e
$otherDir
/
$essential
]]
;
then
echo ln
-s
$otherDir
/
$essential
$essential
ln
-s
$otherDir
/
$essential
...
...
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