Skip to content
Browse files

First image is 6<000-999>0001.img instead of ...0000.img

  • Loading branch information...
1 parent 389b10d commit 2343f827bfe0364e5548bd2cd83777c66088380f Thomas Friebel committed with Thomas Friebel Oct 5, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 create_omtb_garmin_img.sh
View
4 create_omtb_garmin_img.sh
@@ -98,11 +98,11 @@ else
mkdir $TMPDIR || exit 1
fi
-FIMG_a=(${TMPDIR}/6<000-999>0000.img(N))
+FIMG_a=(${TMPDIR}/6<000-999>0001.img(N))
if [[ -z $FIMG_a ]] ; then
print "Extracting $OMTB_EXE ..."
7z x -y -o$TMPDIR ${OMTB_EXE} &>/dev/null || exit 1
- FIMG_a=(${TMPDIR}/6<000-999>0000.img(N[1]))
+ FIMG_a=(${TMPDIR}/6<000-999>0001.img(N[1]))
[[ -z $FIMG_a ]] && {print "\nERROR: Could not find 6*.img file after extracting $OMTB_EXE" >/dev/stderr ; exit 1}
fi
if [[ -f $TYPFILE ]] ; then

0 comments on commit 2343f82

Please sign in to comment.
Something went wrong with that request. Please try again.