aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-03-10 23:53:12 +0800
committerAaron LI <aly@aaronly.me>2018-03-10 23:53:12 +0800
commitc976d15c3d46ff955b514319d2a812be05fb03da (patch)
treee1d98210d2173f6bff7babcb398c0b0880aeb024
parenteea3c0711d679c9b3d145012300bad073ae5e391 (diff)
downloaddfly-update-c976d15c3d46ff955b514319d2a812be05fb03da.tar.bz2
Fix a variable name error
-rwxr-xr-xdfly-update2
1 files changed, 1 insertions, 1 deletions
diff --git a/dfly-update b/dfly-update
index 5aac186..c551084 100755
--- a/dfly-update
+++ b/dfly-update
@@ -670,7 +670,7 @@ cmd_mount() {
echo -n "Decompressing file: ${file} ... "
bunzip2 "${file}"
echo "DONE"
- filepath="${file%.bz2}"
+ file="${file%.bz2}"
;;
esac
mount_image "${file}" "${MNT_DIR}"