summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2021-04-25 23:43:47 +0530
committerArun Isaac2021-04-26 00:25:07 +0530
commitd68dc8541cbcc3d04b43bdad8bed5718d18b4676 (patch)
tree2a84cee044bc44fa9472d913600d348b699cf907
parent95f771b096ad7e9728b16c619f3644b177cea4d3 (diff)
downloadccwl-d68dc8541cbcc3d04b43bdad8bed5718d18b4676.tar.gz
ccwl-d68dc8541cbcc3d04b43bdad8bed5718d18b4676.tar.lz
ccwl-d68dc8541cbcc3d04b43bdad8bed5718d18b4676.zip
Set path to guile in shebang from configure.
* configure.ac: Generate scripts/ccwl. * scripts/ccwl: Rename to ... * scripts/ccwl.in: ... this. Set path to guile in shebang as an autoconf substitution.
-rw-r--r--configure.ac1
-rwxr-xr-xscripts/ccwl.in (renamed from scripts/ccwl)3
2 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 2e1f1fe..531b29c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,4 +26,5 @@ GUILE_PROGS
AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env])
+AC_CONFIG_FILES([scripts/ccwl], [chmod +x scripts/ccwl])
AC_OUTPUT
diff --git a/scripts/ccwl b/scripts/ccwl.in
index 2efdee1..04fed02 100755
--- a/scripts/ccwl
+++ b/scripts/ccwl.in
@@ -1,4 +1,5 @@
-#! /run/current-system/profile/bin/guile -s
+#! @GUILE@ -s
+-*- scheme -*-
!#
;;; ccwl --- Concise Common Workflow Language
;;; Copyright © 2021 Arun Isaac <arunisaac@systemreboot.net>