aboutsummaryrefslogtreecommitdiff
path: root/for-group
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2019-05-15 17:51:55 +0200
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2019-05-15 17:52:57 +0200
commit146122a0ecc8b35263e9d4bfd968535e06456ad7 (patch)
treeb44ee9a511bc942258fa8b0d846117200bd2c81d /for-group
parent84935a7c76cde5071d87b77f2f7ce7c9f60f7f59 (diff)
for-group script using internal chmod
Until now, the `for-group' script was using the system's `chmod' at the end of its operation. But when `for-group' reaches this level, we already have our own custom `chmod'. With this commit, for a consistent operation, we are now using our custom `chmod' program for this final step.
Diffstat (limited to 'for-group')
-rwxr-xr-xfor-group2
1 files changed, 1 insertions, 1 deletions
diff --git a/for-group b/for-group
index 6c82910..e5c55f9 100755
--- a/for-group
+++ b/for-group
@@ -110,5 +110,5 @@ sg "$1" "umask u+r,u+w,g+r,g+w,o-r,o-w,o-x && $script $options"
# to all installed software files.
if [ "x$2" = xconfigure ]; then
echo "Enabling group writing permission on all installed software..."
- chmod -R g+w .local/;
+ .local/bin/chmod -R g+w .local/;
fi