Skip to content

Commit

Permalink
Strip trailing / of dir type config variables
Browse files Browse the repository at this point in the history
  • Loading branch information
cavalier38 committed Jul 8, 2012
1 parent 619abed commit 3e98c26
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions etc/config
Expand Up @@ -124,6 +124,10 @@ if [ -s "$LOCAL_CONFIG" ] ; then
. $LOCAL_CONFIG
fi

for DIR_VAR in CONFIG_CACHE DEPENDS_CONFIG BUILD_DIRECTORY DOCUMENT_DIRECTORY DEFAULT_PREFIX MOONBASE FUNCTIONS MENUS PLUGIN_DIR SOUND_DIRECTORY INSTALL_LOGS COMPILE_LOGS MD5SUM_LOGS INSTALL_CACHE SOURCE_CACHE TMPDIR ; do
eval $DIR_VAR=\${$DIR_VAR/%\\/}
done

sound $SOUND
color $COLOR

Expand Down

0 comments on commit 3e98c26

Please sign in to comment.