projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CSV-Import-Script: Mit Leerzeichen im Dateinamen klarkommen
[kivitendo-erp.git]
/
scripts
/
csv-import-from-shell.sh
diff --git
a/scripts/csv-import-from-shell.sh
b/scripts/csv-import-from-shell.sh
index
c2b791b
..
cf99def
100644
(file)
--- a/
scripts/csv-import-from-shell.sh
+++ b/
scripts/csv-import-from-shell.sh
@@
-21,8
+21,8
@@
function fail {
exit 1
}
-test -z
$1
&& fail "Kein CSV-Dateiname angegeben."
-test -f
$1
|| fail "Datei '$1' nicht gefunden."
+test -z
"$1"
&& fail "Kein CSV-Dateiname angegeben."
+test -f
"$1"
|| fail "Datei '$1' nicht gefunden."
file="$1"
function do_curl {