Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dbp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
packages
dbp
Commits
f04bc3de
Commit
f04bc3de
authored
Nov 20, 2014
by
aTc
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/slaeshjag/dbp
into upstream
parents
e10f31dc
e947581b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
scripts/dbp_exec
scripts/dbp_exec
+24
-0
No files found.
scripts/dbp_exec
0 → 100644
View file @
f04bc3de
#!/bin/bash
#dbp-template
# The "dbp-template" line must not be altered nor be moved, it must be the second
# line in the file for proper executable nuking when dbpd starts.
# Wrapper script that simulates a binary of the desired program inside $PATH
# For use with the dbp system
# anything surrounded by an ! followed by % is replaced with
# actual values by dbpd when the special folder is populated
if
[
!
%package_enviroment!
==
1
]
;
then
# This is where pre/post launch env setup should be done
union_dir
=
"
`
dbp-cfg union_mount_dir
`
/!%package_id!"
# chdir is done by dbp-run, as the union mount might not exist before
# dbp-run is runned
dbp-run
!
%package_id!
!
%package_binary!
--env
--args
"
$@
"
else
dbp-run
!
%package_id!
!
%package_binary!
--args
"
$@
"
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment