Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
flamenco-worker-python
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
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
blender
flamenco-worker-python
Commits
4ad2e539
Commit
4ad2e539
authored
8 years ago
by
Francesco Siddi
Browse files
Options
Downloads
Patches
Plain Diff
Add greadlink support for macOS in rsync_ui
parent
cf35a2a3
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
packages/flamenco/rsync_ui.sh
+9
-1
9 additions, 1 deletion
packages/flamenco/rsync_ui.sh
with
9 additions
and
1 deletion
packages/flamenco/rsync_ui.sh
+
9
−
1
View file @
4ad2e539
...
...
@@ -2,7 +2,15 @@
set
-e
# error out when one of the commands in the script errors.
FLAMENCO_DIR
=
"
$(
dirname
"
$(
readlink
-f
"
$0
"
)
"
)
"
# macOS does not support readlink -f, so we use greadlink instead
if
[[
`
uname
`
==
'Darwin'
]]
;
then
command
-v
greadlink 2>/dev/null 2>&1
||
{
echo
>
&2
"Install greadlink using brew."
;
exit
1
;
}
readlink
=
'greadlink'
else
readlink
=
'readlink'
fi
FLAMENCO_DIR
=
"
$(
dirname
"
$(
$readlink
-f
"
$0
"
)
"
)
"
if
[
!
-d
"
$FLAMENCO_DIR
"
]
;
then
echo
"Unable to find Flamenco dir '
$FLAMENCO_DIR
'"
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