aboutsummaryrefslogtreecommitdiff
path: root/mp/src/devtools/bin/buildshaderlist.pl
diff options
context:
space:
mode:
authorJørgen P. Tjernø <[email protected]>2013-12-02 19:31:46 -0800
committerJørgen P. Tjernø <[email protected]>2013-12-02 19:46:31 -0800
commitf56bb35301836e56582a575a75864392a0177875 (patch)
treede61ddd39de3e7df52759711950b4c288592f0dc /mp/src/devtools/bin/buildshaderlist.pl
parentMark some more files as text. (diff)
downloadsource-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz
source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip
Fix line endings. WHAMMY.
Diffstat (limited to 'mp/src/devtools/bin/buildshaderlist.pl')
-rw-r--r--mp/src/devtools/bin/buildshaderlist.pl42
1 files changed, 21 insertions, 21 deletions
diff --git a/mp/src/devtools/bin/buildshaderlist.pl b/mp/src/devtools/bin/buildshaderlist.pl
index 57790ace..98a4051f 100644
--- a/mp/src/devtools/bin/buildshaderlist.pl
+++ b/mp/src/devtools/bin/buildshaderlist.pl
@@ -1,22 +1,22 @@
-use File::DosGlob;
-@ARGV = map {
- my @g = File::DosGlob::glob($_) if /[*?]/;
- @g ? @g : $_;
- } @ARGV;
-
-open FILE, ">__tmpshaderlist.txt";
-
-foreach $arg (@ARGV)
-{
- if( $arg =~ m/\.fxc$/i || $arg =~ m/\.vsh$/i || $arg =~ m/\.psh$/i )
- {
- print $arg . "\n";
- print FILE $arg . "\n";
- }
-}
-
-close FILE;
-
-system "buildshaders.bat __tmpshaderlist";
-
+use File::DosGlob;
+@ARGV = map {
+ my @g = File::DosGlob::glob($_) if /[*?]/;
+ @g ? @g : $_;
+ } @ARGV;
+
+open FILE, ">__tmpshaderlist.txt";
+
+foreach $arg (@ARGV)
+{
+ if( $arg =~ m/\.fxc$/i || $arg =~ m/\.vsh$/i || $arg =~ m/\.psh$/i )
+ {
+ print $arg . "\n";
+ print FILE $arg . "\n";
+ }
+}
+
+close FILE;
+
+system "buildshaders.bat __tmpshaderlist";
+
unlink "__tmpshaderlist.txt"; \ No newline at end of file