Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
script_curl-dirup
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
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
Service Desk
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
FOSS-AG
script_curl-dirup
Commits
aec0a60a
Unverified
Commit
aec0a60a
authored
Dec 2, 2017
by
Michael Gajda
Committed by
GitHub
Dec 2, 2017
Browse files
Options
Downloads
Patches
Plain Diff
Remove realpath
This script is used in the TravisCI trusty env where no realpath is available
parent
4d9b6ef0
Branches
master
Tags
v1.0.1
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
curl-dirup.sh
+1
-1
1 addition, 1 deletion
curl-dirup.sh
with
1 addition
and
1 deletion
curl-dirup.sh
+
1
−
1
View file @
aec0a60a
...
...
@@ -17,6 +17,6 @@ case $3 in
esac
# create dirs relative to current recursively
find
$3
-type
d
!
-path
.
-exec
curl
--user
$2
-X
MKCOL
$1
/
$(
realpath
--relative-to
=
"."
{}
)
\;
find
$3
-type
d
!
-path
.
-exec
curl
--user
$2
-X
MKCOL
$1
/
{}
\;
# upload files recursively
find
$3
-type
f
-exec
curl
--user
$2
-T
{}
$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