summaryrefslogtreecommitdiff
path: root/CI
diff options
context:
space:
mode:
Diffstat (limited to 'CI')
-rwxr-xr-xCI/licensecheck/checkfile.sh2
-rwxr-xr-xCI/licensecheck/clientdata.sh10
-rwxr-xr-xCI/licensecheck/serverdata.py2
3 files changed, 7 insertions, 7 deletions
diff --git a/CI/licensecheck/checkfile.sh b/CI/licensecheck/checkfile.sh
index 2de49fe..d05378a 100755
--- a/CI/licensecheck/checkfile.sh
+++ b/CI/licensecheck/checkfile.sh
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
export name="$3"
-export name=${name##../../client-data/}
+export name=${name##../../../client-data/}
grep "$name" $1 >/dev/null
if [ "$?" != 0 ]; then
diff --git a/CI/licensecheck/clientdata.sh b/CI/licensecheck/clientdata.sh
index 583b197..c5d96e1 100755
--- a/CI/licensecheck/clientdata.sh
+++ b/CI/licensecheck/clientdata.sh
@@ -1,9 +1,9 @@
#!/usr/bin/env bash
-export DIR="../../client-data"
+export DIR="../../../client-data"
-find -H $DIR -type f -name "*.png" -exec ./checkfile.sh $DIR/LICENSE $DIR/ART_LICENSE {} \;
-find -H $DIR/sfx -type f -name "*.ogg" -exec ./checkfile.sh $DIR/LICENSE $DIR/ART_LICENSE {} \;
-find -H $DIR -type f -name "*.tmx" -exec ./checkfile.sh $DIR/LICENSE $DIR/ART_LICENSE {} \;
-find -H $DIR -type f -name "*.jpg" -exec ./checkfile.sh $DIR/LICENSE $DIR/ART_LICENSE {} \;
+find -H $DIR -type f -name "*.png" -exec ./checkfile.sh $DIR/LICENSE $DIR/license.md {} \;
+find -H $DIR/sfx -type f -name "*.ogg" -exec ./checkfile.sh $DIR/LICENSE $DIR/license.md {} \;
+find -H $DIR -type f -name "*.tmx" -exec ./checkfile.sh $DIR/LICENSE $DIR/license.md {} \;
+find -H $DIR -type f -name "*.jpg" -exec ./checkfile.sh $DIR/LICENSE $DIR/license.md {} \;
diff --git a/CI/licensecheck/serverdata.py b/CI/licensecheck/serverdata.py
index 02f4aec..28f1e07 100755
--- a/CI/licensecheck/serverdata.py
+++ b/CI/licensecheck/serverdata.py
@@ -20,7 +20,7 @@ except:
pass
# Determine correct path
-PATH="../../server-data/npc/"
+PATH="../../../server-data/npc/"
if len(sys.argv) == 2:
PATH=sys.argv[1]