Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Eseguire tramite '. patta <nomedir>'
- # Per semplificare inserire un alias in ~/.bashrc es.: "alias pat='. patta'"
- if [ -d "$1" ]; then
- export PATH="$PATH:$1"
- echo "$1 pattato"
- else
- echo "ERROR - $1: directory non valida"
- fi
Advertisement
Add Comment
Please, Sign In to add comment