diff options
| author | bnewbold <bnewbold@robocracy.org> | 2010-04-23 01:20:36 -0400 |
|---|---|---|
| committer | bnewbold <bnewbold@robocracy.org> | 2010-04-23 01:20:36 -0400 |
| commit | e0cb5545ccb95cbc6cf03fd256cca622f613ecdf (patch) | |
| tree | 219ab0ba233d717b90b21968acf51454cd6c9dc5 /.vim/c-support/scripts | |
| parent | f505cc10656d4262dba69aa6ced81dd9024ec592 (diff) | |
| download | openwrt-repro-e0cb5545ccb95cbc6cf03fd256cca622f613ecdf.tar.gz openwrt-repro-e0cb5545ccb95cbc6cf03fd256cca622f613ecdf.zip | |
removed a bunch of unused vim stuff
Diffstat (limited to '.vim/c-support/scripts')
| -rwxr-xr-x | .vim/c-support/scripts/wrapper.sh | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/.vim/c-support/scripts/wrapper.sh b/.vim/c-support/scripts/wrapper.sh deleted file mode 100755 index f78861c..0000000 --- a/.vim/c-support/scripts/wrapper.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/bash -#=============================================================================== -# FILE: wrapper.sh -# USAGE: ./wrapper.sh executable [cmd-line-args] -# DESCRIPTION: Wraps the execution of a programm or script. -# Use with xterm: xterm -e wrapper.sh executable cmd-line-args -# This script is used by the plugins c.vim -# OPTIONS: --- -# REQUIREMENTS: --- -# BUGS: --- -# NOTES: --- -# AUTHOR: Dr.-Ing. Fritz Mehner (Mn), mehner@fh-swf.de -# COMPANY: Fachhochschule Südwestfalen, Iserlohn -# CREATED: 23.11.2004 18:04:01 CET -# REVISION: $Id: wrapper.sh,v 1.5 2009/06/03 17:47:06 mehner Exp $ -#=============================================================================== - -executable="${1}" # name of the executable - -if [ ${#} -ge 1 ] && [ -x "$executable" ] -then - "${@}" - returncode=$? - [ $returncode -ne 0 ] && printf "'${@}' returned ${returncode}\n" -else - printf "\n !! file \"${executable}\" does not exist or is not executable !!\n" - returncode=126 # command invoked cannot execute -fi -read -p " ... press return key ... " dummy -exit $returncode |
