[pass] [PATCH] Maemo: use coreutils-gnu tools instead of busybox

Matthieu Weber mweber at free.fr
Sun Apr 20 22:24:40 CEST 2014


---
 src/password-store.sh |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/password-store.sh b/src/password-store.sh
index ddedebd..c33a89d 100755
--- a/src/password-store.sh
+++ b/src/password-store.sh
@@ -123,6 +123,10 @@ reencrypt_path() {
 # BEGIN platform definable
 #
 
+if [[ $(readlink $(which mkdir)) = "busybox" ]]; then
+  export PATH=/usr/bin/gnu:$PATH
+fi
+
 clip() {
 	# This base64 business is a disgusting hack to deal with newline inconsistancies
 	# in shell. There must be a better way to deal with this, but because I'm a dolt,
-- 
1.7.10.4



More information about the Password-Store mailing list