Fix afind command
afind "*.foo" didn't work because "*.foo" got expanded inside afind Change-Id: Ia479ed6e50e64fe2ffdf1983050a6da91d6a06f0
This commit is contained in:
@@ -14,6 +14,9 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
# prevent glob expansion in this script
|
||||||
|
set -f
|
||||||
|
|
||||||
dir=${1:-.}
|
dir=${1:-.}
|
||||||
|
|
||||||
shift
|
shift
|
||||||
|
Reference in New Issue
Block a user