aboutsummaryrefslogtreecommitdiff
path: root/libLumina/make-linux-distro.sh
blob: 552894d589540c17d562d53793f4d8e462b3d1c1 (plain)
1
2
3
4
5
6
7
8
9
10
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