Code Review
/
AGL
/
meta-agl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
agl-login-manager: Move to meta-agl-profile-core
[AGL/meta-agl.git]
/
scripts
/
mkefi-agl.sh
diff --git
a/scripts/mkefi-agl.sh
b/scripts/mkefi-agl.sh
index
48a0af4
..
c44eced
100755
(executable)
--- a/
scripts/mkefi-agl.sh
+++ b/
scripts/mkefi-agl.sh
@@
-64,7
+64,7
@@
cleanup() {
if [ -d "$TMPDIR" ]; then
rm -rf "$TMPDIR" || error "Failed to remove $TMPDIR"
fi
if [ -d "$TMPDIR" ]; then
rm -rf "$TMPDIR" || error "Failed to remove $TMPDIR"
fi
- [ -f "$TMP_DIR/TMP-AGL-wic-image.wic" ]
||
rm -f $TMP_DIR/TMP-AGL-wic-image.wic
+ [ -f "$TMP_DIR/TMP-AGL-wic-image.wic" ]
&&
rm -f $TMP_DIR/TMP-AGL-wic-image.wic
}
trap 'die "Signal Received, Aborting..."' HUP INT TERM
}
trap 'die "Signal Received, Aborting..."' HUP INT TERM