projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd059d8
)
compilationunits.sh: accept arguments
author
TimePath <andrew.hardaker1995@gmail.com>
Sat, 2 Sep 2017 09:55:58 +0000
(19:55 +1000)
committer
TimePath <andrew.hardaker1995@gmail.com>
Sat, 2 Sep 2017 09:57:04 +0000
(19:57 +1000)
qcsrc/tools/compilationunits.sh
patch
|
blob
|
history
diff --git
a/qcsrc/tools/compilationunits.sh
b/qcsrc/tools/compilationunits.sh
index e835fa67135e5145c0c8bd97ace8512c05492b4f..e3d1eb01368df1c714c55d7264eda99e89ff8bbd 100755
(executable)
--- a/
qcsrc/tools/compilationunits.sh
+++ b/
qcsrc/tools/compilationunits.sh
@@
-74,6
+74,12
@@
function check() {
done
}
-check client
-check server
-check menu
+if [ ${#@} -eq 0 ]; then
+ check client
+ check server
+ check menu
+else
+ for var in ${@}; do
+ check ${var}
+ done
+fi