gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-deployment] branch master updated: avoid find, use l


From: gnunet
Subject: [GNUnet-SVN] [taler-deployment] branch master updated: avoid find, use ls.
Date: Sat, 08 Jun 2019 19:14:03 +0200

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new ad3c848  avoid find, use ls.
ad3c848 is described below

commit ad3c848214396a7f8cf9f24a3751629eace636dd
Author: Marcello Stanisci <address@hidden>
AuthorDate: Sat Jun 8 19:13:36 2019 +0200

    avoid find, use ls.
---
 bin/taler-deployment-shared-data | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/taler-deployment-shared-data b/bin/taler-deployment-shared-data
index 329a008..bbbdf6c 100755
--- a/bin/taler-deployment-shared-data
+++ b/bin/taler-deployment-shared-data
@@ -21,8 +21,8 @@ if ! test -e $SHARED_DATA; then
   exit 1
 fi
 
-# Check if shared-data/ has already a hierarchy.
-if find -H $SHARED_DATA -type d | grep -q [a-zA-Z]; then
+# Check if shared-data/ is clean.
+if ls -L -1 $SHARED_DATA | grep -q [a-zA-Z]; then
   echo "$SHARED_DATA not empty, exiting"
   exit 0
 fi

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]