summaryrefslogtreecommitdiff
path: root/scripts/remove_entity.sh
diff options
context:
space:
mode:
authorBjörn Mattsson <bjorn@sunet.se>2022-05-16 16:44:40 +0200
committerBjörn Mattsson <bjorn@sunet.se>2022-05-16 16:44:40 +0200
commit72adccd9b72c3706c27120b245d655cc2f83abc7 (patch)
treed8547abdf4eb001a366fef8494f7e09dc7ff49d8 /scripts/remove_entity.sh
parent0dee44b2d5ec0334cd16a5cea3d450dc0f9ee48e (diff)
Removed demo-SP:s after OK from Leif.
Diffstat (limited to 'scripts/remove_entity.sh')
-rwxr-xr-xscripts/remove_entity.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/remove_entity.sh b/scripts/remove_entity.sh
index ecf75bf4..0d418b45 100755
--- a/scripts/remove_entity.sh
+++ b/scripts/remove_entity.sh
@@ -7,7 +7,7 @@ fi
metadataurl=$1
if [ -s "${metadataurl}" ]; then
- entityidfn=$metadataurl
+ entityidfn=$(basename $metadataurl)
else
case $metadataurl in
[0-9][0-9]*)