mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-07-30 20:51:48 +02:00
Major plugin refactor and cleanup.
Switched to POCO library for unified platform/library interface. Deprecated the external module API. It was creating more problems than solving. Removed most built-in libraries in favor of system libraries for easier maintenance. Cleaned and secured code with help from static analyzers.
This commit is contained in:
17
vendor/POCO/build/script/projname
vendored
Normal file
17
vendor/POCO/build/script/projname
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# projname
|
||||
#
|
||||
# Usage: projname PROJECT_BASE
|
||||
#
|
||||
# Extract the project name from the current path
|
||||
# NOTE: the cd $PROJECT_BASE is necessary to resolve symbolic links,
|
||||
# ditto is the kinda strange sh -c pwd
|
||||
#
|
||||
|
||||
PROJECT_BASE=$1
|
||||
cdir=`sh -c pwd`
|
||||
cd $PROJECT_BASE
|
||||
projbase=`sh -c pwd`
|
||||
cd "$cdir"
|
||||
sh -c pwd | sed "s:^$projbase::" | sed "s:^/::"
|
Reference in New Issue
Block a user