older versions of find require quotes on path for hiding hidden folders.
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@
|
||||
|
||||
# check for "-l" and "-h" in command prompt
|
||||
followLinks="-H"
|
||||
checkHidden="-not -path */.*/.git"
|
||||
checkHidden="-not -path '*/.*/.git'"
|
||||
while getopts "lh" option; do
|
||||
case $option in
|
||||
l)
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@
|
||||
|
||||
# check for "-l" and "-h" in command prompt
|
||||
followLinks="-H"
|
||||
checkHidden="-not -path */.*/.git"
|
||||
checkHidden="-not -path '*/.*/.git'"
|
||||
while getopts "lh" option; do
|
||||
case $option in
|
||||
l)
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@
|
||||
|
||||
# check for "-l" and "-h" in command prompt
|
||||
followLinks="-H"
|
||||
checkHidden="-not -path */.*/.git"
|
||||
checkHidden="-not -path '*/.*/.git'"
|
||||
while getopts "lh" option; do
|
||||
case $option in
|
||||
l)
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@
|
||||
|
||||
# check for "-l" and "-h" in command prompt
|
||||
followLinks="-H"
|
||||
checkHidden="-not -path */.*/.git"
|
||||
checkHidden="-not -path '*/.*/.git'"
|
||||
while getopts "lh" option; do
|
||||
case $option in
|
||||
l)
|
||||
|
||||
Reference in New Issue
Block a user