Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'extern/sdlew/auto/strip_comments.sh')
-rwxr-xr-xextern/sdlew/auto/strip_comments.sh15
1 files changed, 0 insertions, 15 deletions
diff --git a/extern/sdlew/auto/strip_comments.sh b/extern/sdlew/auto/strip_comments.sh
deleted file mode 100755
index c89224c3d56..00000000000
--- a/extern/sdlew/auto/strip_comments.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/bash
-
-SDL="SDL2"
-INCLUDE_DIR="/usr/include/${SDL}"
-SCRIPT=`realpath -s $0`
-DIR=`dirname $SCRIPT`
-DIR=`dirname $DIR`
-
-for f in $DIR/include/${SDL}/*.h; do
- file_name=`basename $f`
- echo "Striping $file_name..."
- sed -r ':a; s%(.*)/\*.*\*/%\1%; ta; /\/\*/ !b; N; ba' -i $f
- sed 's/[ \t]*$//' -i $f
- sed '/^$/N;/^\n$/D' -i $f
-done