···38 + (if stripRoot then ''
39 if [ $(ls "$unpackDir" | wc -l) != 1 ]; then
40 echo "error: zip file must contain a single file or directory."
041 exit 1
42 fi
43 fn=$(cd "$unpackDir" && echo *)
···38 + (if stripRoot then ''
39 if [ $(ls "$unpackDir" | wc -l) != 1 ]; then
40 echo "error: zip file must contain a single file or directory."
41+ echo "hint: Pass stripRoot=false; to fetchzip to assume flat list of files."
42 exit 1
43 fi
44 fn=$(cd "$unpackDir" && echo *)