]> arthur.barton.de Git - netatalk.git/commitdiff
apple_dump: small fix
authorHAT <hat@fa2.so-net.ne.jp>
Wed, 26 Sep 2012 13:48:48 +0000 (22:48 +0900)
committerHAT <hat@fa2.so-net.ne.jp>
Wed, 26 Sep 2012 13:48:48 +0000 (22:48 +0900)
contrib/shell_utils/apple_dump.in

index 41b20e2e8b87b1a195b49f7722cc270fa7794c7a..6054e0f8bb26bb5a71382a9f3736619e981ba0f1 100755 (executable)
@@ -55,7 +55,7 @@ use bigint; # require perl >= 5.8
 
 if (     0 == system("which getfattr > /dev/null 2>&1")) {
     $eacommand = 1;
-} elsif (0 == system("which xattr > /dev/null 2>&1")) {
+} elsif (0 == system("which attr > /dev/null 2>&1")) {
     $eacommand = 2;
 } elsif (0 == system("which runat > /dev/null 2>&1")) {
     $eacommand = 3;
@@ -111,7 +111,7 @@ while ($arg = shift @ARGV)
     } elsif ($arg eq "-e") {
         if ($eacommand == 0) {
             printf (STDERR "%s: unsupported option -e\n", basename($0));
-            printf (STDERR "because neither getfattr, xattr, runat nor getextattr is found.\n");
+            printf (STDERR "because neither getfattr, attr, runat nor getextattr is found.\n");
             exit 1;
         }
         $eaoption = 1;