source: freewrt/scripts/which.mac@ 483c323

Last change on this file since 483c323 was b9492d5, checked in by Phil Sutter <n0-1@…>, 19 years ago

merged from branches/common-adk 1310:1685

the following packages are not converted yet:

  • alsa
  • asterisk
  • pmacct
  • zaptel
  • elinks
  • libgd
  • lua
  • mypackage
  • openser
  • php*
  • snort*
  • tmsnc

additionally, freeradius doesn't compile.

happy fixing :P

git-svn-id: svn://www.freewrt.org/trunk/freewrt@1686 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 288 bytes
Line 
1#!/usr/bin/env bash
2# $FreeWRT$
3#-
4# This file is part of the FreeWRT project. FreeWRT is copyrighted
5# material, please see the LICENCE file in the top-level directory
6# or at http://www.freewrt.org/licence for details.
7
8X=$(/usr/bin/which "$@")
9
10test -x "$X" || exit 1
11echo "$X"
12exit 0
Note: See TracBrowser for help on using the repository browser.