+# Create locale links
+export LOCALE_DIR=../locale
+
+if [ ! -d ../../locale ]; then
+ echo "Some tests may require the GUI showing up in a specified language."
+ echo "In order to make it work, I'm going to run this command:"
+ mkdir -p locale
+ cmd="ln -s `pwd`/locale ../../"
+ echo " $cmd"
+ ans=""
+ while [ "$ans" != "y" -a "$ans" != "n" ]; do
+ echo "Should I proceed (y/n) ?"
+ read ans;
+ done
+ if [ "$ans" == "y" ]; then
+ $cmd;
+ fi;
+fi