Skip to content

Commit e9a8cac

Browse files
committed
small fix in force-procmask when -d is given
1 parent 7bd1732 commit e9a8cac

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

bash/force-procmask.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ function mask(){
104104
--creation-option='NUM_THREADS=ALL_CPUS' \
105105
--creation-option='BIGTIFF=YES' \
106106
--creation-option="BLOCKXSIZE=$XBLOCK" \
107-
--creation-option="BLOCKYSIZE=$YBLOCK"
107+
--creation-option="BLOCKYSIZE=$YBLOCK" \
108+
--quiet
108109

109110
}
110111
export -f mask
@@ -129,7 +130,7 @@ while :; do
129130
-i|--info) echo "Processing masks from raster images"; exit 0;;
130131
-s|--resolution) RES="$2"; shift ;;
131132
-l|--layer) LAYER="$2"; shift;;
132-
-d|--input) DINP=$(readlink -f" $2"); shift ;;
133+
-d|--input) DINP=$(readlink -f "$2"); shift ;;
133134
-o|--output) DOUT=$(readlink -f "$2"); shift ;;
134135
-b|--basename) OBASE="$2"; shift ;;
135136
-j|--jobs) NJOB="$2"; shift ;;

0 commit comments

Comments
 (0)