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
|
if [ -z "$database" -a -n "$auto_db" ]; then
|
||||||
database="$auto_db"
|
database="$auto_db"
|
||||||
if [ -z "$table" -a -n "$input" -a "$input" != "-" ]; then
|
if [ -z "$table" -a -n "$input" -a "$input" != "-" ]; then
|
||||||
table="${input%.*}"
|
table="$(basename -- "$input")"
|
||||||
|
table="${table%.*}"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue