put file path in quotes, it might contain spaces #2
2
fax.sh
2
fax.sh
|
@ -63,7 +63,7 @@ echo -n "Sending file ${FILE} "
|
||||||
REC=$(echo "$REC0" | sed -e 's:[^+0-9]::g' -e 's:^0\([1-9]\):+49\1:')
|
REC=$(echo "$REC0" | sed -e 's:[^+0-9]::g' -e 's:^0\([1-9]\):+49\1:')
|
||||||
echo "to $REC"
|
echo "to $REC"
|
||||||
#Checking for file size:
|
#Checking for file size:
|
||||||
if [ ! -e $FILE ]
|
if [ ! -e "$FILE" ]
|
||||||
then
|
then
|
||||||
echo "File not found"
|
echo "File not found"
|
||||||
exit 2
|
exit 2
|
||||||
|
|
Loading…
Reference in a new issue