Minor fixes as well as clean-up surrounding internal functions.
This commit is contained in:
parent
405c1e7244
commit
e3a2efdb43
12 changed files with 218 additions and 134 deletions
6
own
6
own
|
|
@ -2,14 +2,14 @@
|
|||
# Simple program that changes ownership to the current
|
||||
# user, recursively.
|
||||
|
||||
DAISY_INTERNAL=1
|
||||
LD_INTERNAL=1
|
||||
. $(dirname $(realpath $0))/daisy.source
|
||||
|
||||
if [[ $@ == '' ]];
|
||||
then
|
||||
echo "$DAISY_BIN: Used to quickly take ownership of files/folders."
|
||||
echo "$LD_BIN: Used to quickly take ownership of files/folders."
|
||||
echo "Requires sudo. If sudo is not installed, this tool will fai."
|
||||
echo "Usage: $DAISY_BIN <folders or files>"
|
||||
echo "Usage: $LD_BIN <folders or files>"
|
||||
echo "Means: chown -R <youruser>:<youruser> <folders or files>"
|
||||
exit 2
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue