Skip to content

Commit

Permalink
Enhanced export script to remove modified json file
Browse files Browse the repository at this point in the history
  • Loading branch information
forkimenjeckayang committed Sep 12, 2024
1 parent d7e94c7 commit aa6851f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/export_kc_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@ java -jar target/$KC_CLI_JAR_FILE \
--import.files.locations="$MODIFIED_REALM_JSON" || { echo "Failed to run the JAR file"; exit 1; }
echo "Script completed successfully."

#Removing MODIFIED_REALM_JSON form memory
unset MODIFIED_REALM_JSON
# If everything is successful, delete the modified realm file
rm -f "$MODIFIED_REALM_JSON"

0 comments on commit aa6851f

Please sign in to comment.