-- John Ruskin
~
She's not a babe. She's a sophisticated real-time computer system.
- -- Spokesman for Anova, a virtual news anchor
+ -- Spokesman for Ananova, a virtual news anchor
~
The man who laughs has not yet been told the terrible news.
-- Berthold Brecht
fi
# save where we started out.
-ORIGINATING_FOLDER="$( \cd "$(\dirname "$0")" && \pwd )"
+ORIGINATING_FOLDER="$( \pwd )"
pushd "$unpack_dir" &>/dev/null
fi
fi
-if [[ $unpack_file =~ .*\.tar ]]; then
- tar -f $unpack_file
-elif [[ $unpack_file =~ .*\.tar\.gz \
- || $unpack_file =~ .*\.tar\.bz2 \
- || $unpack_file =~ .*\.tgz ]]; then
+if [[ $unpack_file =~ .*\.tar$ \
+ || $unpack_file =~ .*\.tar\.gz$ \
+ || $unpack_file =~ .*\.tar\.bz2$ \
+ || $unpack_file =~ .*\.tgz$ ]]; then
tar -xf $unpack_file
-elif [[ $unpack_file =~ .*\.zip ]]; then
+elif [[ $unpack_file =~ .*\.zip$ ]]; then
unzip $unpack_file
fi
save_err=$?