From 438e1970093621d3c67acc900b17afdeaa60329f Mon Sep 17 00:00:00 2001 From: Mohammad Akhlaghi Date: Tue, 5 Feb 2019 18:19:46 +0000 Subject: for-group: better check of group name and fixed make argument A few issues came up while testing the `for-group' script in one of the projects based on this pipeline that are being fixed with this commit: 1) We are ultimately using the `sg' command to use the specified group, not `chgrp'. So in cases where `chgrp' has problems, this would cause a wrong error. So for the test of the given group's existance, we are now directly calling `sg'. 2) In the call to `make' we were mistakenly giving make the `$2' (which is `make' on the command-line) argument. Since `./for-group' now takes the group name as its first argument, this should have been `$3'. 3) To help in readability, and also allow for group names with a space, `reproducible_paper_group_name' is now defined and exported before the final call to `sg'. --- .file-metadata | Bin 3666 -> 3666 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to '.file-metadata') diff --git a/.file-metadata b/.file-metadata index 11686e3..b5d861e 100644 Binary files a/.file-metadata and b/.file-metadata differ -- cgit v1.2.1