]> mj.ucw.cz Git - bex.git/blobdiff - lib/bin/bex-add
Maint: Reorganization of my directory structure
[bex.git] / lib / bin / bex-add
index 195300eb6fc389e71d07fcaa7878b9e55ce5ac51..7138ef5046bc38b5677347786efe58ed700f642d 100755 (executable)
@@ -21,7 +21,7 @@ my @attach = ();
 
 sub usage() {
        print <<AMEN ;
-Usage: bex add [<options>] [!]<machine-or-class> ...
+Usage: bex add [<options>] [!]<machine-or-group> ...
 
 Options:
 -a, --attach=<path>    Attach a file or directory to the job
@@ -123,7 +123,7 @@ if (@attach) {
                        $? and die "Cannot delete old attachment $adest\n";
                        $msg = "Updated attachment";
                }
-               system "/bin/cp", "-a", $asrc, $adest;
+               system "/bin/cp", "-aL", $asrc, $adest;
                $? and die "Cannot copy attachment $asrc to $adest\n";
                if (-d $asrc) {
                        print "$msg $base/...\n";