Comments (3)
Script mode in acbuild will handle calling end for you. What I believe happens here is that your end gets called and completes successfully, and then acbuild calls end because the script is over, and the second one fails.
I'll make acbuild emit some warning explaining this when you use end in a script.
from build.
You seems to be right in that, the "end" at the bottom is superfluous.
from build.
The reason I had acbuild do end
for you in this instance is to remove this boilerplate from pretty much every acbuild bash script:
acbuildEnd() {
export EXIT=$?
acbuild --debug end && exit $EXIT
}
trap acbuildEnd EXIT
from build.
Related Issues (20)
- `acbuild end` accepts running as non-superuser, then fails because of that HOT 2
- "acbuild run" with dependency fails form inside a container HOT 5
- OCI: update for new -rc5 image-layout format
- acbuild's dependent image discovery fails when server responses with redirection HOT 1
- Negative numbers in environment variables gets translated to opt flags HOT 1
- feature request: bind mounts from the host during build HOT 1
- overlayfs does not support rename operations HOT 7
- Can I build and push to registry an OCI image which will run in docker? HOT 12
- Provide Image ID on "write" HOT 3
- echo with acbuild run writes a file on the host HOT 2
- .aci increases in size with each build HOT 5
- 'file name too long' error on aci's built with v0.4.0 HOT 4
- Incremental build? HOT 5
- 'Error: overlayfs not supported on your system' with LXD Container HOT 4
- /dev, /proc and /sys are not mounted in my running rkt container HOT 6
- systemd-nspawn: unrecognized option '--setenv' HOT 1
- Created date annotation restrictions need to be documented or removed. HOT 3
- New import path for xz package HOT 1
- archive? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from build.