bug: ne garder que le nom de base du fichier en entrée
This commit is contained in:
parent
9f369eb508
commit
d9fc19ba96
|
@ -151,7 +151,8 @@ splitfsep2 "$dbtable" . database table
|
|||
if [ -z "$database" -a -n "$auto_db" ]; then
|
||||
database="$auto_db"
|
||||
if [ -z "$table" -a -n "$input" -a "$input" != "-" ]; then
|
||||
table="${input%.*}"
|
||||
table="$(basename -- "$input")"
|
||||
table="${table%.*}"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue