[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] odd/multiarch 768d4fc 4/7: Impede executing a script
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] odd/multiarch 768d4fc 4/7: Impede executing a script that should instead be sourced |
Date: |
Thu, 25 Apr 2019 17:54:22 -0400 (EDT) |
branch: odd/multiarch
commit 768d4fcdf97da3237b843b17e73ec05ea61a1675
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Impede executing a script that should instead be sourced
Added an invalid argument to the shebang as suggested by Ingo Karkat.
The argument he suggests is actually
source-this-script
which would cause dash to print
Can't open source-this-script
but we prefer to say "free software" rather than "open source".
---
set_arch.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/set_arch.sh b/set_arch.sh
index 6afbb7b..acf2326 100755
--- a/set_arch.sh
+++ b/set_arch.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh this-script-must-be-sourced-not-run
# Set $PATH, $WINEPATH, and $PERFORM based on $LMI_HOST.
- [lmi-commits] [lmi] odd/multiarch updated (29d9034 -> 62e0e85), Greg Chicares, 2019/04/25
- [lmi-commits] [lmi] odd/multiarch 62e0e85 7/7: Remove unnecessary host specifications, Greg Chicares, 2019/04/25
- [lmi-commits] [lmi] odd/multiarch 717e0ee 6/7: Install production architecture last, Greg Chicares, 2019/04/25
- [lmi-commits] [lmi] odd/multiarch 024af79 5/7: Merge remote-tracking branch 'origin/master' into odd/multiarch, Greg Chicares, 2019/04/25
- [lmi-commits] [lmi] odd/multiarch c4e6bf2 2/7: Make $bindir a subdirectory of $prefix, not of $exec_prefix, Greg Chicares, 2019/04/25
- [lmi-commits] [lmi] odd/multiarch 6690110 1/7: Make $test_dir a subdirectory of $prefix, not of $exec_prefix, Greg Chicares, 2019/04/25
- [lmi-commits] [lmi] odd/multiarch 768d4fc 4/7: Impede executing a script that should instead be sourced,
Greg Chicares <=
- [lmi-commits] [lmi] odd/multiarch 61b9171 3/7: When eviscerating, also remove the third_party/ subdirectory, Greg Chicares, 2019/04/25