diff options
author | Sam Bingner <sam@bingner.com> | 2018-10-12 16:47:06 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2018-10-12 16:47:06 -1000 |
commit | 24f6d59354df69788c96f26e8c046a50c383c886 (patch) | |
tree | ed2343230d45a634b15398dfa7a7e2c67a960aba /util/nmedit | |
parent | 330f4f07f97d829f6337de5b20efb19e58bab319 (diff) |
Build environment changes
Diffstat (limited to 'util/nmedit')
-rwxr-xr-x | util/nmedit | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/util/nmedit b/util/nmedit deleted file mode 100755 index 674579e73..000000000 --- a/util/nmedit +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/bash -base=$(basename "$0") -if [[ $0 == */* ]]; then - self=${0} -else - self=$(which "$0") -fi -self=$(realpath "${self}") -which -a "${base}" | while read -r fake; do - real=$(realpath "${fake}") - if [[ ${real} != ${self} ]]; then - "${real}" "$@" - break - fi -done -declare -a file -while [[ $# -ne 0 ]]; do - case "$1" in - (-s) shift;; - (-o) outp=$2; break;; - (*) file[${#file[@]}]=$1;; - esac; shift -done -if [[ -n "${outp}" ]]; then - ldid -T- "${outp}" -else - for mach in "${file[@]}"; do - ldid -T- "${mach}" - done -fi |