summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xDocumentation/metadata-sync2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/metadata-sync b/Documentation/metadata-sync
index 73da28b77cd..64b1da5c514 100755
--- a/Documentation/metadata-sync
+++ b/Documentation/metadata-sync
@@ -1,6 +1,6 @@
#!/bin/bash
PWD=`pwd`
-if [ "${PWD/*\//}" == "Documentation" ]; then
+if [[ ${PWD/*\//} == Documentation ]]; then
rsync -av --delete rsync://slackie.soylent.eu/metadata/kde-testing/ ../metadata/cache
else
echo "this script is meant to be run from within Documentation/";