File: forge_wrapper

package info (click to toggle)
fusionforge 5.3.2%2B20141104-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 60,472 kB
  • sloc: php: 271,846; sql: 36,817; python: 14,575; perl: 6,406; sh: 5,980; xml: 4,294; pascal: 1,411; makefile: 911; cpp: 52; awk: 27
file content (11 lines) | stat: -rwxr-xr-x 224 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
#! /bin/sh

scriptname=$(basename $0)
realpath=$(dirname $(readlink -f $(which $0)))

if [ -x "$realpath/$scriptname" ] ; then
    exec "$realpath/$scriptname" "$@"
else
    echo "No $scriptname script found."
    exit 1
fi