Skip to content

Commit efb1766

Browse files
committed
Fixed KEY_PATH.
1 parent 1c9b7e5 commit efb1766

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

e.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ for ARCH in ${ARCH_LST}; do
6969
# 3. enc key for that archive
7070
openssl rsautl -encrypt -inkey ${WORK_PATH}/public.pem -pubin -in ${KEY_PATH} -out "${DEST_FILE_FULL_PATH}/${FILE_NAME}.key.enc"
7171
# 4. removinng unenc'ted key
72-
rm -f ${WORK_PATH}/${FILE_NAME}.key
72+
rm -f ${KEY_PATH}.key
7373

7474
log "${ARCH} to ${ARCH_DIR}/${FILE_NAME} to ${ENCR_DIR}/${FILE_NAME}.enc encted successfuly."
7575

0 commit comments

Comments
 (0)