aboutsummaryrefslogtreecommitdiff
path: root/builder_install.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2013-02-08 20:22:47 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2013-02-08 20:22:47 +0200
commit3deb31ebd59ededae60100cac768ce8f3e3504fc (patch)
tree7ba719688bfef7a2fa2f4ae4aa7507425db3044e /builder_install.py
parent277321eccee96ec4faef3c82d5ff05455f91373b (diff)
downloadmeson-3deb31ebd59ededae60100cac768ce8f3e3504fc.zip
meson-3deb31ebd59ededae60100cac768ce8f3e3504fc.tar.gz
meson-3deb31ebd59ededae60100cac768ce8f3e3504fc.tar.bz2
Beginning of an install script.
Diffstat (limited to 'builder_install.py')
-rwxr-xr-xbuilder_install.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/builder_install.py b/builder_install.py
new file mode 100755
index 0000000..79e046d
--- /dev/null
+++ b/builder_install.py
@@ -0,0 +1,23 @@
+#!/usr/bin/python3 -tt
+
+# Copyright 2013 Jussi Pakkanen
+
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+
+# http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+import sys
+
+if __name__ == '__main__':
+ if len(sys.argv) != 2:
+ print('Installer script for Builder. Do not run on your own, mmm\'kay?')
+ print('%s [install info file]' % sys.argv[0])
+ datafile = sys.argv[1]