Project

General

Profile

« Previous | Next » 

Revision 11422

bugfix: bin/import_all: fix $ when .-included without args (which causes bash to put the wrong values in $ instead of leaving it empty)

View differences:

bin/import_all
1 1
#!/bin/bash
2 2
# Imports all inputs at once
3 3

  
4
if test "$1" = .; then set --; fi # was .-included without args, so $@ is wrong
5

  
4 6
main()
5 7
{
6 8
    local self="${BASH_SOURCE[0]}"

Also available in: Unified diff