summaryrefslogtreecommitdiffstats
path: root/ship
diff options
context:
space:
mode:
authortv <tv@nomic.retiolum>2013-11-14 12:46:27 +0100
committertv <tv@nomic.retiolum>2013-11-14 12:46:27 +0100
commita2eb765dd873ea34fd491c6ab0a64ba9d77262e9 (patch)
tree359d26aec528bcf3f8f39f4c8d794456b96daa6e /ship
parent36d6c36f45ab0207191248351b24544fbcf40666 (diff)
_punani_resolve_package: return !0 but be quiet
Diffstat (limited to 'ship')
-rw-r--r--ship/lib/punani2
1 files changed, 1 insertions, 1 deletions
diff --git a/ship/lib/punani b/ship/lib/punani
index af267ac8..e8705c7d 100644
--- a/ship/lib/punani
+++ b/ship/lib/punani
@@ -3,7 +3,7 @@
## usage: _punani_resolve_package PKGNAME
_punani_resolve_package(){
- eval "echo \"\${_punanidb_${PACKER}_$1}\""
+ eval "set -u; echo \"\${_punanidb_${PACKER}_$1}\"" 2>/dev/null
}
KNOWN_PACKERS='pacman apt-get yum brew'