summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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]*)