1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-06 22:55:10 +01:00

Fix for the group

This commit is contained in:
Michiel Scholten
2014-07-21 12:51:30 +02:00
parent c6b03a2010
commit 3443b0a9c2

View File

@@ -36,8 +36,7 @@ for LINE in "${LINES[@]}"; do
if [ ${LINE:0:6} = 'group=' ]; then
GRP=`echo $LINE | cut -d'=' -f 2`
echo "group: $GRP"
if [ -z $GRP ]; then
if [ ! -z $GRP ]; then
GRPDIR=$WORKSPACE/$GRP
else
GRPDIR=$WORKSPACE