Ticket #8383: scummvm.sh

File scummvm.sh, 256 bytes (added by SF/dbreakey, 17 years ago)

Bash shell script

Line 
1#!/bin/sh
2# Script to handle setting up default savepath location for SCUMMVM
3
4if [ -z "$SCUMMVM_SAVEPATH" ]; then
5 export SCUMMVM_SAVEPATH=$HOME/.scummvm/saves
6
7 if [ ! -d $SCUMMVM_SAVEPATH ]; then
8 mkdir --parents $SCUMMVM_SAVEPATH 2> /dev/null
9 fi
10fi