Skip to content

Commit

Permalink
Merge pull request #21 from CALeDNA/develop
Browse files Browse the repository at this point in the history
add access to datasource
  • Loading branch information
hector-baez authored Dec 15, 2023
2 parents 45b16c0 + e958b4f commit 009e40f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/dismantle_instance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ endnumber=$(( $linenumber + 7 ))
sed -i "${linenumber},${endnumber}d" $SSHCONFIG

# remove $NAME from $DATASOURCE
linenumber=$(grep -n "name: $NAME" $DATASOURCE | cut -d":" -f1)
linenumber=$(sudo grep -n "name: $NAME" $DATASOURCE | cut -d":" -f1)
endnumber=$(( $linenumber + 6 ))
sudo sed -i "${linenumber},${endnumber}d" $DATASOURCE

0 comments on commit 009e40f

Please sign in to comment.