[HTC Sensation] n1kon:
Can anyone give me a quick answer on this error in patchrom?

>>> Install framework resources for apktool...
install framework-miui-res.apk
/home/andy/patchrom/tools/apktool --quiet if /home/andy/patchrom/miui/system/framework/framework-miui-res.apk
unzip >/dev/null sensation_4.5.4.zip "system/framework/*.apk" -d out
install out/system/framework/com.htc.resources.apk
install out/system/framework/framework-res.apk
<<< install framework resources completed!
>>> build out/framework-res.apk...
add miui overlay resources
/home/andy/patchrom/tools/remove_redef.py >/dev/null out/framework-res
/home/andy/patchrom/tools/apktool --quiet b out/framework-res out/framework-res.apk
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/values-sw600dp
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/drawable-sw600dp-hdpi
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/values-w360dp
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/layout-sw600dp
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/values-sw600dp-w1280dp
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/values-h720dp
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/values-sw600dp-land
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/values-w500dp
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/values-w480dp
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/values-w720dp
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/values-w600dp
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/layout-w600dp
invalid resource directory name: /home/andy/patchrom/sensation/out/framework-res/res/values-sw600dp-w1024dp
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL528070660894835237.tmp, -x, -S, /home/andy/patchrom/sensation/out/framework-res/res, -M, /home/andy/patchrom/sensation/out/framework-res/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL528070660894835237.tmp, -x, -S, /home/andy/patchrom/sensation/out/framework-res/res, -M, /home/andy/patchrom/sensation/out/framework-res/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
make: *** [out/framework-res.apk] Error 1

I've checked a few resources and cant figure it out. any help will be much appreciated.

Thanks