fixing ext_jar_filepath

ext_jar_filepath=$PWD/autopsy/modules/ext/sleuthkit-$TSK_VERSION.jar;
This commit is contained in:
panagiotisntinis 2020-04-30 19:47:16 +03:00 committed by GitHub
parent cb396bb67c
commit a279879b27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,7 @@ else
exit 1 exit 1
fi fi
ext_jar_filepath="$PWD/autopsy/modules/ext/sleuthkit-postgresql-$TSK_VERSION.jar"; ext_jar_filepath=$PWD/autopsy/modules/ext/sleuthkit-$TSK_VERSION.jar;
echo -n "Copying sleuthkit-$TSK_VERSION.jar into the Autopsy directory..." echo -n "Copying sleuthkit-$TSK_VERSION.jar into the Autopsy directory..."
rm -f "$ext_jar_filepath"; rm -f "$ext_jar_filepath";
if [ "$?" -gt 0 ]; then #checking if remove operation failed if [ "$?" -gt 0 ]; then #checking if remove operation failed