initial commit
This commit is contained in:
9
tcl/plugin/safeplugin
Executable file
9
tcl/plugin/safeplugin
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/tcsh
|
||||
set scriptdir=$0:h
|
||||
set plugin=$0:h/$1
|
||||
set plugindir=$plugin:h
|
||||
if ($scriptdir == $plugindir) then
|
||||
$plugin $2 $3 $4 $5 $6 $7 $8 $9
|
||||
else
|
||||
echo "not allowed to execute $plugin"
|
||||
endif
|
Reference in New Issue
Block a user