aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2014-10-15 15:03:03 -0400
committerKen Moore <ken@pcbsd.org>2014-10-15 15:03:03 -0400
commitca7972085fb67bbe40f9efe1a28d1115d529a94d (patch)
tree9df077fc7eb50c399addc687d4a8efd6c3288a04
parentClean up a couple other port/files issues. (diff)
downloadlumina-ca7972085fb67bbe40f9efe1a28d1115d529a94d.tar.gz
lumina-ca7972085fb67bbe40f9efe1a28d1115d529a94d.tar.bz2
lumina-ca7972085fb67bbe40f9efe1a28d1115d529a94d.zip
Add a quick "make-linux-distro.sh" script to change the linux template file used in the project.
-rw-r--r--libLumina/make-linux-distro.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/libLumina/make-linux-distro.sh b/libLumina/make-linux-distro.sh
new file mode 100644
index 00000000..552894d5
--- /dev/null
+++ b/libLumina/make-linux-distro.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+#Quick script to ensure that the proper Linux distro template is selected within the libLumina build
+#NOTE: Provide the Distro Name as the input for this script
+# it will use the general -Linux template if a specific template is not available for that distro
+
+DISTRO=${1}
+#Only perform the change if a distro-specific file is available
+if [ -r LuminaOS-${DISTRO}.cpp ]; then
+ sed "s/LuminaOS-Linux.cpp/LuminaOS-${DISTRO}/" libLumina.pro
+fi
bgstack15