Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F18826036
D150.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
629 B
Subscribers
None
D150.id.diff
View Options
Index: b/tools/applygnupgdefaults
===================================================================
--- b/tools/applygnupgdefaults
+++ b/tools/applygnupgdefaults
@@ -31,11 +31,11 @@
# Cleanup on exit
cleanup ()
{
- [ -n "$errorfile" -a -f "$errorfile" ] && rm "$errorfile"
+ [ -n "$errorfile" ] && [ -f "$errorfile" ] && rm "$errorfile"
}
trap cleanup EXIT SIGINT SIGHUP SIGPIPE
errorfile=$(mktemp "/tmp/$PGM.log.XXXXXX")
-[ -n "$errorfile" -a -f "$errorfile" ] || exit 2
+[ -n "$errorfile" ] && [ -f "$errorfile" ] || exit 2
# Check whether we can use getent
if getent --help </dev/null >/dev/null 2>&1 ; then
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 22, 4:02 PM (8 h, 13 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
95/ec/74cda8b72c32c2408e2bb87f97a9
Attached To
D150: 333_0001-applygnupgdefaults-Avoid-some-unnecessary-stat-calls.patch
Event Timeline
Log In to Comment