radicallyopensecurity / pentext

PenText system: Easily create beautifully looking penetration test quotes, reports, and documents in many formats (PDF, text, JSON, CSV, ...)
GNU General Public License v2.0
117 stars 38 forks source link

Shell script bug? #77

Closed Synchro closed 2 years ago

Synchro commented 4 years ago

I think this is a bug:

[[ ! -z $PREVIOUS ]] && $REPO=$PREVIOUS

Should be (removed $ from LHS of assignment):

[[ ! -z $PREVIOUS ]] && REPO=$PREVIOUS

This could possibly make sense in PHP where you can have variable variables, but we're not there!

See here;

syrosh commented 2 years ago

No longer an issue since chatops has been removed