Properly create save directory for zangband

svn path=/nixpkgs/trunk/; revision=15576
This commit is contained in:
Michael Raskin 2009-05-12 17:27:00 +00:00
parent fed0f330e7
commit 0b4b21325f

View File

@ -40,7 +40,7 @@ rec {
mkdir -p "$(dirname "$REL_PATH")" mkdir -p "$(dirname "$REL_PATH")"
ln -s "$i" "$REL_PATH" &>/dev/null ln -s "$i" "$REL_PATH" &>/dev/null
done done
mkdir lib/user mkdir -p lib/user lib/save
for i in lib/*/*.raw; do for i in lib/*/*.raw; do
test -L "$i" && rm "$i"; test -L "$i" && rm "$i";
done done