Search Results

Search: Posts Made By: Scrutinizer
12,476
Posted By Scrutinizer
You're welcome. Note that I had also modified...
You're welcome. Note that I had also modified this line:
location=${tmp_loc}
So if your old line is still there, perhaps that may be the problem?
(since you do not need to escape the spaces when...
12,476
Posted By Scrutinizer
Hi, yes I removed the extra quote in my post... ...
Hi, yes I removed the extra quote in my post...
Try adding set -x to your script to see what is going on and/or print the content (with quotes!) of the variables of every step.

I am not sure what...
12,476
Posted By Scrutinizer
Hi, Try quoting your variables: ...
Hi,

Try quoting your variables:

tmp_loc=$(zenity --file-selection --directory)
if [[ -z "$tmp_loc" && "${tmp_loc+x}" ]]; then
exit 0
else
location=${tmp_loc}
echo "$location" ...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 10:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy